4 ms·
64 bit addressed cannot come soon enough. In certain domains the entire data set you want to work with is many times the 4GB limit, and JS has no such restrict
by Game_Ender 8y ago
64 bit addressed cannot come soon enough. In certain domains the entire data set you want to work with is many times the 4GB limit, and JS has no such restriction so it’s a PITA that WASM does.
- dmitrygr 8y agoIt is hard to imagine a tool less suited to working with multi-gigabyte data sets than JavaScript.
- bloomer 8y agoYeah I'm really confused why working with 4GB+ datasets in the browser is a current need. Why does everything end up in web browsers these days? Is it only because developers aren't familiar with anything else?
- jholman 8y agoYou might similarly ask why app stores on iOS and Android are such a big deal, and why Steam is even a thing. It's because deployment is a harder problem than development (at least, it's harder for developers, because deployment is a social problem). The web is a pretty poor development target (though it keeps getting better), but it's a damn terrific deployment medium, and that's a winning tradeoff.
- denniskane 8y agoA truly web-browser-centric development/deployment workflow is slowly but surely becoming a thing. I call it "Linux on the Web": Easy as A-B-C / Or 1-2-3 / It's L-O-T-W ~dot~ X-Y-Z!
- fulafel 8y agoNon-browser programming platfomrs terrible portability stories when your app needs many features from the platform, like accelerated graphics, networking, security etc.
- 6nf 8y agoDo people actually use JS for data sets larger than 4GB in the browser?
- will4274 8y agoEmail services offer 50 gb of data storage for free. It's not so crazy that you'd want to load a substantial portion of that data into memory in an "offline mode" or while doing full text search across the database. Yes, there are probably ways to fit it into 4 gb, but I'm writing this post on a computer with 64 gb of RAM - why not write the next feature instead?
- voltagex_ 8y agoYou and I are in the minority though. The Web is already using too much RAM. I'm still seeing laptops sold with 4GB which would be used really quickly.
- fulafel 8y agoBrowsers don't support it without config flags, so rarely. But there certainly is demand in visualization, games, medical imaging, "data science", etc. (Also these apps are not necessarily written in JS, it's a compile target too)
- ec109685 8y agoHaving 64-bit addresses let you map files and not worry about address space limitations, even if resident size is < 4gb
- Certhas 8y agoI wouldn't be suprised with Jupyter notebooks and all that.
- jaipilot747 8y agoWouldn't that data be held in the language's kernel? When I load a 4GB file into memory in Jupyter, the memory is allocated in the python kernel, not the browser. Although I guess your point would be valid for iodide.io which seems to run everything in the browser.