Theres nothing you can do. Just accept what management wants and do your job as best as you can
-16 karma · joined June 21, 2018
Your criticism is for another layer. If you don't like C, use Rust or Go. They also compile to wasm.
cmp %bound, %ptr
jae bad_ptr
sbb %mask, %mask
and %mask, %ptr
Just two extra instructions. No need to memory map or hard code the size of bounds.See `array_index_mask_nospec` in https://github.com/torvalds/linux/blob/master/arch/x86/inclu...
Relevant documentation http://webassembly.github.io/spec/core/syntax/instructions.h...