C3 lang – A modern C alternative – 0.6.3 released9 points·by joshring2·2 lata temu·2 commentsWebsite & Docs: https://c3-lang.org/Release notes: https://c3.handmade.network/blog/p/8957-welcome_to_c3_version_0.6.3What is C3? – An Evolution of C, with modern language Ergonomics, Safety, Seamless C interop all wrapped up in close to C syntax.C3 Language Features:- Ergonomics and Safety – with Optionals, defer, slices, foreach and contracts.- Seamless C ABI integration, for full access to C and can use all advanced C3 features from C.- 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 – code similar to normal functions, or do compile time code.C3 FAQ:- A comparison with other languages: 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 is open to contributions. There is a libc module which allows accessing all of libc.- There are C3 Libraries for: Raylib, SDL, Vulkan, OpenGL, Treesitter and Curl from: https://github.com/c3lang/vendor2 commentsPost comment[–]fithisux·2 lata temureplyCongratulations for the very hard work.[–]joshring2·2 lata temureplyIf you try it out and have questions, pop them below would be happy to help! Or pop onto the Discord if that's more your thing :)
Release notes: https://c3.handmade.network/blog/p/8957-welcome_to_c3_version_0.6.3
What is C3? – An Evolution of C, with modern language Ergonomics, Safety, Seamless C interop all wrapped up in close to C syntax.
C3 Language Features:
- Ergonomics and Safety – with Optionals, defer, slices, foreach and contracts.
- Seamless C ABI integration, for full access to C and can use all advanced C3 features from C.
- 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 – code similar to normal functions, or do compile time code.
C3 FAQ:
- A comparison with other languages: 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 is open to contributions. There is a libc module which allows accessing all of libc.
- There are C3 Libraries for: Raylib, SDL, Vulkan, OpenGL, Treesitter and Curl from: https://github.com/c3lang/vendor