DEV Community

Discussion on: GLAS = WebGL + Assembly Script(WASM);

trusktr profile image
Joe Pea

And there are also tools like wasm2c and Lucet that can convert Wasm into native code. To make glas work with those, we'll need to write some OpenGL bindings similar to ASWebGLue for WebGL.

zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️ Author

Funny you mention that. I was actually looking into that today. I figures out how to create the binding classes for webglrenderingcontext. Ran into an issue with how the callback works for the requestanimation where as doesnt really have callbacks like how three handles it. Need to look into a callback system to manage the wasm.table register.