schellingb / wajic

WebAssembly JavaScript Interface Creator
zlib License
194 stars 5 forks source link

question - subset of SDL2 ? GLES3? #8

Open dobkeratops opened 2 years ago

dobkeratops commented 2 years ago

lets say I have a native program in an LLVM-targeting langauge thats written using C-FFI OpenGL bindings and SDL2 as its interface to the system (graphics output and control/window event inputs)

Would there be any advantage to rolling the subset of SDL2 that I use as a frontend with this project?

I know that emscripten includes a lot of Javascript code - I think there might be an advantage to getting all that re-done in C/C++ compiling to wasm ?

thanks for any thoughts or info