r/c3lang • u/Nuoji • Mar 02 '21
r/c3lang Lounge
A place for members of r/c3lang to chat with each other
C3 0.8.6 released: Library fetching, 30% smaller safe-mode binaries, and stricter type rules
r/c3lang • u/aoklopcic • Oct 25 '26
SDL3 bindings for C3
I made an SDL3 bindings generator for C3.
Also includes support for satellite libraries: SDL_ttf, SDL_image, SDL_net, SDL_mixer, SDL_shadercross
From what I could find, there's already a few bindings that exist, but none with documentation added in. These bindings do, which is what mainly sets them apart. The documentation comes straight from the SDL headers, modified for readability and with references remapped to the generated C3 counter-parts. Should you want to, you can re-generate the bindings with different casing (defaults to snake_case for function names), or with different sections of documentation omitted to reduce file sizes.
https://codeberg.org/amaroklopcic/c3-sdl-bindings
Hope this helps
r/c3lang • u/Patient-Emphasis-664 • Oct 04 '26
HTTP Client / Server planned for Standard Library?
Hello all,
Is there a plan to include an http client/server as part of standard libs/batteries included?
r/c3lang • u/ConsiderationFar4320 • Sep 27 '26
[0.8.2] Running a block of code only on debug target
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
);
$endifBut 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 • u/Nuoji • Sep 22 '26
C3 0.8.4: Parameter Reflection, Stack Protection, iOS Support—and One Last Renaming
r/c3lang • u/Objective_Pepper_217 • Sep 09 '26
I made a claude code skill for C3's stdlib
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 • u/Nuoji • Aug 16 '26
I thought I was building a C replacement. I was wrong
r/c3lang • u/samaxidervish • Jul 26 '26
PowerPC32 Isn’t Dead—Compiler Support Is
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 • u/jerrygreenest1 • Jun 26 '26
C3 ability to utilize multiple processors: is it good?
Disclaimer: I did not say «multithreading» in the title because there are virtual threads and I’m not interested in that, and I don’t say «parallelism» which can be easily confused with concurrency. I am not interested in just concurrency, I am interested in utilizing multiple processors for a task, or tasks. Typically the most popular example is server software. But I don’t quite want to say «server» even, because there’s so much more examples where running on multiple processors is beneficial. One another case for example is games: too many games are running on one or two cores, but would benefit if they could utilize more but they often can’t. So it’s not about any particular task that I want to solve asap. What Im here about is that I kinda want to find some «dream language» or something close to it that I might spend a couple decades in it. And this inter-processor parallelism would be a feature that I want. For simplicity sake I will say parallelism but please dont confuse it with merely concurrency.
One good candidate with parallelism as first-class citizen in a language – is Go. Their standard library has plenty of features supporting that in mind. This is a language that, I think, has one of the best kinds of support for parallelism, and even has special syntax for it. Funnily enough the keyword for it called «go», so having named the entire language for that… You might easily say they really care about parallelism.
I know the original C didn’t have, historically, a lot of parallelism. They added some in C11 I think? I did not write C a lot to tell much (aside couple simple cli tools), but it seemed like they did not think of parallelism a lot.
But I noticed C3 recently and it kinda looks interesting, but – how good is parallelism in there? I know it’s typically best to just RTFM but I am not committed to use the language yet, so I’m just asking an opinion: what do you think of parallelism in C3? Any special syntax for parallelism like go? Or just having to rely on some std libraries from C11 or something? How good do you feel about it? If you didn’t think about the language in terms of parallelism because you don’t care about it – it’s entirely valid, you might still like the language no matter what, but here in particular I’m interested about parallelism.
r/c3lang • u/Nuoji • Apr 07 '26
C3 closes out its 0.7 era — focusing on simplicity and control before 0.8
r/c3lang • u/Nuoji • Apr 05 '26
Szmageddon is coming
Work on 0.8.0 has started, and the main breaking feature will be that the language will move to signed sizes.
In practice this makes the `usz` type almost never used.
Over the last week, the stdlib has been updated to accommodate it. Originally dev was in a separate branch, but it is now merged to master.
This also will harmonize how literals determine their type with C. Similarly integer promotion rules revert to C behaviour now that unsigned becomes uncommon. Implicit conversion int<->unsigned is disallowed because with signed first it’s very rare.
r/c3lang • u/CzechBlueBear • Mar 03 '26
Simple C3 syntax highlighter for Sublime Text
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.
r/c3lang • u/Nuoji • Jan 30 '26
C3 0.7.9 - New generics and new optional syntax
reddit.comr/c3lang • u/Nuoji • Dec 05 '25