|
|||||||
This is a discussion on "Battle of Langauges" in the Top Mud Sites MUD Coding forum : I was just considering the development of muds and was woundering..... What is the single most power langauge to create a mud? What is the easyest? Is custom code essentail in good design for a mud? Finaly, do you think that it in the end really matter now days with high speed connection and processors what language you use as far as creating a mud goes could they all viturally get the job done with the same power and proficiency? As of right now I want to code a mud in java, but like i said i didn't know ... |
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today! If you have any problems with the registration process or your account login, please contact us. If you are a registered member of the old TMS forums, please click here
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
New Member
Join Date: Apr 2005
Location: Colorado
Posts: 5
![]() |
I was just considering the development of muds and was woundering.....
What is the single most power langauge to create a mud? What is the easyest? Is custom code essentail in good design for a mud? Finaly, do you think that it in the end really matter now days with high speed connection and processors what language you use as far as creating a mud goes could they all viturally get the job done with the same power and proficiency? As of right now I want to code a mud in java, but like i said i didn't know so I might wait and buy a c+ book and see if i can get something started there. |
|
|
|
|
|
#2 |
|
New Member
Join Date: Dec 2004
Posts: 25
![]() |
Well, the only language I know is Java, but, of course, all the Java books I've read say its the best programming language.
a) Platform independency: Every operating system requires a different java compiler and java virtual machine, but both source code and compiled code will compile/run the same way on any machine (well, provided that the machine has a correspondingly up-to-date version of Java). b) And (as you probably know) Java is object-oriented. The creators of Java took some of the good features of C and C++ and included those, and discarded others. One difference I know is that Java uses interfaces (with the implements keyword) in place of C++'s "confusing multiple inheritance feature" (I'm quoting from the Java Language Specification, as I myself have never used C++). Although Java does not include any "new and untested features" its theoretically a generally well-thought-out-language. c) And Java uses Unicode, unlike C and C++, which use ASCII. Unicode is 16-bit, whereas ASCII is 8-bit. Unicode is pretty awesome because it has something like 65,536 different characters, including the alphabets for tons of languages, which enables non-English speaking people to write code in their native languages. The only bad thing I know about Java is I've heard (somewhere on these forums) that Java-based engines take up a lot of RAM. I don't really know anything more about it though, but maybe someone else could say. Well, I apologize if I said anything that is not true. I think this will turn out to be an interesting thread. -Jaregarde Edit: Ah! Rembered another thing, of course, applets! Applets are awesome for MUD clients because of Java's platform independency, so they can be run on any operating system. |
|
|
|
|
|
#3 |
|
Member
|
If you looking at a java codebase that already stable and available, take a look at CoffeeMUD. CoffeeMUD is nice if your looking for an 'out-of-the-box ready to go' experience with a web-based game editor.
If you looking for a good project to get you started in using Java, I would recommend the JavaMUD project based through SourceForge.net. JavaMUD project is more inline for those using Java in a more OOB setting, allowing for a load/unload code environment to be utilized (like that of LPMuds). CoffeeMUD: http://coffeemud.zimmers.net JavaMUD: http://sf.net/projects/javamud -- M |
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Sep 2002
Location: Mill Valley, California
Posts: 2,116
![]() |
Quote:
--matt |
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Feb 2005
Posts: 7
![]() |
From someone who has been using Java since the first alpha, Java is truly write once run anywhere. Nothing else comes close. You must be mentioning Java 1.1 due to the embedded Java-in-the-browser issue. Browsers only embed Java 1.1 (due to licensing I believe), so if you write something to use Java 1.4 features, it won't run under browsers that support only Java 1.1. That's a version portability issue, not a platform portability issue. Anyway, if you're writing a MUD it won't matter, since Java only runs on the server anyway, and you get to choose your OS/Java version as you wish.
Thedia http://aelfengard.com |
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Sep 2002
Location: Mill Valley, California
Posts: 2,116
![]() |
Quote:
--matt |
|
|
|
|
|
|
#7 | |||
|
Senior Member
|
Quote:
Quote:
Quote:
I recommend against writing in C++ in this day and age. Other languages do so much more for you, and when it comes to application development this can increase your productivity significantly. |
|||
|
|
|
|
|
#8 |
|
Member
Join Date: Feb 2003
Posts: 36
![]() |
Discover the power of LISP
|
|
|
|
|
|
#9 |
|
New Member
Join Date: Nov 2003
Posts: 7
![]() |
Lisp weenie!
I've been trying out lisp for the last few days. It started off fun but it has gotten a bit frustrating getting some things to work lately due to the way its libraries work. I plan on releasing my telnet code as public domain once I've finished, so hopefully nobody will have to suffer as I did. Having said that, I fully expect it to be very useful after this initial hurdle and recommend giving it a look-over at least. It is very well suited to the domain of text MUDs. The original zork series was written in its own dialect of lisp and that had better sentence parsing than most MUDs today. |
|
|
|
|
|
#10 | |
|
New Member
Join Date: Feb 2005
Posts: 7
![]() |
Quote:
Thedia http://aelfengard.com green@couchpotato.net |
|
|
|
|
|
|
#11 |
|
Member
Join Date: Apr 2002
Home MUD: DartMUD
Posts: 86
![]() |
Personally, I don't think it matters so much what language the server itself is written in, but how easy it is for your builders and creators to add unique areas to the mud and how easy it is to write intelligent mobs.
I far prefer an LP type MUD (LDMUD, MUDOS and variants). LPC is very flexible and things can be changed on the fly without recompiling the server. |
|
|
|
|
|
#12 | |
|
Moderator
Join Date: Sep 2002
Location: Mill Valley, California
Posts: 2,116
![]() |
Quote:
|
|
|
|
|
|
|
#13 |
|
New Member
Join Date: Mar 2005
Posts: 11
![]() |
This may seem out in left field, but I think the easiest language for writing games is mushcode. It was meant to be newbie friendly, as many that use it have no interest in programming, but it's extremely powerful as it's meant to allow building a game on top of a stable server. It excels at list handling, and a full range of math functions can be enabled. If you want to try coordinate movement, get PennMUSH with the HSpace patch.
MUSHes have supported such diverse gaming systems as LARP, Ars Magica, White Wolf's WoD, and D20. They've sported worlds ranging from the comfort of the Shire to the bleak deserts of Arrakis. And a lot of dirty cities. I suspect you could easily implement your ideas in mushcode and not have to deal with the internal aspects of the server, which could save you a lot of time. |
|
|
|
|
|
#14 | |||||
|
Member
Join Date: Jun 2003
Posts: 125
![]() |
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||
|
|
|
|
|
#15 | |||
|
Posts: n/a
|
Quote:
Mushcode: Quote:
Quote:
|
|||
|
|
|
#16 |
|
New Member
Join Date: Mar 2005
Posts: 11
![]() |
Tyche,
Do you really think some newbie is going to try to write a command that sorts and displays the members of two channels into 'this', 'that', and 'both'? I don't. In MUSHcode, your MOOcode would be: think tohex(#) Of the five commands you posted MUSHcode for, why not show us how readable the channel compare command would be in MOOcode? Keri PS: You're in good company, to be sure - Lydia prefers it 'pretty printed', and encourages "liberal whitespace"; Ralph Melton once said, "MUSHcode is already within inches of being sheer raving gibberish; anything you can do to put another inch between your code and the abyss of blind gibbering chaos that it yearns to become is highly worthwhile.". I just always figured they used too much C to be objective. |
|
|
|
|
|
#17 |
|
Posts: n/a
|
That there doesn't happen to be a builtin is not the point. It isn't on most mushes either. Mushcode has no syntactic coherency. There are dozens of semantic rules and exceptions to learn and gotchas. It's not newbie friendly language.
Rather "...abyss of blind gibbering chaos..." yes exactly :-P |
|
|
|
#18 |
|
New Member
Join Date: Mar 2005
Posts: 11
![]() |
> That there doesn't happen to be a builtin is not the point.
No, it's not. The point is the two examples you posted are not comparable. > There are dozens of semantic rules and exceptions to learn and gotchas. And these are what make it newbie friendly. It conforms to what the clueless expect. An example would be the @lock code, which performs different functions on different object types. Not consistent behavior, and abhorrent to those formally trained, but simple for the newbie who just wants to lock his door and not have others carry him off while he's idle. Basically, what you're saying is, "It's Greek to me!". Yet, the Greeks don't find Greek "unreadable". As I mentioned before, those with too much invested in formal languages, even those that write the C that makes mushcode work, tend to have difficulty with it, but those of us who are natives find it concise and powerful. Simply put, you are applying standards that don't apply, and the result is a very personal and Chauvinist judgement. Having said all that, however, the OP, being versed in Java, might well find MOOcode more attractive. |
|
|
|
|
|
#19 |
|
|