Hacker Newsnew | past | comments | ask | show | jobs | submit | e12e's commentslogin

> as slow as PHP is.

Citation needed? I love hating PHP, but of the reasons I would chose something other than PHP, speed and resource consumption is pretty far down the list?


PHP is sync. This means every IO operation i do runs sync. This is why PHP will always be the slowest ones out there. Open a file, SQL queries, sending emails etc. Its all sync. Its all slow.

PS. I fully aware of hacks around this like reactphp and the other related async things, but those are all just heavy dependencies and for most sane devs non starters.


Ok?

I must admit I haven't run the numbers, but if this can be trusted, sync PHP isn't far off from golang - while async does rather well?

I probably would only reach for PHP if I needed to run on shared hosting (or rather, my customers did) - in which case few other technologies would compete, obviously.

https://phpbenchlab.com/php-vs-nodejs-vs-go-vs-python-io-ben...

> PHP 8.5 vs Node.js vs Go vs Python: I/O Performance Under Real Database Load (2026)

Thought it could warrant some discussion - maybe someone will spot obvious errors?

https://news.ycombinator.com/item?id=49845870

PS: golang is much faster at cpu - in this case one might argue a fairer comparison would use a compiled extension on the php side IMNHO - as that seems a likely path if a real project was cpu bound on a few small functions.

https://phpbenchlab.com/php-8-5-vs-nodejs-vs-go-vs-python-cp...


I was curious - not too impressed about what it did for Pornhub - but it turned into a kind of deconstruction of launch video - or banal parody of sorts?:

https://gzvxcspoxhhgoeog.public.blob.vercel-storage.com/vide...


Curious about the song - the mp3 in the repo is wildly different from the linked YouTube recording?

Interesting. Bit odd that the head doesn't occlude the background (it's a circle, not a disk), and not sure about the title font.

The drawing/animation style feels suitably off from xkcd - more naive stick figure, than what xkcd looks like?

Some speed/timing issues with the walk cycles.

For all that - mind-blowing that it's generated so quickly.


Thanks. I’ll pass the feedback on to Opus 5.5 :-)

Did you get the raw js artifacts to continue working, or making "sequels" - or just the video file?

Does the js stuff render real-time?

Did you get script/dialog and voice settings (again, for making other films in same series/theme) - or just the rendered audio?


I was very surprised when I realized what defaults postgres uses when it comes to SSL. I can see how people consider it a pragmatic choice - but still...

Doesn't actually read the page, though. Or not what you see in the browser. For example right now, when I navigate to "reply" it doesn't read the comment I'm replying to - it's reading the login banner you get visiting a reply link without being logged in.

I really hope arm laptops get full linux support as promised - but never delivered:

https://arstechnica.com/civis/threads/jan-2025-state-of-linu...


Tbh I don't think my MacBook air m2 is better than my Asus Vivobook (arm64). They're different (Vivobook is bigger) - but I'd say the OLED screen is much better than the M2 screen.

The apple touchpad is better - but all touchpads suck. Still miss old school IBM ThinkPad stick.


> yesterday my ethernet connection listing disappeared and broke network connectivity

While I'm not deeply familiar with Red Hat/Fedora - I'm curious if you know what happened here? What changed to trigger this behavior?

Looking at a few search results - looks like an upgrade to 44 likely exposed/introduced a bug in power management that result in the Ethernet being turned off, and the kernel mode unloaded?

I'm guessing the intention behind the change was to enable more power saving.

But that is certainly a valid concern with most Linux distros - ocationally an improvement (higher resolution, faster, better color depth console or driver) will mess with bootloader, x/Wayland etc.

Still driver yank isn't unheard of with windows upgrades either. With MacOS I'm just going to assume any os upgrade is likely to cause some issues - even when Apple owns both the hw and os.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: