The impracticality of c & projects - Programming On Unix

Users browsing this thread: 5 Guest(s)
ninjacharlie
Members
Along with what everyone else has said about the unsafe aspects of C, I wanted to throw in my two cents.

First, the Xorg API is a mess. It's not fun to write and is poorly documented. I wouldn't recommend jumping right into that immediately.

Secondly, here's a list of a few interesting C projects I've come across while surfing GitHub daily for ~a year.

1) DOOM (https://github.com/id-Software/DOOM), the classic first person shooter. It's code is great and is completely written in C. It make take a little work to get it running, but just looking through the code is worthwhile.
2) Vis (https://github.com/martanne/vis) a vim clone. Associated with the suckless.org projects :)
3) Any suckless.org project
4) C4 (https://github.com/rswier/c4) a C compiler in 4 functions. It's a little dense, but it's a fascinating project.
5) Corange (https://github.com/orangeduck/Corange), a 3D game engine in C. Most 3D game engines are written in C++, and this is one of the few exceptions I've found. Check out SDL, if you want to write graphics stuff in 2D.

Bonus: Build Your Own Lisp (http://www.buildyourownlisp.com/), learn to write a simple Lisp compiler in C. Teaches some basic C concepts too, if you need a little extra practice with the foundational concepts.


Messages In This Thread
RE: The impracticality of c & projects - by cjm - 23-08-2015, 10:42 PM
RE: The impracticality of c & projects - by z3bra - 24-08-2015, 07:38 AM
RE: The impracticality of c & projects - by venam - 24-08-2015, 08:54 AM
RE: The impracticality of c & projects - by movq - 24-08-2015, 01:37 PM
RE: The impracticality of c & projects - by z3bra - 24-08-2015, 02:32 PM
RE: The impracticality of c & projects - by apk - 24-08-2015, 07:02 PM
RE: The impracticality of c & projects - by srp - 01-09-2015, 02:02 PM
RE: The impracticality of c & projects - by srp - 02-09-2015, 10:23 AM
RE: The impracticality of c & projects - by z3bra - 02-09-2015, 12:13 PM
RE: The impracticality of c & projects - by ninjacharlie - 10-09-2015, 04:27 PM
RE: The impracticality of c & projects - by apk - 10-09-2015, 05:18 PM
RE: The impracticality of c & projects - by srp - 10-09-2015, 08:10 PM
RE: The impracticality of c & projects - by apk - 11-09-2015, 01:06 AM
RE: The impracticality of c & projects - by dtnt - 11-09-2015, 06:20 AM
RE: The impracticality of c & projects - by z3bra - 21-09-2015, 09:03 AM
RE: The impracticality of c & projects - by cjm - 21-09-2015, 09:09 PM