Live data from Hacker News

I write games in C (yes, C) (2016)

jonathanwhiting.com

81–90 of 288 posts

Re: I write games in C (yes, C) (2016)

#82
As a hardcore C programmer and zealot myself... How in the hell can you be productive like that? C is a systems programming language, not an application programming language, let alone relevant to the levels of abstraction you'd want in game development.

That said, "I am dead" is a very real video game indeed... and his arguments are very sound. I also can't stand C++. I disagree with him on Java though. The core language of Java is actually super simple, like C.

Re: I write games in C (yes, C) (2016)

#83
post #34

Earlier quoted context omitted.

The language is called Go, golang is the website domain.

The use of "golang" for posts and comments is desirable IMHO because it greatly facilitates search, especially on sites such as HN that cover many languages.

I suggest admins to rename the post title as " I write games in Clang (yes Clang)", given how hard it is to find C content.

It might end up finding stuff about a compiler though.

Re: I write games in C (yes, C) (2016)

#84

As a hardcore C programmer and zealot myself... How in the hell can you be productive like that? C is a systems programming language, not an application programming language, let alone relevant to the levels of abstraction you'd want in game development. That said, "I am dead" is a very real video game indeed... and his arguments are very sound. I also can't stand C++. I disagree with him on Java though. The core lan…

Were not most games back in the day in C?

Re: I write games in C (yes, C) (2016)

#85
post #27

People did do that, 30 years ago. Then Watcom C/C++ made it quite easy to use C++ for game development on PCs, PlayStation 2 introduced support for C++, quickly followed up by XBox and Nintendo, and that was it.

Wrong. I’m still doing it.

Linux kernel also keeps using C.

Re: I write games in C (yes, C) (2016)

#86
post #41
post #20

I write mostly like I would in C, but use C++ features as needed. It ends up looking similar to Rust if you squint. All these "I write games in C" people complain about C++ features, and then end up reimplementing virtual interfaces manually with struct headers or massive switch statements, just to feel better about themselves. Writing games in C is not harder, you just have to implement modern language features by h…

Yeah, you could argue that choosing C is just choosing a particular subset of C++. The main difference from choosing a different subset, e.g. “Google C++” (i.e. writing C++ according to the Google style guide), is that the compiler enforces that you stick to the subset.

C is not a subset of C++, there are some subtle things you can do in C that are not valid C++

Re: I write games in C (yes, C) (2016)

#87
post #54

Earlier quoted context omitted.

I know, but I often use Golang for two reasons: 1. avoids confusion, no matter how unlikely it is in a context like HN, and 2. search engine "findability".

> 1. avoids confusion, no matter how unlikely it is in a context like HN Who would be confused by "Go", but not "Rust" and "Zig", which are also common English words not usually associated with programming languages? > 2. search engine "findability". What kind of search engine are you using in 2026 that isn't capable of understanding context? And where one is still using some weird antique thing like a steampunk char…

At least with regards your second point, Google, DuckDuckGo, all other search engines. I always have to add "golang" because otherwise it just fucks up. I have to say that googling for "C", is a lot more dire, and because the LLVM people called their frontend "clang" I can't even use that, otherwise only clang stuff pops up. And even then, once I did manage to convince the search engine that I'm looking for the programming language, it still decides to just give me results for C++. It sucks.

Re: I write games in C (yes, C) (2016)

#88

As a hardcore C programmer and zealot myself... How in the hell can you be productive like that? C is a systems programming language, not an application programming language, let alone relevant to the levels of abstraction you'd want in game development. That said, "I am dead" is a very real video game indeed... and his arguments are very sound. I also can't stand C++. I disagree with him on Java though. The core lan…

Were not most games back in the day in C?

Quake and Doom sure come to mind

Re: I write games in C (yes, C) (2016)

#89

As a hardcore C programmer and zealot myself... How in the hell can you be productive like that? C is a systems programming language, not an application programming language, let alone relevant to the levels of abstraction you'd want in game development. That said, "I am dead" is a very real video game indeed... and his arguments are very sound. I also can't stand C++. I disagree with him on Java though. The core lan…

Were not most games back in the day in C?

Most games back in the day were written in assembly

Re: I write games in C (yes, C) (2016)

#90

As a hardcore C programmer and zealot myself... How in the hell can you be productive like that? C is a systems programming language, not an application programming language, let alone relevant to the levels of abstraction you'd want in game development. That said, "I am dead" is a very real video game indeed... and his arguments are very sound. I also can't stand C++. I disagree with him on Java though. The core lan…

Were not most games back in the day in C?

Back in what day? Quake II I would say is the best good looking thing written in pure C. id Tech 3 is partly C++. Everything after that era was pretty much C++. Even GoldSrc is partly C++. Source was pure C++.
Post reply on HN