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

  • Thread starter Thread starter lerno
  • Start date Start date
L

lerno

Get it from here: GitHub - c3lang/c3c: Compiler for the C3 language
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: C3 | An evolution, not a revolution It might be interesting to look at the examples: 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
Here are some interviews on C3:

Here is a series doing various tasks in C3:
- C3: Reading and writing files
Some projects:




Comments URL: Show HN: The C3 programming language (C alternative language) | Hacker News

Points: 87

# Comments: 48

Continue reading...
 
Back
Top