frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Genus Amanita

https://www.mushroomexpert.com/amanita.html
1•rolph•2m ago•0 comments

We have broken SHA-1 in practice

https://shattered.io/
1•mooreds•2m ago•1 comments

Ask HN: Was my first management job bad, or is this what management is like?

1•Buttons840•4m ago•0 comments

Ask HN: How to Reduce Time Spent Crimping?

1•pinkmuffinere•5m ago•0 comments

KV Cache Transform Coding for Compact Storage in LLM Inference

https://arxiv.org/abs/2511.01815
1•walterbell•10m ago•0 comments

A quantitative, multimodal wearable bioelectronic device for stress assessment

https://www.nature.com/articles/s41467-025-67747-9
1•PaulHoule•11m ago•0 comments

Why Big Tech Is Throwing Cash into India in Quest for AI Supremacy

https://www.wsj.com/world/india/why-big-tech-is-throwing-cash-into-india-in-quest-for-ai-supremac...
1•saikatsg•11m ago•0 comments

How to shoot yourself in the foot – 2026 edition

https://github.com/aweussom/HowToShootYourselfInTheFoot
1•aweussom•12m ago•0 comments

Eight More Months of Agents

https://crawshaw.io/blog/eight-more-months-of-agents
3•archb•14m ago•0 comments

From Human Thought to Machine Coordination

https://www.psychologytoday.com/us/blog/the-digital-self/202602/from-human-thought-to-machine-coo...
1•walterbell•14m ago•0 comments

The new X API pricing must be a joke

https://developer.x.com/
1•danver0•15m ago•0 comments

Show HN: RMA Dashboard fast SAST results for monorepos (SARIF and triage)

https://rma-dashboard.bukhari-kibuka7.workers.dev/
1•bumahkib7•15m ago•0 comments

Show HN: Source code graphRAG for Java/Kotlin development based on jQAssistant

https://github.com/2015xli/jqassistant-graph-rag
1•artigent•21m ago•0 comments

Python Only Has One Real Competitor

https://mccue.dev/pages/2-6-26-python-competitor
3•dragandj•22m ago•0 comments

Tmux to Zellij (and Back)

https://www.mauriciopoppe.com/notes/tmux-to-zellij/
1•maurizzzio•23m ago•1 comments

Ask HN: How are you using specialized agents to accelerate your work?

1•otterley•24m ago•0 comments

Passing user_id through 6 services? OTel Baggage fixes this

https://signoz.io/blog/otel-baggage/
1•pranay01•25m ago•0 comments

DavMail Pop/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway

https://davmail.sourceforge.net/
1•todsacerdoti•25m ago•0 comments

Visual data modelling in the browser (open source)

https://github.com/sqlmodel/sqlmodel
1•Sean766•28m ago•0 comments

Show HN: Tharos – CLI to find and autofix security bugs using local LLMs

https://github.com/chinonsochikelue/tharos
1•fluantix•28m ago•0 comments

Oddly Simple GUI Programs

https://simonsafar.com/2024/win32_lights/
1•MaximilianEmel•28m ago•0 comments

The New Playbook for Leaders [pdf]

https://www.ibli.com/IBLI%20OnePagers%20The%20Plays%20Summarized.pdf
1•mooreds•29m ago•1 comments

Interactive Unboxing of J Dilla's Donuts

https://donuts20.vercel.app
1•sngahane•30m ago•0 comments

OneCourt helps blind and low-vision fans to track Super Bowl live

https://www.dezeen.com/2026/02/06/onecourt-tactile-device-super-bowl-blind-low-vision-fans/
1•gaws•32m ago•0 comments

Rudolf Vrba

https://en.wikipedia.org/wiki/Rudolf_Vrba
1•mooreds•32m ago•0 comments

Autism Incidence in Girls and Boys May Be Nearly Equal, Study Suggests

https://www.medpagetoday.com/neurology/autism/119747
1•paulpauper•33m ago•0 comments

Wellness Hotels Discovery Application

https://aurio.place/
1•cherrylinedev•34m ago•1 comments

NASA delays moon rocket launch by a month after fuel leaks during test

https://www.theguardian.com/science/2026/feb/03/nasa-delays-moon-rocket-launch-month-fuel-leaks-a...
1•mooreds•35m ago•0 comments

Sebastian Galiani on the Marginal Revolution

https://marginalrevolution.com/marginalrevolution/2026/02/sebastian-galiani-on-the-marginal-revol...
2•paulpauper•38m ago•0 comments

Ask HN: Are we at the point where software can improve itself?

1•ManuelKiessling•38m ago•2 comments
Open in hackernews

What caused performance issues in my tiny RPG

https://jslegenddev.substack.com/p/what-caused-performance-issues-in
32•ibobev•2mo ago

Comments

kg•2mo ago
Interesting writeup. It's surprising to me that the author was experiencing such severe performance issues with relatively simple scenes, and it sounds like the performance issues still aren't completely gone. In the past I've been able to run fairly complex 2D scenes in JS+canvas so I wonder if there's some sort of fundamental performance issue lurking underneath kaplay or some other library they're using?
hinkley•2mo ago
> Additionally, to not disable batching it was important that all drawSprite calls be placed together in the draw loop before rendering text with drawText calls.

Sounds like reflow problems. And like OP is slowly discovering the 200% Problem.

NuclearPM•2mo ago
What is the 200% problem?
recursivecaveat•2mo ago
I was able to find this comment, linking to a talk that coined(?) it. https://news.ycombinator.com/item?id=36091791 I guess in short you would say that learning a leaky simplifying abstraction actually increases the amount you have to learn.
hinkley•2mo ago
When the abstraction fails you need to know all the implementation details of the thing being abstracted as well as the abstraction. 100 + 100 = 200. Often it’s easier and more productive overall to just learn the thing. It’s a false economy thinking you won’t need to.
gwbas1c•2mo ago
> There weren’t that many projectiles in the first place so I felt that this would be useful later. However, considering that Chrome and Safari were struggling performance wise probably due to their garbage collector working differently, I resigned myself to implement it now.

I'm curious about actual metrics with regard to Chrome / Safari's garbage collector overhead. You still don't have a lot of "objects" in the video; when V8 is used server side it handles significantly more objects. (IE, assuming each sword is 1-5 objects.)

Are these engines canvas based, or are they generating HTML? Assuming they are generating HTML, are the elements removed from the screen when you are done with them?

In a lot of garbage collected environments, you still need to call some kind of close / remove method when you are done with some kinds of objects. (In C#, it's "Dispose.")

philipwhiuk•2mo ago
> While I eventually ended up fixing the performance issues in my game, I can’t help but think of scenarios where problems could arise later that are unfixable due to limitations of the tools I’m using.

Only if you don't want to get your hands dirty with the layers you're using.

The trade-off with an abstraction layer is that every layer introduces bugs/decisions which may be a concern. But you can always (if it's open source) tweak the layer(s) below.

Moreover, why not finish the game and make your next project in something new.

codazoda•2mo ago
The other tried but then chose against GemShell, but it sounds awesome for my projects. It builds files that can be as small as 3MB by using the native webview. The pro version is just $13.

The main down side is poor performance if you’re not targeting Safari and Chrome.

nine_k•2mo ago
Seeing a performance degradation rendering a few dozen objects flying, down to 48 fps on Mac M1, is pretty insane. Something is fundamentally wrong either with the framework or the approach. It seems like 90%, if not 98%, of time is wasted on something irrelevant.

Here's Chrome showing 100k objects in 3D, with very decent fps: https://m.youtube.com/watch?v=dKg5H1OtDK8 This should give some idea of what should be achievable.

hresvelgr•2mo ago
I left a comment in the previous thread about reserving judgement until the cause is identified as it's quite common to run into weird performance issues in very complex systems (games typically being so) and its very easy to say: "modern software bad." Now that it's been elucidated, I can pretty confidently say: "modern software bad." I strongly doubt this would happen in love2d, Godot, or any other engine/framework.
strken•2mo ago
I would be inclined to blame small, obscure, new frameworks glued together in a weird way more than something that's unique to modern software. Godot is nearly 25 years old. I'm sure it was awful back in 2003.
hresvelgr•2mo ago
> Godot is nearly 25 years old. I'm sure it was awful back in 2003.

Sure, but that's kind of my point, modern software is endemic of a mindset that most things are "fast enough" that we can reinvent the wheel, repeat old mistakes, and more or less get away with it, instead of using something better suited and more purpose built.

imtringued•2mo ago
Yeah the first bug is the telltale sign. How the hell can something as simple as the frame limiter be broken? You'd think that problems that affect every single game would have been addressed by now.

If creating text, sprite objects, etc results in a performance bottleneck with less than 20 objects on screen, then why offer those in the first place? I mean, so little is happening in that game that you couldn't even come up with enough game objects to tank the performance with.

There's what? A title of the location, the enemy HP indicator, the level number and the player stats. Even if you committed the worst performance sins, it should just work anyway.

aappleby•2mo ago
Your "bunch of projectiles" is what, 20? You should be able to do 20,000 on even the lowliest integrated GPU these days.

As a senior game/graphics programmer looking at the screen caps, I see a game that should never be using more than 1% of the CPU and a few percent of the GPU.

bob1029•2mo ago
> You should be able to do 20,000 on even the lowliest integrated GPU these days.

It all depends on how things are organized. If each object needs to run logic every frame, you can start to run into severe performance issues way before you get to 10k. 60fps means you have 16 milliseconds to check everything in the scene. This can be a lot of time but you only have to make one small mistake to lose any advantage.

We have to reach for data oriented techniques like ECS if we want to keep the CPU ~idle while managing 10k+ entities in the scene. This stuff is a big pain in the ass to use if you don't actually need it.

thegrim33•2mo ago
I mean .. come on. The performance "investigations" where these:

- "When I set a FPS cap it seems to slow my game down to a halt, and I don't really know why, so I'm just going to shrug and disable it and it seems to fix it, so I'm not going to think about it anymore"

- "My game has worse performance on Mac but a library developer says they're fixing it, so I'm just going to shrug and hope it's eventually fixed"

- "The game performs better on Firefox than Chrome/Safari, I don't know why, who knows, moving on .."

- "I have horrible performance rendering text as an entity, so instead of fixing my entity system to be performant I'm going to just modify my game loop for text rendering to be its own thing"

- "I'm going to use pooling to re-use entities and it increases my performance by ~30%" (even though they have only a dozen entities on screen at once, only allocating a max of 1 or 2 objects per frame, and adding pooling for this is somehow a massive performance win?)

What value was I supposed to take from this article?