Answer the question
In order to leave comments, you need to log in
C, python or go for a specific task?
I like one library in C, for working with graphics. I don't know C well, it's easier for me, but I can't call python bad either. In python, I do not like it rather, its bloat. I want to start making games and plan to make my own stack. Which I like for my games.
The problem is that its first base game is harder than snake. I can write in three languages. For go and python, I'll just make bindings. Yes, I will code in C without allocating memory. It will take more time and many other nuances.
I like Go, but he has some quirks. A big problem for Go, or rather CGO for me. Compiles simple things in 5-9 seconds. When you need to check something or while writing a binding, you feel how time flies into the void. It is worth checking all the same different situations, implementations, and so on. Also, since the game is a little more than a snake, I am writing for the first time. Often you have to change things.
Python does not like the fact that it is scripted, you will have to drag more files with you. In general, this can be a plus, I still want to make the first game with open source. And I don't like its compiler for Windows. You need to generate Windows DLLs, not through MinGW. Which is problematic for me.
The first game will be easy. It does not need threads and other complexities. In the future, it seems that the python will have to be abandoned. Another thing is that C compiles quickly. Go is very slow (for me in context, replace one character or line). Python can be a working prototype.
To be honest, it's a mess in my head.
Python prototype?
Hardcode in C?
Trying to immediately do the result on th?
Answer the question
In order to leave comments, you need to log in
If you think that C compiles faster, then you are deeply mistaken, as soon as you have a dozen headers, you will feel that you have a lot of free time.
Recompile the program after each character, this is a dead end, if you are going to often change some parameter, then read it from the file.
Most game engines use scripting languages to describe the scenes in the game, so it's not a problem to make the core in C and the wrappers in python. But then it makes sense to watch some more adult options.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question