HACKER Q&A
📣 shortrounddev2

What is your workflow for developing with WASM?


What's a standard workflow for wasm? Even just using a simple vim + emcc + makefile setup to compile without IDE debugging, I can't get debug symbols to work in chrome debugging tools. I hear a lot of people here talking about WASM like it's this groundbreaking thing but it seems like the tooling is still barely supported by most major software vendors. Visual studio doesn't support it as a target out of the box without some cmake configuration. I don't know about clion or xcode though.

Do you work with WASM? What's your workflow? How do you debug your code? What languages do you use? What are your use-cases, considering WASM can't manipulate the DOM?


  👤 willmeyers Accepted Answer ✓
When I mess around with raylib I follow this: https://github.com/raysan5/raylib/wiki/Working-for-Web-(HTML...

👤 ralston3
- I just write Rust that compiles down to a wasm32 target :)

- Allows me to still use IDEs (e.g., VSCode), get great tooling (i.e., cargo) and still have a tidy little binary to use