-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AssemblyScript] gl-matrix port to WebAssembly #420
Comments
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 🙂 |
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.The text was updated successfully, but these errors were encountered: