• Bazebara@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    7 小时前

    There’s many components which could be split out from this JS engine such as Regex.

    I’d love to see how it passes all ECMA tests

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    14 小时前

    This is super cool! I love seeing these new implementations of JS. boa is another JS runtime written in Rust as well.

    I’m curious how easy it is to embed this. Can I use it from another Rust project? Can I customize module loading behavior, or set limits on the runtime to limit CPU usage or memory usage or intercept network calls? Can I use it from a non-Rust project? Or is this intended to be a standalone JS runtime called from the CLI? I’ve been looking at Boa as a JS engine for one of my projects, but I’m open to checking out brimstone too if it’ll work.

  • sik0fewl@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    18 小时前

    This is interesting.

    Compacting garbage collector, written in very unsafe Rust

    • innocentz3r0@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      10 小时前

      Why not use MMTk instead of writing your own? MMTk already has bindings for V8, so it already has some level of support for Javascript, and seems to be better in the long run.