Zig Is Bootstrapping With WASM, Why?

Sdílet
Vložit
  • čas přidán 7. 12. 2022
  • Andrew's blog post:
    ziglang.org/news/goodbye-cpp/
    My discord server:
    / discord
  • Věda a technologie

Komentáře • 14

  • @UliTroyo
    @UliTroyo Před rokem +23

    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 Před rokem +1

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

  • @inkryption3386
    @inkryption3386 Před rokem +18

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

  • @propagandaBreaker
    @propagandaBreaker Před 7 měsíci

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

  • @UliTroyo
    @UliTroyo Před rokem +10

    LMAO @ non-GMO source code

  • @FrankHarwald
    @FrankHarwald Před rokem +6

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

    • @shaurz
      @shaurz Před rokem +16

      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

  • @NathanHedglin
    @NathanHedglin Před rokem +2

    Great stuff. WASM to the rescue

  • @suleyth
    @suleyth Před rokem +5

    Why do you have an among us in your background

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před rokem +4

    Cool, though i didn't understood any of it

  • @VijayaGopala
    @VijayaGopala Před rokem

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