frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

What Caused Performance Issues in My Tiny RPG

https://jslegenddev.substack.com/p/what-caused-performance-issues-in
12•ibobev•1h ago

Comments

kg•52m 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•32m 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•29m ago
What is the 200% problem?
recursivecaveat•20m 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.
gwbas1c•27m 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.")

Visual JSON Editor

https://visualjsoneditor.com
2•yennares•6m ago•0 comments

Show HN: Simulation of a desktop app I built on the web

https://www.theforges.co/
2•withwho•6m ago•0 comments

Factors Influencing Actual Usage of Self-Hosted Software Solutions

https://www.mdpi.com/2071-1050/17/22/10009
1•elashri•8m ago•0 comments

An illustrated history of the deadliest epidemics (2023)

https://thebulletin.org/2023/01/deadliest-pandemics/
1•6177c40f•8m ago•0 comments

Abandoned coal mine drainage identified as a significant source of CO2 emissions

https://phys.org/news/2025-11-abandoned-coal-drainage-significant-source.html
2•PaulHoule•11m ago•0 comments

Y'all See the Astroturfing, Right?

3•justcuriousss•14m ago•2 comments

Street Photography by Josh Chernoff

https://fullstack.ing/photo
2•fullstacking•14m ago•1 comments

What do noise functions sound like?

https://aabiji.github.io/html/noise.html
3•thunderbong•17m ago•0 comments

Unlicensing

https://www.fossable.org/fossable/unlicensing/
1•cilki•17m ago•0 comments

Show HN: A Free Instagram Story Viewer That Lets You Watch Anonymously

https://instagram-story-viewer.org
1•deep_signal•18m ago•0 comments

AI tool website – submit your MVP project here, it is free

https://aiinlink.com
1•Febe1212•19m ago•0 comments

So you want to organize an Internet Yami-Ichi

http://yami-ichi.biz/organize/
2•gregsadetsky•22m ago•1 comments

Show HN: Maktabah Shamilah alike for all OS: Elkirtass

https://github.com/abdulbadii/elkirtasse-on-Qt6-Cmake
1•dogol•23m ago•0 comments

GBrain Therapy Chatbot

https://neurogbrain.ataalnojoom.com/
1•FDX2018•27m ago•0 comments

Warren Buffett's final shareholder letter [pdf]

https://berkshirehathaway.com/news/nov1025.pdf
7•philip1209•30m ago•1 comments

Two 20-somethings are building America's FPV drone war machine

https://dronexl.co/2025/11/10/teenage-drone-racers-defense-contractors/
10•asix66•33m ago•1 comments

The seven virtues of simple type theory (2008) [pdf]

https://imps.mcmaster.ca/doc/seven-virtues.pdf
2•perihelions•41m ago•0 comments

Help: Microsoft Outlook Login Problems

1•iheshe•45m ago•0 comments

Holland-Cycling.com Stops in 2026

https://www.holland-cycling.com/blog/321-holland-cycling-com-stops-in-2026
2•cheeaun•46m ago•0 comments

China's CO2 emissions have been flat or falling for past 18 months

https://www.theguardian.com/world/2025/nov/11/china-co2-emissions-flat-or-falling-for-past-18-mon...
8•defrost•48m ago•0 comments

Ultra-flat optic pushes beyond what was previously thought possible

https://www.ece.uw.edu/spotlight/arka-majumdar-ultra-flat-optic/
4•geox•48m ago•0 comments

Toucan Wireless Split Keyboard with Touchpad

https://shop.beekeeb.com/products/toucan-wireless-piantor-wireless-split-keyboard-with-touchpad
5•tortilla•50m ago•0 comments

The Tree That Owns Itself

https://en.wikipedia.org/wiki/Tree_That_Owns_Itself
4•theresistor•54m ago•0 comments

Cognitive Biases and A.I. – shows worse biases than human practitioners

https://ai.nejm.org/doi/10.1056/AIcs2400639
5•Marshferm•54m ago•0 comments

Barnton, Edinburgh's Nuclear Bunker

https://www.barntonbunker.com
3•gjvc•56m ago•0 comments

Self play and autocurricula in the age of agents

https://www.amplifypartners.com/blog-posts/self-play-and-autocurricula-in-the-age-of-agents
1•cubefox•58m ago•0 comments

`Du` Command Outputs Incorrect Sizes in Ubuntu 25.10

https://askubuntu.com/questions/1559396/the-new-du-command-in-lib-cargo-bin-coreutils-outputs-wro...
4•birdculture•1h ago•1 comments

FDA Strips Breast Cancer Warning from Menopause Hormone Therapy

https://www.scientificamerican.com/article/fda-strips-breast-cancer-warning-from-menopause-hormon...
3•quapster•1h ago•0 comments

The most nerdiest VC website that I have ever seen

https://rootventures.coffee/
4•vira28•1h ago•0 comments

Dean Scream

https://en.wikipedia.org/wiki/Dean_scream
5•handfuloflight•1h ago•1 comments