5 ms·
I thought it might be on the compiling platform to provide GC if it wants to. As you said some devs/apps are better off without GC, but also I imagine competit
by YCode 9y ago
I thought it might be on the compiling platform to provide GC if it wants to.
As you said some devs/apps are better off without GC, but also I imagine competition would more or less ensure the most performant or overall effective platforms would end up being the de facto standards.
And some platforms (e.g. React, Vue, etc.) may find one GC tends to work better than another for them or want to implement their own.
I'm not sure if WASM can host libraries on CDNs, but if so once a user has that stuff cached from one site or another bloat wont really be a problem either.
- tom_mellior 9y ago> I thought it might be on the compiling platform to provide GC if it wants to. Yes, the compiling platform can use WebAssembly's memory primitives to implement its own GC. But (besides the wasted work of implementing it) this is unlikely to be as efficient as a native, tuned GC on the target platform.