lagon icon indicating copy to clipboard operation
lagon copied to clipboard

feat: rust runtime

Open QuiiBz opened this issue 2 years ago • 0 comments

About

Testing the possibilities to rewrite the runtime in Rust.

Pros:

  • No double GC (Node.js (yes) + V8 (yes) VS Rust (no) + V8 (yes))
  • Should be faster, mostly for the HTTP server in @lagon/serverless
  • Should scale a lot more

Cons:

  • Rust is harder to learn than JS / fewer peoples know it
  • Implicitly means a rewrite of @lagon/serverless and @lagon/cli

QuiiBz avatar Jul 14 '22 20:07 QuiiBz