Show HN: The C3 programming language (C alternative language)

Get it from here: https://github.com/c3lang/c3c

In 2019, while contributing to the C2 language, I started up "C3" as a pet project while waiting for pull requests to be approved...

Now it's 6 years later and C3 well on its way to 1.0, having released 0.7.0 last week.

Unlike other C alternatives, C3 tries to evolve C – but without concern to backwards compatibility to the latter.

What it adds to C is among other things:

- Module system

- Semantic macros and compile time introspection

- Lightweight generic modules

- Zero overhead errors

- Build-in slices and SIMD types

- Gradual contracts

- Built-in checks in debug mode

You can find more details on the site: https://c3-lang.org It might be interesting to look at the examples: https://c3-lang.org/language-overview/examples/ so see how the language looks for some simple examples.

Some other links that might be interesting follows:

I've posted about C3 on HN before, notably

- https://news.ycombinator.com/item?id=24108980

- https://news.ycombinator.com/item?id=27876570

- https://news.ycombinator.com/item?id=32005678

Here are some interviews on C3:

- " rel="nofollow">

- " rel="nofollow">

Here is a series doing various tasks in C3:

- https://ebn.codeberg.page/programming/c3/c3-file-io/

Some projects:

- Gameboy emulator https://github.com/OdnetninI/Gameboy-Emulator/

- RISCV Bare metal Hello World: " rel="nofollow">

- "Depths of Daemonheim" roguelike https://github.com/TechnicalFowl/7DRL-2025


Comments URL: https://news.ycombinator.com/item?id=43569724

Points: 48

# Comments: 12

https://github.com/c3lang/c3c

Creato 26d | 3 apr 2025, 17:40:37


Accedi per aggiungere un commento

Altri post in questo gruppo

Ask HN: Is there hope for Microsoft 365 support?

The company I work for (25friday.com) has been hit with what seems to be a keyword blacklist on Microsoft 365 email.

In short, if we send out any email to clients using Microsoft 365 as their em

29 apr 2025, 10:20:10 | Hacker news
Show HN: Flowcode – Turing-complete visual programming platform

Hey HN! I’m Gabriel, and I’m excited to share a project I’ve been working on for the last few years. Flowcode is a visual programming platform that tries to combine the best of both worlds (code a

29 apr 2025, 10:20:07 | Hacker news