Comment on Anyone else moved from kbin to lemmy?
Kaldo@kbin.social 1 year 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 1 year 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 1 year 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”