this post was submitted on 02 Jul 2023
13 points (100.0% liked)

C Programming Language

998 readers
1 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

🌐 https://en.cppreference.com/w/c

founded 1 year ago
MODERATORS
 

Hello fellow developers! I’m new to this community and I am interested in learning more about you all, I have a simple question what is your favorite personal project that you have developed in the C programming language? It doesn’t have to be something mind blowing or extremely complex just something that you’ve enjoyed developing.

you are viewing a single comment's thread
view the rest of the comments
[–] inline_caching 2 points 1 year ago (1 children)

I developed half-assed a NASM wrapper (or transpiler if u will) while ago, It basically just adds some high-level feature like simple condition statements directly against registers, for example:

if (rax == 12)

Then generates appropriate NASM code. Simple really. Most error checkings are done my NASM lol so I dont need to worry much about the prefixes or instruction-operand correctness. I took most of the grammar for the expression from here. I privatized the repo because it is crazy how dirty it is I am ashamed of myself. If anyone wanna do it again, I'm up tho. But i dont wanna use my old code, just code again from start.

[–] inline_caching 1 points 1 year ago

U might be thinking "lol that just C 2.0", no it was not, it is not that advanced lmao