Page 1 of 1
Mud coding language
Posted: Mon Jan 16, 2017 5:27 pm
by Paridora
So I asked a little around the mud to get Ideas, and I think I am going to go with javascript.
But I didn't ask one question. What is the coding for this mud done in?
Re: Mud coding language
Posted: Mon Jan 16, 2017 5:30 pm
by Elokar
Black magic apparently.
Re: Mud coding language
Posted: Mon Jan 16, 2017 5:34 pm
by Paridora
Does that make Vivienne a Black Magic Woman?
Re: Mud coding language
Posted: Mon Jan 16, 2017 5:35 pm
by livendros
I thought it to be more of the area of voodoo.
But ive also heard its something like c++. Im basing that on a 10ish year old memory fragment.
Re: Mud coding language
Posted: Mon Jan 16, 2017 7:28 pm
by Astolfo
Original Code - CircleMUD
It's its own thing really after all the years people have tinkered with it.
24 years. It's a hell of a thing to still be around!
Re: Mud coding language
Posted: Mon Jan 16, 2017 7:54 pm
by Thuvia
Originally coded in C, switched over to C++ back in mid-2002.
http://wotmud.wikia.com/wiki/Update:MUD ... e_unstable
Re: Mud coding language
Posted: Tue Jan 17, 2017 6:09 pm
by Vivienne
Oh great, now I have "Black Magic Woman" playing in my head over and over and over... Thank goodness Santana is decent.
The original code base is C, then it went to C++, and somewhere in there Flash et al added in some mysterious alternate universe language that hasn't been seen since the Babylon nation was formed. Something like that.
Re: Mud coding language
Posted: Tue Jan 17, 2017 8:13 pm
by suern
Fun fact. That song was first written by Peter Green when he fronted Fleetwood Mac.
I don't know a thing about computers but I've got your back on useless music trivia.
Re: Mud coding language
Posted: Tue Jan 17, 2017 8:27 pm
by Sybrina
Paridora wrote:So I asked a little around the mud to get Ideas, and I think I am going to go with javascript.
But I didn't ask one question. What is the coding for this mud done in?
Mmmmmm, yum. Sounds like a juicy Node.js project. If my memory is correct, the original CircleMUD used a single worker thread that ran a non-blocking select poll loop on the sockets opened for each client. All of the game logic was executed by this single thread (including state save/restore) which is why this mud may sometimes not respond while its doing something else in that thread causing what we know as "lag". Old fashion-y C stuff that is coming back as teams try to come up with solutions to C10k. I've dabbled in Node, and I know high-performance servers can be written using it. I am not sure how cross-client/socket communication works since state must be shared with low latency between clients. Interested to see what your solution will be.
Re: Mud coding language
Posted: Mon Jan 23, 2017 8:10 am
by Rico
There's already a MUD engine designed in Node.js.
http://www.ranviermud.com/