Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like this answer a lot more than the other ones that are just dismissive.

I think there's at least some value in these "toy tools". Would being able to tinker with WASM not help development of compilers? I place a very high value on understanding as far down the stack as you can, I don't think ignorance of every abstraction layer below the one you're working on is a very noble goal to strive for.



> Would being able to tinker with WASM not help development of compilers?

There are tools, even web based ones, that allow you to tinker with WASM, compile C, C++ or Rust code to WASM, print out the WAT representation, turn WAT into WASM, run the WASM blobs through JS, etc.

These tools are probably very useful for the guys developing WASM frontends and backends. E.g. sharing a piece of WASM code with other developers.

Should the average developer use them? Not really. Maybe spend an hour poking at things to get the general idea of how it works. You really don't need to understand the details of LLVM IR, SPIR-V, WASM or GCC's GIMPLE in order to use those compilers.

Is it a good idea to understand what and how are intermediate representations used in compilers but actually writing that by hand is not necessary or productive.


WebAssembly is still very new - better tools are bound to show up, but I think GC and DOM support need to be finalized first.




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

Search: