Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Is making an RTS in Python a death wish?

Posted on 2014-03-05
5
306 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 62

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 27

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 62

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Python algorithm 20 157
How To Loop - Python 19 95
windows 10 bash shell 4 48
Facial recognition to look through the whole database for a person 3 83
Plenty of writing has gone on the web trying to compare Python with other competitive programming languages and vice versa. However, not much has been put into a wholistic perspective. This article should help you decide whether to adopt Python as a…
"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
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 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…

856 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