News for hackers. Stuff that matters.
Re:Understanding every byte in a WASM module by rockwotj on Saturday December 23, 2023 @11:06AM (#38745217)
It is a balance between simplicity, speed and size. They choose size, honesty leb128 isn’t *too* complex (you can see an implementation in my repo I pointed too). But yes they don’t take all the simplicity tradeoffs.
Re:Understanding every byte in a WASM module by willtemperley on Saturday December 23, 2023 @12:00PM (#38745702)
Protobuf seems to use a very similar encoding.