DEV Community

Hamdy Mohamed Askander
Hamdy Mohamed Askander

Posted on

Nyra – Memory safety of Rust with the simplicity of JS

Nyra – Memory safety of Rust with the simplicity of JS

Hi,

I built Nyra because I love the memory safety and fearlessness that Rust’s ownership model provides, but I often missed the development speed and clean, expressive syntax of JavaScript/TypeScript.

Key Features:

Rust-like Ownership: Compile-time memory management without a garbage collector.

JS-inspired Syntax: Minimalist, familiar, and easy to read.

Optional Typing: Types are optional. The compiler uses aggressive type inference where possible, allowing for a dynamic feel while maintaining performance and safety under the hood.

LLVM Backend: Compiles down to efficient machine code.
Enter fullscreen mode Exit fullscreen mode

The project is still in its early stages, and I'm heavily working on the compiler design. I would love to get your feedback on the syntax, the architecture, and how to handle the edge cases of static ownership with optional typing

Top comments (1)

Collapse
 
hamdymohamedak profile image
Hamdy Mohamed Askander