(joke in the title stolen from a redditor)

Context: some Rust kid vandalized cppreference.com today.

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago (1 child)

then you don't really know what you're doing yet.

Can you elaborate on this? How are you guys making PHP so performant? Do you call C programs from it or something?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 15 points 3 years ago*

    No, we just use good algorithmic approaches including an emphasis on lazy evaluation. It'd take out application like 20x as long to compute 2+2 compared to one written in C but computation in PHP isn't our main bottleneck - it's efficient network connection handling and psql query performance.

    Our PHP code is maintainable and expressive that makes it much easier to tune performance where it counts.

  • source
  • parent