Comment on Anyone else moved from kbin to lemmy?
Kaldo@kbin.social 8 months agoIsn't modern php supposed to be pretty good and fast? And I thought the issues were on a database / federation level anyway, not related to php performance.
Comment on Anyone else moved from kbin to lemmy?
Kaldo@kbin.social 8 months agoIsn't modern php supposed to be pretty good and fast? And I thought the issues were on a database / federation level anyway, not related to php performance.
ad_on_is@lemmy.world 8 months ago
No matter how modern PHP becomes every year… it just beats its previous version in performance, but the underlying architecture is still the same and cannot compete with other languages, especially when using frameworks like symfony, etc.
For example.
If you run a node/go/rust server and you hit the endpoint
/hello
which returns a simple “hello world”, they will just return that. PHP (symfony) however, has to initialize and execute the whole framework stuff, before returning a simple “hello world”