Console? good, GUI? good, game dev? use Godot engine with its similar language Gdscript, but what else? Ive been seeing AI, Data Science stuff, but whats the point if ita slow?

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    7 hours ago

    Python is slow enough to notice in fairly normal usage. Just doing lookups into a dict with thousands of entries, for example, will lead you to researching how to sort and index it.

    Python’s great as an interface to C which gives it the illusion of performing well.

    • FishFace@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      48 minutes ago

      Yeah, want to take a bet on how long a single lookup in a dict with 5,000 entries takes on my machine?

      How to sort and index it

      It’s a hash table. Can you explain why “sorting and indexing” would improve performance?

      You’re talking out your arse.