this post was submitted on 06 Aug 2025
878 points (99.2% liked)

Programmer Humor

25671 readers
2427 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] NocturnalMorning@lemmy.world 56 points 6 days ago (2 children)

You couldn't pay me to write a game in C today. Our expectations of what games have to be are sky high today. You cant get away with the productivity lost writing in c, maybe c++ since its supported by a number of engines. But, im personally not aware of a single engine that uses C. I tried my hand at writing a game without an engine, and it was a hot mess. Writing low level code to make a button with text, no thanks...been there done that, in my game, you could bump into trees and get stuck...not very fun in my opinion, and thats after a few months of writing code.

[–] four@lemmy.zip 22 points 6 days ago (1 children)

Animal Well was written in C without an engine and it was a decent hit (for an indie). Although that's definitely an exception, perhaps very similar to the RollerCoaster Tycoon example

[–] Jumuta@sh.itjust.works 9 points 6 days ago

Wikipedia says cpp

[–] lessthanluigi@lemmy.sdf.org 0 points 3 days ago (1 children)

Well, as a curious person myself, what programming language would you use to write a game engine in, or at least a game in?

[–] NocturnalMorning@lemmy.world 4 points 3 days ago* (last edited 3 days ago)

I use Unreal Engine right now, but I've also used Godot and Unity in the past. I dont use Unity anymore, and probably won't ever bcz of some shenanigans they've pulled in the recent past. Also used pygame, and way back before I discovered game engines I tried using OpenGL and SDL directly. (Do not recommend going that route) They are way too low level for you to make any real progress, at least in a timely manner. They are what you'd want to use if you are trying to write your own game engine, but most people aren't trying to do that. Most people just want to make games.