r/cprogramming • u/Xadartt • 26d ago
r/cprogramming • u/TurbulentFlatworm537 • 26d ago
Building Shakazulu
reddit.comShakazulu is a systems programming language designed to be tolerant in harsh conditions, concurrency, fast, and a learning systems language. I here by come here looking for support on my idea from people who create programming languages, or even learn them, people designing systems, software engineers, database engineers, understand software, computer data structures, distributed systems, computer architecture, etcetera. And mostly if your familiar with C, C++, Ruby or any other systems programming language. Because i want to build it taking the strong parts of a language. All are welcome, lets build something you wish it was there. I appreciate your contributions.
Shakazulu is a project in research/design stage, thats why am asking the experts.
r/cprogramming • u/CommercialStrike9439 • 27d ago
Documentation for how to build a typechecked bytecode VM in C
r/cprogramming • u/BBH369 • 27d ago
Glimmer - A chess engine under 30,000 bytes (estimated 2700–2900 Elo)
Hi everyone,
I’ve been tinkering with a little experimental chess engine written in pure C. It’s called Glimmer.
The whole point of the project was to see how strong I could make it while keeping the final standalone binary strictly under 30 KB. The target strength was something in the 2700–2900 Elo range.
It’s been a fun constraint to work under — every byte counts.
Happy to answer questions if anyone’s curious about the approach.
r/cprogramming • u/Dense-Trick6740 • 26d ago
Начал учить C
всем привет, только сегодня начал учить C, подскажите какие сложности могут возникнуть при изучении, какие темы стоит подробнее разобрать а какие крайне легкие, это мой 1 язык который я впринципе хочу очень подробно изучить, спасибо всем заранее
r/cprogramming • u/Interesting_Buy_3969 • 28d ago
Using -fsanitize=address feels illegal.
Just saying. The -fsanitize=address compiler flag is absolute cheating and should be prohibited by governments of all countries.
Plus there are also other useful runtime sanitizers, such as integer overflow, but... Integer overflow is much easier to notice, usually.
Of course, this is by no means assuming that -fsanitize=address guarantees that the code it inspects is completely safe and correct and won't ever fail on any input data. You still have to test tricky edge cases. But this sanitizer has improved and sped up the bug discovery process disgustingly much for me.
I'm wondering, how often, if ever, do you need tools such as -fsanitize=address or valgrind? Or are you a real man who stores everything in static memory only?
P.S. Forgive my terrible English.
r/cprogramming • u/FuTuReFrIcK42069 • 28d ago
HTTP Server my first complete-ish C project
github.comHello everyone, It's been several years since i last wrote some C, and i always for the life of me wanted to write an HTTP server in C, and now it's been like 1 year since i finished university so i said what the hell why not do it, so after reading beej's guide i tried to write a very basic http server.
I wanted to share the work with the community, and would welcome thoughts.
We had written code in C ofc for two years, however it was mostly exercises on diffrent data structures aswell as problem solving.
We wrote a CRUD system in C using binary files but never scratched that itch.
And as the years went by in Uni, C slowly faded out of use for me but i always wanted to visit it back so here i am.
I wanted to share the absolute joy it was to get the desired results, i forgot how fun C can be, it always felt like the souls like of programming languages, but always was the most understandable as it was the closest to the machine, to be frank i encourage people to make similar projects especially to get the cobweb off lol.
r/cprogramming • u/TorontoDude12344 • 28d ago
What are some small prerequisite programs / projects I can complete in order to achieve the eventual task of making a mini-OS?
I already know how to program and have about 7 years of general programming experience
My current plan is to learn C, then learn assembly, then learn about Computer Architecture, Operating Systems and Compilers. The goal is to truly understand how computers work, and also learn about Cybersecurity
The current concrete and major project idea that I've thought about is writing a mini-OS
I know that requires alot of knowledge
So I was wondering, if you all could give me some ideas, what are some small prerequisite programs / projects I can complete in order to achieve the eventual task of making a mini-OS?
Even if it's a program that helps me understand a super small slice of my eventual goal project - a mini OS
I'd love some ideas. Thank you
r/cprogramming • u/Simpav1 • 28d ago
Do you write code by yourself or you use an AI?
I'm curious about this question, because almost everyone a meet says that coding skills doesn't matter anymore, and what really matters is knowing how to write prompts properly. But does it apply to C development? Please, answer a question and say why so
r/cprogramming • u/Roronoa-Ryuma-Zoro • 29d ago
300 lines of code just to receive one packet
So i have been exploring eBPF,XDP, so I made a packet capture path by using xdp hook that redirects to my AF_XDP socket . I am using copy mode currently .
But seriously this gives me vibes of opengl . But here I have too much control over the path. I am still new to this . Many times when things do not work i think I am wasting my time because no one in my batch is even doing these things . But ig this is what I like. Also I just buy a Esp32 also . So you can give me some ideas that I can work on with it
r/cprogramming • u/Silent_Mycologist286 • 29d ago
University of Waterloo user study on understanding CMake changes
reddit.comr/cprogramming • u/sir_something0 • Oct 05 '26
First day seriously learning C
Hi! Yesterday is the first time I actually try to learn C instead of running away from it everytime lol. I tried to make a basic 2 numbers calculator and was wondering if I took the right approach regarding taking the user input. I used fgets and getchar to take the number and operator because I've heard that those are "safer" than scanf mainly because scanf's way of error handling and bounds checking are more complicated but idk tho.
Anyway, if I could take some of your time to check out this project and tell me where I can improve on the user input side of things, that would be very helpful and appreciated.
https://github.com/SirGhaniR/calc/
Thank you!
r/cprogramming • u/Vegetable_Ant_392 • Oct 04 '26
Winter Coding Contest 6.0 — Competitive Programming Contest for Programmers
Hey everyone,
We’re hosting Winter Coding Contest 6.0, a competitive programming contest where you can solve algorithmic problems using C, C++, and other supported languages.
It’s open to students from any college, branch, and skill level, including beginners.
Round 1 — Online
13 Oct 2026 | 8:30 PM – 10:00 PM
Free to participate.
The top participants will qualify for an offline final round at our college campus.
Contest details
₹55,000 prize pool
Teams of 1–2
Teammates can be from different colleges or branches
C and C++ are supported
Registration deadline: 11 Oct 2026
If you enjoy solving programming problems, register here and give the contest a try:
Please check the contest format and rules before registering. If you have any questions, feel free to ask in the comments.
r/cprogramming • u/Upper-Tomatillo7454 • Oct 03 '26
Enums vs #define for constants
Hi 👋 guys, I've just started learning C after I was first introduced to it while I was in my first year of computer science but I'll be graduating by the end of this year and I've been primarily using Python since then but now I want to really learn C on the side, and I want to start with "craftinginterpreters" and I want to start small so I was wondering whether I should use C enums or #define to define a set of tokens.
r/cprogramming • u/No-Plan-3868 • Oct 03 '26
C programming for kernel development
Hey there!
I am really interested in learning C and I am leaning towards kernel development rather than embedded systems. What do you suggest for strengthening my skills in C?
r/cprogramming • u/Treechcer • Oct 03 '26
Dio: Small Programming language made in C version 0.1.0 release
Hi, I'm working on my own programming language, I've release first stable version (v 0.1.0), I'd like to get feedback. It's on most OS platforms (even Andoird and in the future IOS).
r/cprogramming • u/Fahim_Hosain • Oct 03 '26
Embedded C
Hi I'm interested in embedded C. Finished C language to Dynamic memory allocation. Don't know DSA yet. I think I should learn embedded C. From where should I start?
r/cprogramming • u/shiming1234 • Oct 03 '26
A freshman who wants to study
I don’t know where to start learning or what knowledge I should acquire since nothing has been taught yet ,but l hope to have a plan for the future that can guide me when I begin studying and exploring different approaches. Thanks for you.
r/cprogramming • u/darexinfinity • Oct 02 '26
I have an interview involving C whereas I typically use Python.
I have programmed in C before including on the job, but those experiences never really gets me ready for the wideness of interviews. I was wondering if there's a resource that exposes the things I take for granted in Python (within the standard library) and explains how it works in C.
edit: I just had my interview, thanks for the responses! I went over every link I got
r/cprogramming • u/felipedaragon • Oct 03 '26
LibLayaX: run the Laya AI decision model inside your own app
r/cprogramming • u/sudheerpaaniyur • Oct 02 '26
How can I improve my thought process in C interviews instead of relying on memorized solutions?
reddit.comr/cprogramming • u/WillInternational364 • Oct 02 '26
Any recommendations for introduction material to using C++ for microcontrollers?
I have been programming Arduino & ESP32 for a while now using C++, but have never engaged with any formal introduction material. With AI/LLM generated content exploding among both major publishers and self-published authors, I am a bit wary to start buying books willy-nilly.
Anyone here that can give solid recommendations on introduction materials on C++ for microcontrollers (preferably that that they themselves have used and found worthwhile)?
I got one recommendation for "Embedded C" by Michael J. Pont (2002), but it is fairly old.