Thread: What language?
View Single Post
Old 04-27-2007, 10:15 AM   #9
Kylotan
Member
 
Join Date: Jun 2003
Location: Nottingham, UK
Home MUD: Abattoir (Smaug)
Home MUD: ex-Jellybean (Smaug)
Home MUD: ex-Dark Chambers (Merc)
Posts: 174
Kylotan is on a distinguished road
Send a message via ICQ to Kylotan Send a message via AIM to Kylotan Send a message via MSN to Kylotan Send a message via Yahoo to Kylotan
Yet the difference in performance is unlikely to manifest itself unless you're doing something spectacularly different. The main benefit of Python is that it does a lot of the hard tasks for you, and it does that by providing libraries for them, which are implemented in C anyway.

It's also hard to see which operations would need to be in C instead of in Python in a dual approach. Well over 95% of mud code I've seen is essentially text handling or networking. Python handles both of those as quickly as all but the best C code. Anybody asking which language they should use will not be emitting such code. (No disrespect to the original poster.)

I think worrying about performance for a new text and networking game to the extent of changing the language you use is very premature optimisation.
Kylotan is offline   Reply With Quote