Vadimuses

by Unknown

Back to Mechanic's Corner.

Forren2007-07-02 12:16:45
QUOTE(Ur @ Jul 2 2007, 12:24 AM) 422151
Nexus is so laggy because of the autosaver, there working on it


That's a very small part of it.
Theomar2007-07-02 17:29:16
Nexus is a Java app, correct?

If so, well then that's your problem.
Unknown2007-07-02 20:20:11
Let the programming language wars commence. wink.gif

Java is not that bad. It is faster then most scripting languages, which includes Lua. It will not be as fast as a native "C" program, but that is probably not the problem.
Theomar2007-07-02 21:33:50
I was just kidding.
Unknown2007-07-03 01:23:09
QUOTE(Kodath @ Jul 2 2007, 04:20 PM) 422314
Let the programming language wars commence. wink.gif

Java is not that bad. It is faster then most scripting languages, which includes Lua. It will not be as fast as a native "C" program, but that is probably not the problem.



I'm curious to know where your foundation for this conjecture lies. In my personal experiences, Java is very slow and Lua is very speedy. It's like comparing elephants and apples, though. Java is a byte-compiled language running through a virtual machine, and Lua is a C library integrated with other applications (usually C themselves) executing interpreted script code.
Murphy2007-07-03 01:45:29
Definitley agree with zarguan here. Java runs ona virtual machine which is 1 level higher in the 'stack' so to speak. Java's pro's come from the ability to be run on pretty much anything, but it's slow because of the extra layer the code goes through.

In layman's terms, java is shite, LRN2C
Forren2007-07-03 02:09:59
What Zarquan said.

Java applets are going to be extremely slow when viewed next to programs compiled to machine code.
Vadi2007-07-03 03:04:35
Hi all,

Just to clear a few things up. I only decided to make the system because quite a few people have been asking me to, not as if I don't have enough things to do already!

Nexus is not slow, because my full Achaean system worked on my 300mgz (it was an ancient laptop) just fine. The only slow part about it is that it's auto-save, which I'm working on getting changed (I'll take some credit for getting Nexus XML also!).

It'll take me some time to get up and about in Lusternia, but if anyone is interested in the details, my email is vadimuses@gmail.com. Feel free to drop a line.
Unknown2007-07-03 09:07:46
Sorry about hijacking the thread for a bit, but I cannot help myself wink.gif

For lots of text about java performance see: http://en.wikipedia.org/wiki/Java_performance . The arguments about the speed are from the page benchmark shootout , which is a nice page to check speed of different languages.
(Note that Java only compares in favor with respect to the actual speed of the computation. The memory usage and startup speed are pretty bad.)

But well, like Zarquan says: It is a bit like comparing apples and elephants. When you use Lua combined with "C" for the expensive calculations, it would give a complete other result.
On the other hand, I'm not sure about applets. There might be some additional cost to using such, since the browser might impose additional security, and needing to download the client in addition to startup time will make it seem slow... *shrug*
silimaur2007-07-05 21:31:38
i cant wait to see if this amazing nexus system to be works in choke X)
Unknown2007-07-05 21:44:32
QUOTE(silimaur @ Jul 5 2007, 04:31 PM) 423120
i cant wait to see if this amazing nexus system to be works in choke X)


It would be interesting to try.

I have to agree with what others have said here. It is possible to make a system for Nexus, but it doesn't seem worthwhile. There might be a market of low-level combatants who would buy it, but for the most part anyone who is willing to spend credits for a system could just as easily get MUSHClient or zMUD. I expect that scripts would run much more quickly for either of those two clients than if they were integrated in Nexus, and they would be simpler/more manageable. I don't mean any criticism toward the people working on it, but I wouldn't hold your breath for a huge market.

Also, while it might have worked well in Achaea, combat here seems much more complicated. You have to track and deal with things like deepwounds, which cause a problem in and of themselves. I still think it could be done, but be prepared for a pretty good bit of work!
Shiri2007-07-06 01:08:57
I don't think you -can- properly track deepwounds - you can't even really trigger warriors without firing off everyone else's severed arteries. Nexus is just too slow to update the one trigger you'd have to use to validate the second one before the second one has already fired.
Forren2007-07-06 01:12:55
QUOTE(Shiri @ Jul 5 2007, 09:08 PM) 423212
you can't even really trigger warriors without firing off everyone else's severed arteries


Can in Cmud.
Shiri2007-07-06 02:43:24
OBVIOUSLY I'm talking about Nexus. *peer*
Murphy2007-07-06 09:48:13
Shiri you're so pedantic, Thorgal even tried to make you a zmud interface that looked very similair to nexus and it didn't fly! Good luck with it though, SWITCH TO CMUD/ZMUD.
Shiri2007-07-06 10:07:40
Because it didn't work, is why dry.gif
silimaur2007-07-06 11:57:40
someone make my Cmud work sad.gif it always crashes whenever i do anything sad.gif
Forren2007-07-06 12:01:57
QUOTE(silimaur @ Jul 6 2007, 07:57 AM) 423357
someone make my Cmud work sad.gif it always crashes whenever i do anything sad.gif


What version, and what are you doing with it?
silimaur2007-07-06 12:04:43
well if i even code simple triggers and just save it it dies..and its fully updated not sure what version that is..
silimaur2007-07-06 12:08:38
oh its version 1.34