Solved

Is making an RTS in Python a death wish?

Posted on 2014-03-05
5
298 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:beavoid
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Dictionaries contain key:value pairs. Which means a collection of tuples with an attribute name and an assigned value to it. The semicolon present in between each key and values and attribute with values are delimited with a comma.  In python we can…
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 strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

772 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

10 Experts available now in Live!

Get 1:1 Help Now