r/cprogramming • • Oct 21 '25

I built a real-time JIT engine in pure C (60 live demos, instant execution)

Thumbnail
youtu.be
75 Upvotes

I’ve been working on a live JIT engine that compiles and runs C code instantly, no build step, no waiting.

It feels like interpreted code, but runs with native performance.

Each .jc (JIT C) file is compiled and executed in real time.


r/cprogramming • • Oct 21 '25

CConsole - an interactive shell for C testing

Thumbnail reddit.com
3 Upvotes

r/cprogramming • • Oct 22 '25

how know len the arrays in c i want more than one

0 Upvotes

r/cprogramming • • Oct 19 '25

No C application project option in NetBeans 27

1 Upvotes

I installed Apache NetBeans 27 for school assignments and homework in C language.
My teachers wanted to eat me alive after I mentioned Visual Studio, and I was told to never use any other software because Apache NetBeans is the default in the college labs.

When I downloaded it and went to make a new "C application" project i never saw the option.

I searched every website and every YT video available and never found a solution...
I have a very important assignment

please help me


r/cprogramming • • Oct 17 '25

Found the goon label

110 Upvotes

I was digging around the V2 Unix source code to see what ancient C looks like, and found this:

	/* ? */
	case 90:
		if (*p2!=8)
			error("Illegal conditional");
		goto goon;

The almighty goon label on line 32 in V2/c/nc0/c01.c. All jokes aside, this old C code is very interesting to look at. It’s the only C I have seen use the auto keyword. It’s also neat to see how variables are implicitly integers if no other type keyword is used to declare it.


r/cprogramming • • Oct 18 '25

Book

0 Upvotes

So hello I have been learning c and made an basic shell,but now I am confused about what projects to make that could help me grow , (i have also been learning computer architecture) and also I am confused about what I want to choose after c (ml,hardware)


r/cprogramming • • Oct 17 '25

Performance: return pointer vs mutate pointer argument

2 Upvotes

Is there a performance difference between

ARBITRARY_TYPE *b()
{
 return malloc(sizeof(ARBITRARY_TYPE));
}
int main(int argc, char **argv)
{
 ARBITRARY_TYPE *ptr = b();
 ARBITRARY_FUNCTION(ptr);
 return 0;
}

and

void b(ARBITRARY_TYPE **ptrptr)
{
 *ptrptr = malloc(sizeof(ARBITRARY_TYPE));
}
int main(int argc, char **argv)
{
 ARBITRARY_TYPE *ptr;
 b(&ptr);
 ARBITRARY_FUNCTION(ptr);
 return 0;
}

r/cprogramming • • Oct 16 '25

Want to learn c

0 Upvotes

As the title says, I want to learn c cuz I would love to explore, learn, get into low level system/embedded systems Edit:- forgot to write the main point, please recommend me some good resources 😭🙏