• Natanael@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    WASM was made for browsers but can run anywhere. You can cross compile any language to it.

    The trickier problem is compiler time hardware optimization, but there’s talks about appending architecture specific optimization hints for the runtime, so you can let the compiler search for optimal implementations when creating the bytecode so the JIT engine doesn’t have to. (that does mean you’re essentially compiling multiple times while creating the bytecode, but for performance sensitive software it’s worth it)