Open StEvUgnIn opened 3 years ago
Don't hesitate to share your feedback on my ongoing work here
Out of curiosity, how will garbage collection be handled?
Garbage collection makes more sense in bigger projects. Memory is handled manually on Webassembly by the programmer. You have a ton of projects porting C/C++, JavaScript, Rust to Webassembly.
Webassembly is designed to work alongside JavaScript. That means that the binary needs glue code to be able to run in an application (client or server).
After research, the AssemblyScript team is bringing some experimental support for GC. Here is a link https://www.assemblyscript.org/runtime.html
AssemblyScript has automatic GC currently.
Thanks for your explanation @trusktr 🙂
@stefnotch @trusktr @pyrotechnick @AlexMax https://github.com/toji/gl-matrix/pull/421#pullrequestreview-626668492
Hi everyone, I am working since yesterday on the port of gl-matrix to WebAssembly.
Define objectives are:
std/assemblyscript/portable
definitions)I will publish as soon as I have a solid draft to present :) But the code of
gl-matrix
is concise, not too shaby for JavaScript code, easily portable to TS/AS environments.