News for hackers. Stuff that matters.
Re:Single Page Applications using Rust by dgb23 on Tuesday August 11, 2020 @12:40PM (#24122348)
I agree with with the intent of your statement!

However:

> Nobody wants to hand-write wasm (...)

As a side note I want to point out that it is actually quite feasible to hand-write WASM in the text representation WAT.

It has some high level control constructs, type checking, some unique safety guarantees and a simple memory model.

Writing some (simple) programs in WAT and possibly a small language compiler for WASM is quite educational, fun and can be inspiring.

It can also build a more grounded intuition for the performance characteristics of WASM.

Re:Single Page Applications using Rust by root_axis on Tuesday August 11, 2020 @12:57PM (#24122576)
For sure! I find WASM to be quite readable, its actually an impressive feat of bytecode design.