Hacker News new | past | comments | ask | show | jobs | submit login

The original SDL support was a JavaScript implementation of just enough of 1.x to get things compiling.

SDL2 cross-compiles to JavaScript properly and should be used by most things now.




so emscripten provides the sdl binding? I was assuming it'd cover libc, but does that mean it's part of the ecosystem or the compiler?

I feel like I'm just asking dumb toolchain questions because I'm missing something fundamental about targeting an executable build to the browser.





Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: