Hacker Newsnew | past | comments | ask | show | jobs | submit | squeaky-clean's commentslogin

They are saying web based solutions often out perform LÖVE, even though you would expect the opposite because LÖVE doesn't have the bloat of a browser engine.

Browser engines are probably some of the most optimized pieces of software in existence, so it doesn't surprise me at all.

Love2D uses Luajit and directly calls established game libraries. The CPU usage should be far better for 2D games, luajit is faster than a browser's javascript jit. You can also create single exe games that are a few megabytes and not a few hundred megabytes.

Optimized abstraction layer is still an abstraction layer. The web is like two or three of those.

Explain this to electron haters.

Browser engines are optimized for displaying web pages, not for applications.

60MB+ for a calculator is not optimal.


explain that to my webgl TypeScript browser game running at 180+ FPS while rendering a large RPG tiled world with infinite procedurally JIT generated biomes, with heavy processing delegated to webworkers.

As you aren't posting code or stats I can't say much, but I'd bet a native app would still be smaller and more efficient, since you have to wrap what you're doing in an entire Chromium instance and deal with a web stack designed for documents, which is definitionally less efficient than a native alternative. Tiles aren't exactly cutting edge technology.

"Heavy processing delegated to webworkers?" That just sounds like threads but worse.


yep, native is faster for sure.

but webgl + web workers is good enough these days.

I can't share code sorry, the project got big and I have commercial plans.

But you can tell Gemini 3.1, Opus 4.6 or GPT 5.4 High to generate a demo and they do a decent job most of the times.

that's how I got started, seeing how it was possible to have good game performance with multi threaded workloads on a browser.


Nobody ever said in the thread that web is the most efficient platform, stop with your “designed for documents” trauma already.

The first post in this subthread was literally a statement that "A web-based solution is usually better performing, despite all the bloatware necessary." And you literally joined in to support that assertion against "the Electron haters."

And it isn't trauma, it's literal fact. Electron isn't used because it's technically superior to native applications, it's used because web devs are a dime a dozen. It's popular for business reasons, not technical reasons. It works "well enough," but only because computers are really fast but there's only so much slack an OS can take up when even parts of it are Electron apps, and probably vibe-coded to boot.


Meanwhile that same computer could probably run Counter Strike at 400 FPS.

step 1 htop

there isnt step 2, explain is over


And it's worse than spam when someone is posting incorrect things and people are downvoting people questioning it. As another user has already posted, the Iron Dome does not use the same radar they are talking about and is not "blind"

Settled out of court does not mean the lawsuit never went to court. It means the settlement happened outside of court. Every lawsuit has to go to court, that's how you file a lawsuit. If it isn't sent to a court it's just words in a document.

SQLite had 6 CVE's last year. FreeType had an RCE bug published last year. libcurl's last CVE reported was 2 weeks ago. Libpng had 4 vulnerabilities published this year....

The comment you're replying to literally has an example of an internet calling service being fined $20,000 for not properly directing 911 calls.

I guess Vonage should try to appeal the case and say pocksuppet said they're not required to do that.


Vonage sells phone services that happen to use the internet. This is not the same as being WhatsApp.

10 years ago the most popular 100 videos on YouTube were all pop music videos. Justin Bieber had 3 of the top 10.

The youtube algorithm has been personalized for much more than 10 years and has never prioritized any kind of lectures or artful films over anything else it thinks a viewer will watch. You're asking for them to bring back an era that never existed.

If you're not getting those sorts of recommendations it's because you ddon't actually watch that kind of content, or you're removing your history.


I’ve watched YouTube daily for nearly 20 years. The majority of the content as well as the algorithm have changed substantially over that period of time. I’m not the only one to notice this btw. There is even a word to describe the phenomenon, “enshitification”. I do clear my watch history, and have never signed into YouTube, frequently resetting the app and watching online in private sessions with adblock. The frequency with which I have to reset the app to prevent the algorithm feeding me terrible undesired content has gone up overtime, I now do it once every few weeks. That’s how much I dislike what it pushes on me. I used to get stuff like “philosophy overdose” and sapolosky’s stanford lecture series, good operas. I now get stuff like “these 5 things are killing you while you sleep!!!” and “mom is shocked to find out her teenage son is raping and eating babies severed limbs.” I’m not being hyperbolic; that’s actually what YouTube recommends.

This would destroy every retirement investment vehicle for the middle class more than it would affect the 1%


That can be mitigated by setting high thresholds on the whole process (e.g., the tax doesn't apply if your total net worth is under $10 million).


Now no one has a billion dollars but they have 100 companies they control each worth 10 million.

These lawsuits have to be designed with the idea that the people with the most resources will try to exploit them, and the people with the least resources will be unable to.


I said tax it on the total net worth. Splitting your wealth among different companies shouldn't affect anything.

> These lawsuits have to be designed with the idea that the people with the most resources will try to exploit them, and the people with the least resources will be unable to.

Agreed! That is why the goal needs to be to just directly and explicitly reduce the wealth of those with the most.


Producing the food is only 10% of the challenge. How do you deliver it to everyone at no cost without rotting? How do you deal with a delivery of flour if you have no oven?

If it's so easy this is ripe for a startup to disrupt. Food is the most necessary thing to human existence. Every living person is a potential customer.


> That is, be on the cutting-edge of something, but be willing to bail out at the moment its future starts seeming questionable

Counterpoint, I sold all my Bitcoin in 2011 when Mt Gox got hacked and the price plummeted 80%. Would have done it again after their 2014 hack too if I had any left.

> Bitcoin is a good example: if you bought it 15 years ago and held it, you're probably quite wealthy by now

But you just said bail the moment it's future starts to be questionable. If you follow that you would have never held it for 15 years.


I remember reading an interview some years ago where they basically said they wouldn't try to shut them down, but they also did not appreciate the projects existing.


If I recall that correctly, Atari didn't want to do anything about it because it drives sales for TTD and RCT (in the case of OpenRCT2, it drives sales for 2 games even, since you need the assets from 2, and can also import more assets from 1, and even further, you can also use Classic as your base, so like, many many options), while Chris Sawyer didn't particularly like their existence, but not enough to go and force Atari to do anything about it.


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

Search: