Hacker News new | ask | show | jobs
by josh_ring 626 days ago
C3 – 0.6.3 Out Now!

- Website & Docs: https://c3-lang.org

- Release notes: https://c3.handmade.network/blog/p/8957-welcome_to_c3_versio...

-----------------------------

C3 Language:

-----------------------------

- Ergonomics and Safety, with Optionals, defer, slices, foreach and contracts.

- Performance by default, with SIMD, memory allocators, zero overhead errors, inline ASM and LLVM backend.

- Modules are simple, with modules that are an encapsulated namespace.

- Generic code, with polymorphic modules, interfaces and compile time reflection.

- Macros without a PhD, similar to normal functions, or do compile time code.

-----------------------------

Additional information:

-----------------------------

- C3 prioritizes C ABI compatibility so C and C3 can coexist together in a code base, all C3 special types can be used from C without any effort.

- There is a comparison with some other languages here: https://c3-lang.org/faq/compare-languages

- Changes from C: https://c3-lang.org/faq/changesfromc

- Currently the standard library is actively being built, and open to contributions. There is a `libc` module which allows accessing all of libc.

- Raylib, SDL, Vulkan, OpenGL, Treesitter and Curl libraries are available to use from C3 see: https://github.com/c3lang/vendor