Why C language?
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
Why C language?
It might sound like a silly question but why are new Quake engines/mods/... programmed in C language*? There are other programming languages, so why use this one?
* when QuakeC is not used, because it is not sufficient for a problem ...
* when QuakeC is not used, because it is not sufficient for a problem ...
Think, touch, movetype, solid, traceline ...
-

daemonicky - Posts: 185
- Joined: Wed Apr 13, 2011 1:34 pm
why not? :)
specifically, why translate it to another language, when its already written in a usable languge?
specifically, why translate it to another language, when its already written in a usable languge?
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Because C is the universal portable assembler. 
Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
Get off my lawn!
-

dreadlorde - Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
Most a matter of performance requirements (used to be more critical in the past) and available human resources in the market. The latter may actually force the studios to use other languages for future projects. But alas you can create a good and commercially successful game in practically any language. Minecraft is written in Java, for example. Soldat (another well known indie game) is made in Delphi (Object Pascal).
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
Spike wrote:why not?
specifically, why translate it to another language, when its already written in a usable languge?
For learning purposes, for example.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest