frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

2•pouyathe•1d ago
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!

Google Cloud suspended my account for 2 years, only automated replies

106•andylizf•11h ago•67 comments

Ask HN: Do you still use physical calculators?

23•speedylight•20h ago•67 comments

Ask HN: Any Successful Co-Ops of Software Engineers

2•rubyn00bie•5h ago•3 comments

Ask HN: Any real OpenClaw (Clawd Bot/Molt Bot) users? What's your experience?

76•cvhc•11h ago•120 comments

Ask HN: Do you also "hoard" notes/links but struggle to turn them into actions?

219•item007•1d ago•185 comments

Ask HN: Junior getting lost

46•TheRegularOne•2d ago•35 comments

Ask HN: What's your biggest LLM cost multiplier?

4•teilom•12h ago•4 comments

Ask HN: Is understanding code becoming "optional"?

14•mikaelaast•1d ago•32 comments

AI has failed to replace a single software application or feature

16•cadabrabra•1d ago•18 comments

Ask HN: How do you reset an AppleID?

11•OhMeadhbh•2d ago•25 comments

Waypoint 1.1, a local-first world model for interactive simulation

11•lcastricato•1d ago•0 comments

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

2•pouyathe•1d ago•0 comments

Ask HN: How do you market a side project?

10•ruairidhwm•1d ago•9 comments

Ask HN: Should a software engineer have research exposure?

4•c_daeda•1d ago•1 comments

The preposterous notion of AI automating "repetitive" work

9•cadabrabra•1d ago•10 comments

Ask HN: How do you force yourself to take breaks while coding?

4•glidea•2d ago•14 comments

AI creates over-efficiency. Organizations must absorb it

6•eriam•1d ago•4 comments

Ask HN: Ergo wireless keyboard with mouse for coding?

4•MarcelOlsz•1d ago•4 comments

DietPi released a new version v10.0

4•StephanStS•17h ago•0 comments

Ask HN: How are you managing secrets with AI agents?

2•m-hodges•1d ago•3 comments

Ask HN: Is free identity theft protection after a data breach worth the bother?

2•daoboy•1d ago•2 comments

Ask HN: What's the Point Anymore?

65•fnoef•4d ago•81 comments

Ask HN: How far has "vibe coding" come?

12•pigon1002•2d ago•27 comments

Ask HN: What recent UX changes make no sense to you?

32•superasn•4d ago•35 comments

Ask HN: Is archive.is currently broken for WSJ links?

7•bigwheels•2d ago•3 comments

Designing programming languages beyond AI comprehension

6•mr_bob_sacamano•3d ago•12 comments

How much recurring income do you generate in 2026 and from what?

12•djshah•3d ago•6 comments

Where can I find startups looking for fractional product leads?

8•stulogy•4d ago•3 comments

Ask HN: How are devtool founders getting their paying users in 2026?

7•yasu_c•2d ago•1 comments

Ask HN: Why the OpenClaw hype? What's so special?

5•anon_anon12•1d ago•1 comments