this post was submitted on 30 Sep 2023
183 points (88.6% liked)

Programmer Humor

32426 readers
475 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

(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
[โ€“] herr@lemmy.world 2 points 1 year ago (1 children)

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?

[โ€“] xmunk@sh.itjust.works 14 points 1 year ago* (last edited 1 year 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.