nowfound

Dev tools · July 6, 2022

CA

C3 – A C alternative that looks like C

Compiler link: https://github.com/c3lang/c3c Docs: http://www.c3-lang.org This is my follow-up "Show HN" from roughly a year ago (https://news.ycombinator.com/item?id=27876570). Since then the language design has evolved and the compiler has gotten much more solid. Assorted extra info: - The C3 name is a homage to the C2 language project (http://c2lang.org) which it was originally inspired by. - Although C3 mostly conforms to C syntax, the most obvious change is requiring `fn` in front of the functions. This is to simplify searching for…

Alternativestop 9% of July 2022

In plain words

C3 is a programming language compiler that maintains C-like syntax while introducing design improvements. It requires the `fn` keyword before function definitions to simplify code navigation in editors. The language evolves C semantics with modifications documented on its website. C3 is aimed at developers seeking a modern alternative to C that preserves familiar syntax conventions while offering a more solid compiler implementation.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Compiler link: https://github.com/c3lang/c3c Docs: http://www.c3-lang.org This is my follow-up "Show HN" from roughly a year ago (https://news.ycombinator.com/item?id=27876570). Since then the language design has evolved and the compiler has gotten much more solid. Assorted extra info: - The C3 name is a homage to the C2 language project (http://c2lang.org) which it was originally inspired by. - Although C3 mostly conforms to C syntax, the most obvious change is requiring `fn` in front of the functions. This is to simplify searching for definitions in editors. - There is a comparison with some other languages here: http://www.c3-lang.org/compare/ - The parts in C3 which breaks C semantics or syntax: http://www.c3-lang.org/changesfromc/ - Aside from the very C-like syntax, one the biggest difference between C3 and other "C competitors" is that C3 prioritizes C ABI compatibility, so that all C3 special types (such as slices and optionals) can be used from C without any effort. C and C3 can coexist nicely in a code base. - Currently the standard library is not even alpha quality, it's actively being built, but there is a `libc` module which allows accessing all of libc. Raylib is available to use from C3 with MacOS and Windows, see: https://github.com/c3lang/vendor - There is a blog with assorted articles I've written during the development: https://c3.handmade.network/blog

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, July 2022

the whole month →
  • Locofy.ai720

    Turn Figma designs into code

    Dev tools · 2022 · locofy.ai

  • PO

    Life & fun · 2022 · justine.lol

  • PO

    Dev tools · 2022 · github.com

  • ruttl552

    Collect visual feedback directly on websites, PDFs & images

    Dev tools · 2022

  • PP

    Hello, HN - I wanted to share this puzzle game I made during my vacation. I'm rather fond of the pipes puzzle where your goal is to restore a scrambled network of connections by rotating tiles. It's usually played on a grid of squares and this all started when I decided to make a programmatic solver for that kind of puzzle. Then I realized that with some minor changes the solver could generate new puzzle instances. I thought about what kind of puzzle to make and someone suggested a hexagonal grid. Adapting the generator wasn't too hard but then I had to create a way to play this variant. So…

    Life & fun · 2022 · hexapipes.vercel.app

  • PD

    We're building Parsnip to create a "tech tree" of cooking skills that allows anyone to level up on the building blocks of cooking knowledge while tracking their progress over time. It took us a few iterations to figure out the right product; here's the story of our latest pivot: [https://parsnip.substack.com/p/a-new-hope] The goal is to create a personalized way to learn any recipe on the Internet, then use this as a springboard to help home cooks of all levels solve the problem of repeated meal planning in a 10x better way:…

    Work · 2022 · parsnip.ai