Jump to content
  • Advertisement
Sign in to follow this  
Dolf

assembly language in game programming

This topic is 3632 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Does the assembly language have any place in game development ? Would it be a good idea for me to start picking it up ?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Dolf
Hi,

Does the assembly language have any place in game development ?
Would it be a good idea for me to start picking it up ?


I think you mean game programming with assembly.

Share this post


Link to post
Share on other sites
I've never made a professional game. It'd guess you shouldn't use assembly. You can only be an expert on so many things -- can't hope to be a professional artist and game programmer. Even in game programming, there are specialties. Therefore, assembly will probably spread you too thin.

Share this post


Link to post
Share on other sites
No, almost no one uses it. It's not a marketable skill.

But, any knowledge is good. If you learn assembly, you'll probably have a better idea of what your C compiler is doing, and you'll write better C.

Share this post


Link to post
Share on other sites
Quote:
Original post by Dolf
Hi,

Does the assembly language have any place in game development ?
Would it be a good idea for me to start picking it up ?
Is the question actually 'does assembly language have any place in game development?', or is it really 'would learning assembly language be a good use of my time at this point?'.

The second question is probably the more interesting one, but to answer that we need to know more about your background and your goals. What kinds of games do you want to write? What platforms do you want to target? And what is your programming background?

Share this post


Link to post
Share on other sites

Quote:

Original post by losethos
Do you program for fun. Assembly is fun.


That is kind of cool ^^

Quote:

Original post by Dolf
Hi,

Does the assembly language have any place in game development ?
Would it be a good idea for me to start picking it up ?


Well I'm no expert at all but the more you know the better it seems to be in game development however is Assembly (talking about x86 assembly here) used in game development ? Probably but not widely from what I know. It might be used only for high optimisation.

Losethos is right here just do it ^^

Share this post


Link to post
Share on other sites
Ofcourse I'm going to do it for fun, but would it be practical in game programming (read: optimisation)?

Edit: I know assembly is faster than C++, but are there actually engines that are partionally optimised in assembly? Is it practical?

Share this post


Link to post
Share on other sites
Quote:
...but would it be practical in game programming (read: optimisation)?
The answer is probably 'no'.

However, you should really answer the questions I posed earlier (target platforms and programming experience in particular). That will make it easier for us to provide a useful answer.

Share this post


Link to post
Share on other sites
This is kinda sad, but I think aspiring to game programming professionally might be like getting into professional sports. Ask yourself... am I that good? Otherwise, your dreams might not pan-out.

Every programmer wants to do games and very few do.

I wrote an operating system for amateur games. (All people without professional artists in their team are amateur.) It has crappy resolution, but you weren't hoping to twiddle pixels all day anyway.

You can use programming skills for other stuff, so no harm, but being a game programmer is pretty ambitious.

You might check-out LoseThos, my operating system. You can learn a lot--assembly if you wish-- but it not all that directly relevant to standard graphics libraries. Might find you like operating system programming. I like operating system stuff more than games, believe it or not. I used to like games... doesn't thrill me anymore.

LoseThos

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!