The JVM vs WebAssembly: An In Depth Comparative Analysis By Shivansh Vij

Поділитися
Вставка
  • Опубліковано 1 жов 2023
  • This session contrasts, in extreme detail, the Java Virtual Machine (JVM) and WebAssembly (Wasm).
    Intent & Bytecode Adaptations: We discuss the intent behind the JVM and Wasm. The JVM was designed for Java, but later expanded to other languages. Conversely, Wasm was designed for multiple languages from the start. We'll analyze how these intentions influenced adaptations across different languages.
    Bytecode, Implementation, Control Flow: Nuanced technical details of each platform's structure will be explored. E.g., Though the JVM is a stack-based VM, Wasm uses a structured stack machine model. We'll consider the implications of both, as well as many other technical aspects of each technology.
    Standardization Processes: The JVM’s specification is managed by Oracle, with Java Community Process input. Wasm is a W3C open standard. We'll examine stakeholders and incentives driving these systems' evolution.
    Future of WebAssembly: We'll discuss upcoming Wasm proposals, including the Component Model and Garbage Collection, and the development of new runtimes, extending Wasm’s reach far beyond the browser.
    JVM and Universal Compilation: We'll tackle the common assertion that Wasm is "just the JVM again" and explore why the JVM didn't become a widely-accepted universal compilation target and how Wasm has learned from these challenges.
    Our goal is to enhance understanding of the JVM and Wasm, enabling informed decisions and clearer perspectives on these technologies' futures.
    SHIVANSH VIJ
    Shivansh Vij is the Founder and CEO of Loophole Labs, where he is actively focused creating new developer primitives by leveraging new technologies such as WebAssembly. He is a long-time open-source contributor and started his career building various container orchestration platforms as well as designing some of the first service meshes.
  • Наука та технологія

КОМЕНТАРІ • 7

  • @maxcharlington3877
    @maxcharlington3877 6 місяців тому +5

    Awesome talk. Thank you for great comparison works great for understanding what is going on with WASM runtimes

  • @bjbboy71697
    @bjbboy71697 3 місяці тому +2

    Amazing speaker. Breaking down complex details in a way you can understand and using good voice inflection to make it easy to take in. Didn't feel like a dry technical talk. You can tell he is truly passionate about the subject matter.

  • @berkowk
    @berkowk 2 місяці тому +1

    I kind of missed why would someone want to run wasm on server side?

    • @mranthonymills
      @mranthonymills Місяць тому

      Because it allows you to run arbitrary code in a server with low overhead and good sandbox guarantees.

  • @georgeshalvashvili6270
    @georgeshalvashvili6270 9 місяців тому +2

    If it was JVM how much time would it take to make it work the same way as WebAssembly? I feel like it would take less time to modify JVM than to create entirely new VM

    • @user-yb9iz6gh2u
      @user-yb9iz6gh2u 9 місяців тому +7

      JVM is not the problem, Oracle is.

    • @b3owu1f
      @b3owu1f 6 місяців тому +3

      You realize the Wasm VM is ALREADY done/working on just about every platform including browsers and mobile where JVMs are not running on? The video basically explains why this came about and why they didn't implement more languages in JVM.