Solved

Is making an RTS in Python a death wish?

Posted on 2014-03-05
5
301 Views
Last Modified: 2014-03-12
Hi
Some of you know I am attempting an RTS in Python. - Java before now.
I get the impression that Python is better for quick fits together of ideas, rather than heavy duty projects like a full RTS.
Whenever the interpreter hangs and it basically just says "Error." - memory an often add on. - I think - is this what I'll expect during heavy duty game errors? For a big project, this wont work.
I have been printf'ing inner working markers in certain functions, and sometimes, the printf's don't appear.
I should've been apprehensive about interpreted being better than compiled, for the same big deal.
What should I be thinking? I switched from Java to Python, because I wanted to try the latest language. Will I lose face if I'm not at the cutting edge - I do still take classes? Or could Python be better,  - or a curse. I know there are people who are for Python, no matter what.
Thanks
0
Comment
Question by:beavoid
  • 2
5 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 39919160
pypy has jit compiler, so python is not really interpreted 100%, nor it is new by any means.

Like any object-oriented language python has try/catch construct, so you can handle any error in control flow.

Python is some years older than java and PHP... And perl is some more older than python...
0
 
LVL 26

Accepted Solution

by:
dpearson earned 500 total points
ID: 39919337
Python is a fine language but these days it's largely used for scripting.

Java is generally the language of choice for large scale back-end systems.

If you're picking Python to be "cool" you are likely to be in for major pain.  IMO it's not a natural fit for doing an RTS backend.  I'd choose Java any day.  You can make it work with Python (or really any other language) but some are better suited to this sort of task than others.

So the simple answer to the title of this topic is probably "yes".

Doug
0
 
LVL 61

Expert Comment

by:gheist
ID: 39919349
0
 

Author Comment

by:beavoid
ID: 39919565
Thanks. spring rts isn't related to coding.

I think I'm going to have to retry getting this working again in Java w TCP aspects.
I'm not concerned this time. I know I can do it. I've been on this topic, in Python also, for a while, and have picked up enough to get my mind in line. - Hope the experts don't get annoyed with me. I have a more cunning way to do it. - using UDP with TCP reinforcements.
Thanks
See you soon!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now