News for hackers. Stuff that matters.
Re:State of JavaScript 2020 by Macha on Saturday January 16, 2021 @09:10AM (#25802228)
I would wager that a middle of the road data-heavy web UI actually asks more of their framework performance wise than a video game UI. Compare the number of interactable elements in e.g. a Trello board to a FPS weapon loadout screen. Sure, the consequences of a sluggish UI in a video game can be worse than a sluggish UI in a web app if it's running on the main thread and blocking the game's execution, but plenty of games update their UI less than once a frame, or run it in a separate thread altogether.
Re:State of JavaScript 2020 by Pfhreak on Saturday January 16, 2021 @10:25AM (#25802761)
Possibly. It's not just the loadouts though. Reticles and health bars need to animate at least 30 fps if not 60.