# Nyra – Memory safety of Rust with the simplicity of JS

> Source: <https://dev.to/hamdymohamedak/nyra-memory-safety-of-rust-with-the-simplicity-of-js-2p66>
> Published: 2026-06-28 01:21:20+00:00

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.
```

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
