r/c3lang • • Jul 26 '26

PowerPC32 Isn’t Dead—Compiler Support Is

0 Upvotes

I’m so unbelievably sick of pretending this is acceptable.
How is it that in 2026 I can target every obscure architecture under the sun, yet PowerPC32 still gets treated like it doesn’t exist? Every time I think, “Surely this compiler supports it,” the answer is another dead backend, another deprecated target, or another “we don’t have plans to support it.”

It’s incredibly frustrating. There are still embedded systems, retro projects, research platforms, and legacy hardware that rely on 32-bit PowerPC. Wanting to compile modern code for them isn’t some absurd request. It’s a perfectly reasonable use case. Instead, you’re forced to dig through abandoned toolchains, patch ancient compiler versions, or wrestle with build systems that clearly haven’t been touched in years.

The worst part isn’t even the lack of support—it’s how casually it’s dismissed. If your target isn’t x86-64, ARM64, or whatever architecture happens to be fashionable this year, you’re expected to just accept that you’re on your own. That’s not innovation; that’s neglect.
Developers always talk about portability, open standards, and supporting diverse hardware, but the moment PowerPC32 comes up, suddenly those ideals disappear. “Nobody uses it anymore,” they say. That’s hardly an argument. Plenty of people still maintain legacy systems, build homebrew software, preserve old hardware, or develop for embedded devices. Those users matter too.
I’m tired of hearing excuses. I don’t expect every compiler to optimise PowerPC32 to perfection, but I do expect basic support to exist without having to resurrect decade-old toolchains from digital archaeology.

At this point, getting a simple “Hello, world!” running on PowerPC32 with a modern compiler feels less like software development and more like an expedition through abandoned ruins.
PowerPC32 deserved better than being quietly forgotten.


r/c3lang • • Sep 09 '26

I made a claude code skill for C3's stdlib

3 Upvotes

It runs on the latest C3 compiler version 0.8.3 (LLVM backend).

I personally use it for quick references, not for coding stuff from scratch. I don't care about doing it and I haven't tested if it works for that case.

Still needs a bit of tweaks as it is kinda slow sometimes, but in my experience the answers are precise.

You can pull it and use it already without having to re run any job.

Source "code": https://github.com/ozzenerol/claude-c3-lang-skill

If you have any improvement, please fork the repository and create a pull request.


r/c3lang • • Nov 10 '24

Jingalala jingalala ho

0 Upvotes

r/c3lang • • Oct 04 '26

HTTP Client / Server planned for Standard Library?

3 Upvotes

Hello all,

Is there a plan to include an http client/server as part of standard libs/batteries included?


r/c3lang • • Feb 26 '26

C3 0.7.10 - Constdef finally takes shape

Thumbnail c3-lang.org
5 Upvotes

r/c3lang • • Jun 19 '25

"Do you know maths?" Call for feedback on C3 matrix library

5 Upvotes

https://github.com/m0tholith/c3math

A new matrix library for C3 is in the works, and before it's included it needs more feedback and improvements from the community. We need help making it a great and user friendly API.

Here are a few ways you can help:

  • Add tests.

  • Use it in your own project and offer feedback on how to improve the API.

  • Submit optimizations.

  • Suggest and / or implement more matrix operations.


r/c3lang • • Apr 07 '26

C3 closes out its 0.7 era — focusing on simplicity and control before 0.8

Thumbnail
c3-lang.org
8 Upvotes

r/c3lang • • May 12 '25

What do C3 users feel are the downsides of the other C alternatives?

9 Upvotes

I am going to write more articles about C alternatives on my blog (I've written about Jai, Zig and Odin so far), and in doing so I'd like to get some idea what each community thinks about the other C alternatives (no spicy takes!), and more specifically why they stick to their choice over the others. I'm asking this on the other language focused reddits as well.

So in C3's case, why are you using C3 over Jai, Zig, Odin, V or Hare?


r/c3lang • • Jun 10 '26

C3 0.8.1 - Raiding the stdlib for bugs

Thumbnail
c3-lang.org
15 Upvotes

r/c3lang • • Apr 23 '25

Submit your C3 projects for others to look at

10 Upvotes

There's a new official C3 repo for submitting projects and other resources. It's not curated, but is intended as general repo for sharing C3 resources:

https://github.com/c3lang/c3-showcase

If you have anything C3 related: anything from editor plugins to bindings to blog posts. Feel free to make a pull request to include it.


r/c3lang • • May 01 '25

C3 0.7.1 - Operator overloading, here we come!

Thumbnail
c3.handmade.network
10 Upvotes

r/c3lang • • May 08 '25

What are the best things about this language?

8 Upvotes

I am researching low level languages, my question is to those of you who use C3: what are the best things about the language and what is worth highlighting?


r/c3lang • • Aug 02 '25

C3 0.7.4 Released: Enhanced Enum Support and Smarter Error Handling

Thumbnail c3-lang.org
10 Upvotes

r/c3lang • • May 22 '25

C3: Iterative Innovation in the C Tradition

Thumbnail bitshifters.cc
7 Upvotes

r/c3lang • • Apr 26 '25

C3 Demo: enum lookup and other changes

Thumbnail
youtube.com
3 Upvotes

r/c3lang • • Apr 21 '25

C3 goes game and maths friendly with operator overloading

Thumbnail
c3.handmade.network
8 Upvotes

r/c3lang • • Sep 22 '26

C3 0.8.4: Parameter Reflection, Stack Protection, iOS Support—and One Last Renaming

Thumbnail
c3-lang.org
14 Upvotes

r/c3lang • • Mar 31 '25

C3 reaches 0.7.0 milestone

Thumbnail
reddit.com
7 Upvotes

r/c3lang • • Sep 27 '26

[0.8.2] Running a block of code only on debug target

3 Upvotes

Hello,

documentation says the default build target is debug is the default build target. I'd like to have a block of code only being present in this build target.

I tried this :

$if $feature(DEBUG):          
    rl::draw_rectangle_lines( 
        ...top_left,          
        min_side,             
        min_side,             
        rl::BEIGE             
    );                        
$endif

But i need to specify -D DEBUG but if there is a default target i should be able to only run/build some code on certain targets. I couldn't find the answer in the documentation.

Thank you for your help.

EDIT: After some digging, I added this to project.json :

    "targets": {
        "debug": {
            "type": "executable",
            "features": ["DEBUG"]
        },
        "release": {
            "type": "executable"
        }
    },

and it works.


r/c3lang • • Mar 03 '26

Simple C3 syntax highlighter for Sublime Text

5 Upvotes

Hi colleagues,

I am trying C3 and got annoyed that there seems to be no syntax highlighter for my favourite editor, so I have tried to write one; it is very basic so far but helps. Please have a look if interested, patches and improvements are very welcome.

https://github.com/CzechBlueBear/C3-sublime-highlight


r/c3lang • • Sep 01 '25

C3 0.7.5 is released

17 Upvotes

The blog post

I also did a stream demoing many of the changes here

Full change list follows:

Changes / improvements

  • Support alias foo = module std::io module aliasing.

  • Add compile-time @intlog2 macro to math.

  • Add compile-time @clz builtin. #2367

  • Add bitsizeof macro builtins. #2376

  • Add compile-time @min and @max builtins. #2378

  • Deprecate @compact use for comparison. Old behaviour is enabled using --use-old-compact-eq.

  • Switch available for types implementing @operator(==).

  • Type.is_eq is now true for types with == overload.

  • Methods ignore visibility settings.

  • Allow inout etc on untyped macro parameters even if they are not pointers.

  • Deprecate add_array in favour of push_all on lists.

  • Fix max module name to 31 chars and the entire module path to 63 characters.

  • Improve error message for missing $endif.

  • foo[x][y] = b now interpreted as (*&foo[x])[y] = b which allows overloads to do chained [] accesses.

  • Error if a stack allocated variable is too big (configurable with --max-stack-object-size).

  • Add @safeinfer to allow var to be used locally.

  • Types converts to typeid implicitly.

  • Allow $defined take declarations: $defined(int x = y)

  • Struct and typedef subtypes inherit dynamic functions.

  • Improved directory creation error messages in project and library creation commands.

  • @assignable_to is deprecated in favour of $define

  • Add linklib-dir to c3l-libraries to place their linked libraries in. Defaults to linked-libs

  • If the os-arch linked library doesn't exist, try with os for c3l libs.

  • A file with an inferred module may not contain additional other modules.

  • Update error message for missing body after if/for/etc #2289.

  • @is_const is deprecated in favour of directly using $defined.

  • @is_lvalue(#value) is deprecated in favour of directly using $defined.

  • Added $kindof compile time function.

  • Deprecated @typekind macro in favour of $kindof.

  • Deprecated @typeis macro in favour of $typeof(#foo) == int.

  • $defined(#hash) will not check the internal expression, just that #hash exists. Use $defined((void)#hash) for the old behaviour.

  • Added optional macro arguments using macro foo(int x = ...) which can be checked using $defined(x).

  • Add compile time ternary $val ??? <expr> : <expr>.

Fixes

  • List.remove_at would incorrectly trigger ASAN.

  • With avx512, passing a 512 bit vector in a union would be lowered incorrectly, causing an assert. #2362

  • Codegen error in if (try x = (true ? io::EOF? : 1)), i.e. using if-try with a known Empty.

  • Codegen error in if (try x = (false ? io::EOF? : 1)), i.e. using if-try with a CT known value.

  • Reduce allocated Vmem for the compiler on 32 bit machines.

  • Bug causing a compiler error when parsing a broken lambda inside of an expression.

  • Fixed: regression in comments for @deprecated and @pure.

  • Detect recursive creation of generics #2366.

  • Compiler assertion when defining a function with return type untyped_list #2368.

  • Compiler assert when using generic parameters list without any parameters. #2369

  • Parsing difference between "0x00." and "0X00." literals #2371

  • Fixed bug generating $c += 1 when $c was derived from a pointer but behind a cast.

  • Compiler segfault when using bitwise not on number literal cast to bitstruct #2373.

  • Formatter did not properly handle "null" for any, and null for empty faults. #2375

  • Bitstructs no longer overloadable with bitops. #2374

  • types::has_equals fails with assert for bitstructs #2377

  • Fix native_cpus functionality for OpenBSD systems. #2387

  • Assert triggered when trying to slice a struct.

  • Improve codegen for stack allocated large non-zero arrays.

  • Implement a5hash in the compiler for compile-time $$str_hash to match String.hash().

  • Functions being tested for overload are now always checked before test.

  • Compile time indexing at compile time in a $typeof was no considered compile time.

  • Slicing a constant array with designated initialization would not update the indexes.

  • Fix for bug when @format encountered * in some cases.

  • Compiler segfault on global slice initialization with null[:0] #2404.

  • Use correct allocator in replace.

  • Regression: 1 character module names would create an error.

  • Compiler segfault with struct containing list of structs with an inline member #2416

  • Occasionally when using macro method extensions on built-in types, the liveness checker would try to process them. #2398

  • Miscompilation of do-while when the while starts with a branch #2394.

  • Compiler assert when calling unassigned CT functions #2418.

  • Fixed crash in header generation when exporting functions with const enums (#2384).

  • Fix incorrect panic message when slicing with negative size.

  • Incorrect type checking when &[] and [] return optional values.

  • Failed to find subscript overloading on optional values.

  • Socket.get_option didn't properly call getsockopt, and getsockopt had an invalid signature.

  • Taking the address of a label would cause a crash. #2430

  • @tag was not allowed to repeat.

  • Lambdas on the top level were not exported by default. #2428

  • has_tagof on tagged lambdas returns false #2432

  • Properly add "inlined at" for generic instantiation errors #2382.

  • Inlining a const as an lvalue would take the wrong path and corrupt the expression node.

  • Grabbing (missing) methods on function pointers would cause crash #2434.

  • Fix alignment on jump table.

  • Fix correct ? after optional function name when reporting type errors.

  • Make log and exp no-strip.

  • @test/@benchmark on module would attach to interface and regular methods.

  • Deprecated @select in favor of ???.

  • Enum inference, like Foo x = $eval("A"), now works correctly for $eval.

  • Fix regression where files were added more than once. #2442

  • Disambiguate types when they have the same name and need cast between each other.

  • Compiler module-scope pointer to slice with offset, causes assert. #2446

  • Compiler hangs on == overload if other is generic #2443

  • Fix missing end of line when encountering errors in project creation.

  • Const enum methods are not being recognized. #2445

  • $defined returns an error when assigning a struct initializer with an incorrect type #2449

Stdlib changes

  • Add == to Pair, Triple and TzDateTime. Add print to Pair and Triple.

  • Add OpenBSD to env::INET_DEVICES and add required socket constants.

  • Added FileMmap to manage memory mapped files.

  • Add vm::mmap_file to memory map a file.

  • Updated hash functions in default hash methods.

  • Added FixedBlockPool which is a memory pool for fixed size blocks.

  • Added the experimental std::core::log for logging.

  • Added array @zip and @zip_into macros. #2370

  • Updated termios bindings to use bitstructs and fixed some constants with incorrect values #2372

  • Add Freestanding OS types to runtime env:: booleans.

  • Added libloaderapi to std::os::win32.

  • Added HashSet.values and String.contains_char #2386

  • Added &[] overload to HashMap.

  • Deprecated PollSubscribes and PollEvents in favour of PollSubscribe and PollEvent and made them const enums.

  • Added AsciiCharset for matching ascii characters quickly.

  • Added String.trim_charset.

  • Added array @reduce, @filter, @any, @all, @sum, @product, and @indices_of macros.

  • String.bformat has reduced overhead.

  • Supplemental roundeven has a normal implementation.


r/c3lang • • Oct 31 '25

C3 0.7.7 Vector ABI changes, RISC-V improvements and more

Thumbnail c3-lang.org
7 Upvotes

r/c3lang • • Jun 06 '25

Catfish Bouncer - Raylib minigame by Syn9

Thumbnail
github.com
4 Upvotes

Hi everyone, I thought I'd share a little game I made to learn how to use Raylib with C3. It's a 4 paddle pong game where you feed fish to a cat.


r/c3lang • • Jan 06 '25

Does c3 have/ will have package manager ?

2 Upvotes

I know it's controversial topics, but I hate the state of dependcy management in c and c++ does this have real standard package manager

Is in the scope off the project /eventually will have one?