• gandalf_der_12te@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 hours ago

    But isn’t WASM for web browsers

    not really, no. WASM is a generic hardware-independent format for instructions. it’s like instructions for a virtual CPU, not a real one. it gets translated into the instructions for the real processor on the target device. in this way, it can run on any hardware.

    comparing it to other setups such as java or javascript (which are also both hardware-independent), it runs much faster because it is much hardware-oriented, while java and javascript require abstract features such as a garbage collector, which makes real-time processes impossible.