1,508 karma · joined April 18, 2016
Look at most of the stories on the front-page of HN these days. Often some shiny tool to allow front-end JS devs to write and deploy full-stack applications automatically upon commit. I guarantee you they’re making similar newbie mistakes. Instead of SFTP it’ll be a serverless endpoint that returns entire User records, unhashed password and all, without any sort of auth check.
Are there any hacker/entrepreneur communities that focus on revenue-funded efforts instead of the self-perpetuating financing cycles?
It’s awesome, yes, but it’s quite orthogonal to the nodejs/npm way of doing things. It’s far better.
I genuinely don’t understand it.
[1] e.g. "Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator"
I’ve heard that exact sentiment over and over since the RoR community aggressively started with their anti-php agenda in about 2006.
Yes, though heavy optimization in opcode caching and JIT keeps it fast and the primary process manager today (php-fpm) generally keeps a pool of PHP processes persistent. Each request is initialized from scratch but there's no disk nor interpreter hit after the first.
There are, of course, frameworks that simply handle HTTP requests directly (amphp, swoole) that operate as persistent application servers, so state is maintained.
> Does this model uses OS threads? Does it uses green threads?
No. PHP webserver backends are generally a long-lived forking model.
> I feel like the Go model is a way better model for server software than async
Swoole [1] offers a coroutine and channel model. It's incredibly fast and the techempower benchmarks [2] attest to the raw speed.
> It feels a bit weird to see how full of objects PHP is
Agreed. It's often way over the top with Java-esque OOP complexity. It does depend on the libraries in question but the popular ones are very heavy (Symfony). You can of course write very simple imperative code just fine too.
What about end user experience?
That’s awfully reminiscent of the MongoDB meme.
(HN, June 5th 2028): "Ask HN: I was phished in Meta Horizons and they stole my house deed NFT. They've already moved in, my wife is furious. How can I get my house back?"
e.g. for a refresher some random vbulletin site: https://forums.devx.com/forumdisplay.php?105-VB-Classic
Because each of those entries on that page are a thread to me, but if discussions within a thread go off on a tangent there's not really a way to group/organize those sub-threads.