Hacker News logo

G Lang – A lightweight interpreter written in D (2.4MB)

2 points
by pouyathe
3 days ago
1 comments
Hi HN,

I've been working on a programming language called G. It is designed to be memory-safe and extremely fast, with a focus on a tiny footprint.

The entire interpreter is written in D and weighs in at only 2.4MB. I built it because I wanted a modern scripting language that feels lightweight but has the safety of a high-level language.

Key Features:

     Small: The binary is ~2.4MB.
     Fast: Optimized for x86_64.
     Safe: Memory-safe execution.
     Std Lib: Includes std.echo, std.newline, etc.
     
GitHub: https://github.com/pouyathe/glang

I would love to get some feedback on the syntax or the architecture from the community!


1 comments

Loading...

Almost there! We're setting everything up for you.

Built by Troy Ciesco
Hacker News API