Replies: 3 comments
-
Zig isn't memory safe. It just makes allocations more explicit. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why u need NodeJS rewrite? Just use what u want... |
Beta Was this translation helpful? Give feedback.
0 replies
-
PR WELCOME 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the advent of projects like Bun and Deno, both of which use modern memory safe languages, is it time to rewrite Node internals too? Both of these runtimes seem to have benefited from their choice of using Zig and Rust.
Although benchmarks are not the end all be all, at a rough level both projects seem to be generally more performant than Node. In addition the memory safety of these languages should lead to less memory related bugs in the longer term.
There may also be room for improvements in the core design of libuv including doing a total redesign.
Beta Was this translation helpful? Give feedback.
All reactions