News for hackers. Stuff that matters.
Re:Voxel.css by flohofwoe on Wednesday January 27, 2016 @08:10AM (#10979809)
Hmm that's very interesting, a bit risky, but worth experimenting with... thanks for the pointer!
Re:Voxel.css by avodonosov on Wednesday January 27, 2016 @01:31PM (#10981897)
What risks do you see?

BTW, the idea is not radically new. Java loads classes only when they are accessed first time.

Operating systems load native applications by mapping executable file into virtual memory. The pages are loaded into physical memory only when CPU tries to access them.

Re:Voxel.css by flohofwoe on Wednesday January 27, 2016 @03:34PM (#10983052)
Ok yes, if there's a mechanism that dynamically loads the missing parts then it could work (actually emscripten supports dynamically loading scripts similar to DLLs). But 'naively' deleting functions from an asm.js blob would result in some 'unknown function' exception if the analysis was wrong and a removed function is still called somewhere.