you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 9 months ago* (4 children)

Idk, PHP chugs on splendidly with arrays that combine both arrays and maps. I regret to say that PHP is considerably faster than some better languages like Python and Ruby, and arrays are the workhorse structure there.

(Like, PHP's approach to FastCGI is that the script's runtime is destroyed after every request and then started anew for the next one, and it still outperforms Python's always-on approach. Of mainstream languages, only Node can compete.)

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 9 months ago (1 child)

    Right but it's fast(ish) in spite of that. It would still be better with separate types.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 9 months ago* (last edited 9 months ago)

    Weird choice of lifestyle to complain about the two fastest scripting languages being ‘fast-ish’. While you complain, the world is using Lua for embedded scripts and game programming, and PHP for the web.

    People straight up write libraries in Lua instead of C, because the performance difference is unnoticeable. But apparently it's only ‘fastish’.

  • source
  • parent