Let’s reinvent java bytecode but… different

  • anton@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    44
    ·
    7 months ago

    The main difference is that WASM is an agnostic bytecode without a gc while the jvm is opinionated in a java way. It has a gc, focus on dynamic dispatch and it has knowledge of concepts like exceptions, classes and visibility.

    All this leaking of abstractions means languages like java and kotlin are well suited, scala has hit problems and c couldn’t be compiled to java bytecode.