Things made in Rust. >shitty cli commands, nothing really. Things made in Zig

Things made in Rust
>shitty cli commands, nothing really

Things made in Zig
>A mother fricking javascript engine faster than rust that can use typescript, jsx, and more and use the node.js API and roughly 90% of it's libraries/NPMs despite only being in the beta version WHILE being like 40 times faster than node

Feels good to be on the winning team my Ziggas. Rustrannies eternally BTFO!

Homeless People Are Sexy Shirt $21.68

DMT Has Friends For Me Shirt $21.68

Homeless People Are Sexy Shirt $21.68

  1. 2 years ago
    Anonymous

    Things really made in Rust:
    >Deno (a motherfricking javascript engine)
    >Firecracker (the VM that powers AWS lambda functions)
    >Bottlerocket (the an amazon developed OS for running K8s workloads)
    Probably other stuff too. Never looked at Zig, shill me on it.

    • 2 years ago
      Anonymous

      >rustlets are proud of deno

    • 2 years ago
      Anonymous

      Deno is not a JS engine, it uses chromium's V8 JavaScript engine.

      • 2 years ago
        Anonymous

        Deno:
        >rust
        >v8

        Node:
        >C++
        >v8

        Bun:
        >Zig
        >javascriptcore

    • 2 years ago
      Anonymous

      I'm 3k miles away and I can smell some Cnile's stinky finger all over this post. Lmao

    • 2 years ago
      Anonymous

      Meant to OP, not you, fren.

      • 2 years ago
        Anonymous

        I'm from /wdg/, frick c

      • 2 years ago
        Anonymous

        It's fine fren.

  2. 2 years ago
    Anonymous

    >make a wrapper around JavaScriptCore
    >call it a new engine
    Sure thing bub
    How is the memory safety looking?

    • 2 years ago
      Anonymous

      I'm sorry, where's YOUR javascript server built from JavaScriptCore if it's so easy? Oh, you don't have one? Oh, no one else has one? Oh looks like you're a homosexual?

      • 2 years ago
        Anonymous

        >they just started implementing the node-API (napi) in May 5th
        >2 months and 5 days later they already have 90% of it implemented

        Jesus this guy doesn't sleep

        Yeah it actually is impressive, I was just matching the tone of the OP. I wish it the best.

        Deno is not a JS engine, it uses chromium's V8 JavaScript engine.

        Bun uses Safari's JavaScript engine.

    • 2 years ago
      Anonymous

      >they just started implementing the node-API (napi) in May 5th
      >2 months and 5 days later they already have 90% of it implemented

      Jesus this guy doesn't sleep

      • 2 years ago
        Anonymous

        Or he is getting a lot of money from it.

    • 2 years ago
      Anonymous

      >all those segfaults
      exactly the kind of dev that gets filtered by borrowck and then complains about it

  3. 2 years ago
    Anonymous

    >Things made in Zig
    >A javascript engine so that you don't need to write zig
    Is this something to be proud about?

    • 2 years ago
      Anonymous

      Extremely proud of. Once they finish implementing all of the NodeAPI shit, every single package on NPM will work on Bun.

      NPM is the largest backend library in the world. Basically imagine Node.js where the language is easy and you can write entire fullstacks in one language (or multiple since JSX and Typescript works in Bun by default), but faster than Rust.

      That's insane.

      • 2 years ago
        Anonymous

        Your actual JavaScript code isn't going to run any faster, Bun just streamlines the junk around it. Unless I'm very mistaken about what Bun does.

        • 2 years ago
          Anonymous

          Operations per second here

          >rustlets are proud of deno

          picrel is queries

          • 2 years ago
            Anonymous

            That's in the category "junk around it", it just has better bindings to this C library.
            Pure JavaScript shouldn't be any better.

          • 2 years ago
            Anonymous

            It uses the JSC core engine instead of V8 which is faster.

            Deno for example is made with the v8 and Rust and it performs slower in the tests than even Node which is c++ and the same engine, v8

          • 2 years ago
            Anonymous

            Do you have browser benchmarks that show JSC being faster than V8? I bet none of this comes down to JS execution speed, just to architectural changes like implementing fewer parts in JS and more efficient data bridging.
            And that's great, these numbers are nothing to sneeze at, but it isn't going to speed up your own code, just the other code around it.

        • 2 years ago
          Anonymous

          and lastly here's server-side rendering.

          Although this comparison isn't as fair because node's creator pretty much just said use node for API's and socket shit and if you want to serve stuff out or render just use NGINX. But here's the comparison anyways.

      • 2 years ago
        Anonymous

        >omg instead of running javascript code I will be running exactly the code that does exactly the same so exciting
        It sounds like all these python reimplementations that are a thousand times faster than cpython. Did being much faster made them less of a niche? Nope it did not.
        This is going to be much less relevant than what you think. Node is the center of attention and what defines what node is and it's fast enough for most people.
        Social factors matter more than technical details. People are not going to massively use bun, they are going to keep using standard node.

      • 2 years ago
        Anonymous

        Except it doesn't work and is riddled with bugs and segfaults. Also no windows support. Bun is DOA.

        • 2 years ago
          Anonymous

          >windows
          the majority of servers are linux

        • 2 years ago
          Anonymous

          It only has 1 runtime segmentation fault despite being in an experimental state yet having thousands of users

  4. 2 years ago
    Anonymous

    why tf would I want to run javascript on a backend?

    • 2 years ago
      Anonymous

      dilation

  5. 2 years ago
    Anonymous

    Both Zig and Rust get dilated by Perl

    • 2 years ago
      Anonymous

      thats like comparing apples to woolly mammoths

Your email address will not be published. Required fields are marked *