I made a new called Ry(also know as Ry's for You) this language has a c++ core which is fast while a tree walk interpreter it's foreach loop only took around 5 seconds in my laptop you can also test it in examples/speed_test.ry in ry's github repo
I am also working on a byte based interpreter for ry and foreach only took around 2 seconds in my laptop with it.
Ry has some really unique syntax like 'panic' instead of 'throw', 'unless' the opposite of if, 'do-while' the opposite of c++'s 'do-while' which ry doesn't have, 'attempt-fail-finally' instead of c++'s 'try-catch''.
Github Tree walk:
johnryzon123
/
Rylang
Ry: A lightweight, user-centric programming language built for stability and developer experience
Ry (Ry's for You) 🌀
Ry is a lightweight, robust, and user-centric programming language designed with a focus on stability and developer experience. Whether you're building simple scripts or exploring language design, Ry is built to be helpful, colorful, and fast.
Key Features
-
Intelligent Error Reporting: Beautiful, color-coded error messages with caret pointers (
^~~) to show you exactly where things went wrong. -
Optimized Iteration: High-level
foreachloops andrangeexpressions (0 to 100) designed for performance. - Smart REPL: A dynamic interactive shell with auto-indentation tracking and colorized prompts.
- Built for Stability: A memory-conscious C++ core that respects your hardware limits.
Performance
Ry is built to be efficient. In our internal benchmarks, Ry's native iteration outperforms standard loop structures:
| Loop Type | Time (Lower is Better) |
|---|---|
| foreach | ~5.0s |
| for | ~10.0s |
| while | ~11.0s |
Installation
Ry comes with a built-in installer for Linux and Windows systems.
- …
Top comments (0)