element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products and Partners
    Products and Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Favorite Game Programming Language
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 10 replies
  • Answers 2 answers
  • Subscribers 33 subscribers
  • Views 1210 views
  • Users 0 members are here
Related

Favorite Game Programming Language

jds123
jds123 over 13 years ago

I am ordering a Raspberry Pi, and I was wondering which language is best for programming games, because I want to program and cannot decide which programming language to use. I am thinking either Python or C++ but I cannot choose. Ideas?

  • Sign in to reply
  • Cancel

Top Replies

  • oneleggedredcow
    oneleggedredcow over 13 years ago in reply to jds123 +1
    Awesome, in my opinion, OpenGL will be the hardest part. As a shameless plug, I'm writing a C++ tutorial .
Parents
  • oneleggedredcow
    0 oneleggedredcow over 13 years ago

    Python is a great choice for starting out.

     

    Depending on what your goals are, you might want to check out Scratch.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jds123
    0 jds123 over 13 years ago in reply to oneleggedredcow

    I was thinking more along the lines of Minecraft or Legend of Zelda type games (the origionals). I have heard python is very easy to program in and I was wondering if the speed of C++ execution is worth the extra time in development. I can learn new languages quite well as I taught myself OpenGL and half taught myself JAVA.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • oneleggedredcow
    0 oneleggedredcow over 13 years ago in reply to jds123

    Awesome, in my opinion, OpenGL will be the hardest part.

     

    As a shameless plug, I'm writing a C++ tutorial.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jds123
    0 jds123 over 13 years ago in reply to oneleggedredcow

    C++ seems like a great language, but is it really as fast as people claim? (I am not going to use JAVA because I strongly dislike the garbage collection)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • oneleggedredcow
    0 oneleggedredcow over 13 years ago in reply to jds123

    Because c++ is compiled to byte code and python is an intpreted language, c++ will be faster for a comparable program.  Sometimes the difference can be dramatic, other times it isn't that big of a deal.

     

    When it comes to performance, it is usually more about how you implement something rather than the language that you write it in.  Usually, the best way to go about things is to get a working prototype and then worry about making it faster/better.  So, I would concentrate on getting something that works how you want it to, and then find ways to improve it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • QuantumAberrant
    0 QuantumAberrant over 13 years ago in reply to oneleggedredcow

    "concentrate on getting something that works how you want it to"

    That really is the most important thing. I must though correct you on you terminology.

     

    C++, on most platforms, is a compiled language that turns source code into machine code not byte code.  Java is compiled to byte code for example. Machine code is specific to a single processor architecture (x86, ARM etc.), byte code is normally an abstract representation of machine code that could be executed on any cpu with the right runtime system. That said CPython, which is what is on the Pi, uses a "byte code virtual machine" meaning that it really is not an interpreted language in the traditional sense.

     

    I am not going to use JAVA because I strongly dislike the garbage collection

     

     

    Well jds123 then you won't like Python either as it also has a garbage collector. What are you writing that is so mission critical that you need to bother worrying about memory allocation manually?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • QuantumAberrant
    0 QuantumAberrant over 13 years ago in reply to oneleggedredcow

    "concentrate on getting something that works how you want it to"

    That really is the most important thing. I must though correct you on you terminology.

     

    C++, on most platforms, is a compiled language that turns source code into machine code not byte code.  Java is compiled to byte code for example. Machine code is specific to a single processor architecture (x86, ARM etc.), byte code is normally an abstract representation of machine code that could be executed on any cpu with the right runtime system. That said CPython, which is what is on the Pi, uses a "byte code virtual machine" meaning that it really is not an interpreted language in the traditional sense.

     

    I am not going to use JAVA because I strongly dislike the garbage collection

     

     

    Well jds123 then you won't like Python either as it also has a garbage collector. What are you writing that is so mission critical that you need to bother worrying about memory allocation manually?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • jds123
    0 jds123 over 13 years ago in reply to QuantumAberrant

    Well in JAVA it removes unused variables quite inefficiently which causes lag. Also I think it would be good to learn how to deal with manual garbage collection, because it will allow me to make my programs more efficient for slower devices so it can run efficiently on slower devices such as the RasPI

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube