Zig Is Bootstrapping With WASM, Why?

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 15

  • @UliTroyo
    @UliTroyo 2 года назад +25

    Very interesting! I remember someone in the web world say that if WASM existed before Docker, that would've been the obvious solution and containers wouldn't exist as they do today. I'm eager to see WebGPU used in a similar way to solve platform-independent GPU stuff; I know Deno is thinking along those lines.

    • @KManAbout
      @KManAbout Год назад +2

      I believe that was one of creators of docker. And I don't consider that merely the web world.

  • @inkryption3386
    @inkryption3386 2 года назад +19

    Very exciting stuff. Glad to see the C++ codebase finally kick the bucket.

  • @UliTroyo
    @UliTroyo 2 года назад +11

    LMAO @ non-GMO source code

  • @FrankHarwald
    @FrankHarwald 2 года назад +7

    Using Wasm as machine independent languag to bootstrap is interesting, but youldn't you just use the LLVM IR to do that?

    • @shaurz
      @shaurz 2 года назад +19

      A few reasons: LLVM IR is not a stable target (it changes with new version), it's not portable (you generate different IR for different platforms, due to e.g. platform-specific macros in C), and it's more complex

  • @propagandaBreaker
    @propagandaBreaker Год назад

    Oh thanks, I have absolutely nothing to get from this but it was crazy fascinating ...and very clear :)

  • @NathanHedglin
    @NathanHedglin 2 года назад +2

    Great stuff. WASM to the rescue

  • @suleyth
    @suleyth 2 года назад +5

    Why do you have an among us in your background

    • @hermantcherdakli2053
      @hermantcherdakli2053 Год назад +2

      Glad i'm not the only one with the amongus brainrot

    • @KManAbout
      @KManAbout Год назад +1

      Because he's sus

    • @Daniel_WR_Hart
      @Daniel_WR_Hart 4 месяца назад +1

      to bait people into leaving comments to feed the algorithm

  • @VijayaGopala
    @VijayaGopala Год назад

    I know there was some good idea behind the scenes but it all got lost in the bloated and convoluted presentation.