News for hackers. Stuff that matters.
Re:Why FastDoom Is Fast by Cthulhu_ on Wednesday March 05, 2025 @03:14AM (#43264124)
There's a lot of things front-end developers (be they web or graphical terminal) can learn from the game development world. I can recommend playing with e.g. Pico 8 sometime, it's artificially constrained so you have to work with the limitations instead of do the usual relatively naive work. It's LUA coding so it shouldn't be a problem for JS developers, assuming they don't mind working in a 20 column code editor (or thereabouts).
Re:Why FastDoom Is Fast by account42 on Wednesday March 05, 2025 @04:46AM (#43264731)
Games developers are not magically safe from the progress bar mistake.
Re:Why FastDoom Is Fast by conductr on Wednesday March 05, 2025 @10:30AM (#43267862)
I think it’s more so important to get familiar with loop/event based programming. Most of my experience is in the request/response mindset of web requests so when I try out game dev, arduino dev, C# desktop apps, etc I find my mental model has to shift drastically

Loops occur so fast it’s pretty standard to have to put some throttling logic in the code which I’ve never had to do in web dev except perhaps the document.ready statement in JavaScript to make sure the dom has been loaded.