I was doing some researxh regarding development options. It seems unclear what sort of speed tradeoffs (if any) i will be looking at by going with C instead of assembly for a homebrew game. Is the difference significant?
Sarah
Speed tradeoffs
Moderator: Stef
Re: Speed tradeoffs
Hey! Somebody else is approaching to the mega station!
It really depends on how much you know about programming in both languages, and how much experience developing a game, but lets suppose you are very good at both, assembler should be something like twice as fast. It's crazy how much you can optimize in assembler doing bizarre things sometimes.
It really depends on how much you know about programming in both languages, and how much experience developing a game, but lets suppose you are very good at both, assembler should be something like twice as fast. It's crazy how much you can optimize in assembler doing bizarre things sometimes.
HELP. Spanish TVs are brain washing people to be hostile to me.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: Speed tradeoffs
Depending on the game, it may make no difference at all. In most games, you would determine which routines would be best done as assembly and only code those. Rare is the game where most of it needs to be done in assembly. These days, devs do something totally in assembly mainly because they like working in assembly, not because they have to. If you're comfortable in assembly, go ahead and do the whole thing that way. If you aren't, start with 100% C, then replace routines as necessary. Mixing C and assembly is easy, so don't worry about it.