4 ms·
That explains why Electron apps and Web pages are slow but the post you're replying to is about games...
by onion2k 4y ago
That explains why Electron apps and Web pages are slow but the post you're replying to is about games...
- bouke 4y agoOk fair enough, but the mindset is spreading: json (javascript) parsing is what caused GTA Online loading times to balloon and I dread playing Call of Duty online as it wants to download and install dozens of GBs every time I launch it.
- wruza 4y agoIt wasn’t json parsing per se, but a buggy roll-your-own implementation that used a function (sscanf iirc) with a surprising nontrivial complexity on a long string. Fun part is, if they just outsourced that load to javascript and its JSON.parse, they’d never encounter that exponential slowdown. Javascript is a nice target to blame, but it isn’t the problem. CPUs got hundreds of times faster, javascript only divides it by N, which stays low and constant (at least) through decades. Do you really believe that if browsers only supported MSVC++-based DLLs without scripting, sites would run faster? That would be naive.
- jiggawatts 4y agoYou may be thinking of GTA Online, but the point is still valid.
- fennecfoxy 4y agoGames do use JS, some UIs actually render using a webview (Unity etc is capable of this)
- jcranberry 4y agoI didn't see anyone complaining about games in the parent comments.