Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: What is your workflow for developing with WASM?
8 points by shortrounddev2 on July 24, 2023 | hide | past | favorite | 3 comments
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?



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


- 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


Can you use breakpoints with your setup? In-browser or in-IDE?




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

Search: