Title: Compiler link: <a href="https:&#x2F;&#x2F;github.com&#x2F;c3lang&#x2F;c3c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;c3lang&#x2F;c3c</a><p>Docs: <a href="http:&#x2F;&#x2F;www.c3-lang.org" rel="nofollow">http:&#x2F;&#x2F;www.c3-lang.org</a><p>This is my follow-up &quot;Show HN&quot; from roughly a year ago (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27876570" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27876570</a>). Since then the language design has evolved and the compiler has gotten much more solid.<p>Assorted extra info:<p>- The C3 name is a homage to the C2 language project (<a href="http:&#x2F;&#x2F;c2lang.org" rel="nofollow">http:&#x2F;&#x2F;c2lang.org</a>) which it was originally inspired by.<p>- 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.<p>- There is a comparison with some other languages here: <a href="http:&#x2F;&#x2F;www.c3-lang.org&#x2F;compare&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.c3-lang.org&#x2F;compare&#x2F;</a><p>- The parts in C3 which breaks C semantics or syntax: <a href="http:&#x2F;&#x2F;www.c3-lang.org&#x2F;changesfromc&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.c3-lang.org&#x2F;changesfromc&#x2F;</a><p>- Aside from the very C-like syntax, one the biggest difference between C3 and other &quot;C competitors&quot; 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.<p>- Currently the standard library is not even alpha quality, it&#x27;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: <a href="https:&#x2F;&#x2F;github.com&#x2F;c3lang&#x2F;vendor" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;c3lang&#x2F;vendor</a><p>- There is a blog with assorted articles I&#x27;ve written during the development: <a href="https:&#x2F;&#x2F;c3.handmade.network&#x2F;blog" rel="nofollow">https:&#x2F;&#x2F;c3.handmade.network&#x2F;blog</a>
Upvote: