3 ms·
it looks like most developers not interested in mem64 feature. I can't really understand this thing. Ladies, Gentlemen and all non binaries, current vm runtime
by m00dy 4y ago
it looks like most developers not interested in mem64 feature. I can't really understand this thing.
Ladies, Gentlemen and all non binaries, current vm runtimes have 32 bit adressing and therefore you can have at most 4gb memory for your webasm application. I think it should be top priority to make it 64bit
- recursive 4y agoTop? Not sure about that. You can do a lot of things (most, I'd say) with far less than 4gb.
- remexre 4y agoIt would also be kind of nice if web developers knew they couldn't use more than 4GiB per tab, so didn't even try to get close :P
- abeyer 4y ago> so didn't even try to get close That would imply they weren't _already_ trying.
- jcelerier 4y agoThis kills me aha, I bought a computer with 16gb of ram in 2011, started getting OOMs in 2014/2015. My laptop has 32 gigs and desktop 64 and I still have the occasional OOM in media creation work (and no doubt I'd have the same editing a large 3D scene, making a detailed part in a CAD software, editing a detailed SVG or 8k image with 35 layers, running a complex electronics simulation... All the things that people buy computers for lol)
- recursive 4y agoTool for the job. I think there are probably reasons why editing a large 3d scene or doing detailed CAD work are probably best done outside of a wasm VM.
- m00dy 4y agolol, I'm using webassembly vm for training neural networks in browser by using webgpu. Sometimes, you need to copy data from vm's heap to gpu by using my awesome tinygrad based framework. In this case, vm is sort of limited and it needs to have 64bit adressing.