4 posts
Posted 06 July 2012 - 01:49 PM
A big reason why Computer Craft isn't used in tekkit servers is becasue it is quite resource intensive and this because of two reasons:
- Bad programs
- Its lua
Because CC is written in Java and has to interpert Lua instructions there are preformance issues.
So why not make it use Java? Other than it will be harder for newbies to pick up.
Feel free to correct any mistakes I have made.
2447 posts
Posted 06 July 2012 - 02:02 PM
A big reason why Computer Craft isn't used in tekkit servers is becasue it is quite resource intensive and this because of two reasons:
Proof?
- Bad programs
- Its lua
Because CC is written in Java and has to interpert Lua instructions there are preformance issues.
Again, proof? And what do you mean about bad programs - bad programs built in? If so, what makes them bad?
So why not make it use Java? Other than it will be harder for newbies to pick up.
Feel free to correct any mistakes I have made.
What makes you think magically changing the language to Java would make much difference. Do you really think you can just send Java a string, and have it execute it? Java is a compiled language - as such it won't be as easy as just running native java code.
Lua is used in many places, in many games (commercial and otherwise) and in most cases you won't even know it is there. Lua is designed to be embedded and take up a small amount of resources.
You can't just claim Lua is resource intensive, and that it is more resource intensive than other mods without proof. In ComputerCraft, due to how it's coded, a majority of the time Lua is waiting on Java code to tell it to continue any given computer.
496 posts
Location
New Zealand
Posted 06 July 2012 - 02:21 PM
Lua is used in many places, in many games (commercial and otherwise) and in most cases you won't even know it is there. Lua is designed to be embedded and take up a small amount of resources.
Just a wee link for more info:
https://sites.google.com/site/marbux/home/where-lua-is-used
236 posts
Location
Germany
Posted 06 July 2012 - 03:06 PM
um 1st of all have u every try ed running a virtual java machine in a virtual java machine ? second u woud need to create a own interpreter or people just do System.exit(0) and laught at u while the server is terminating
EDIT: wow i just read this on the next morning … damn my grammar sucks when im tired
4 posts
Posted 07 July 2012 - 04:14 AM
496 posts
Location
New Zealand
Posted 07 July 2012 - 04:37 AM
You do realize that that thread is from FEBRUARY which is before LuaJ was updated and the infinite thread issue was fixed
2447 posts
Posted 07 July 2012 - 09:51 AM
So your "proof" is an old thread about a bug that was fixed even before the 1.2.5 release of Tekkit even dropped. Nice!
In the next version there will be even further efforts to ensure it works smoothly on servers.
Edit: I'm sorry if my attitude seems bad sometimes :-p I'm just fed up of people claiming this without proof.
4 posts
Posted 07 July 2012 - 10:59 AM
So your "proof" is an old thread about a bug that was fixed even before the 1.2.5 release of Tekkit even dropped. Nice!
In the next version there will be even further efforts to ensure it works smoothly on servers.
Edit: I'm sorry if my attitude seems bad sometimes :-p I'm just fed up of people claiming this without proof.
I'm not worried and I wasn't aware that there had been updates to adress these issues.
123 posts
Posted 07 July 2012 - 09:25 PM
LUA is not bad at all. It is pretty fast and stable, and designed specifically for games.The only reason it is not used more widely on Tekkit servers is due to some security threats it can introduce (which are caused mainly by the infinite access to the servers IRL hard disk).
686 posts
Posted 08 July 2012 - 02:49 AM
People will make mad programs no matter what language you use.
Why not use Java?
A) It's a compiled language.
:)/>/> Allowing users to run Java code on a Java based server is just asking for all kinds of trouble
C) LUA is arguably easier than java, both from the modding backend and the end user perspective.
496 posts
Location
New Zealand
Posted 08 July 2012 - 03:50 AM
LUA is not bad at all.
C) LUA is arguably easier than java
Just one thing that was niggling me,
Lua is not an acronym,
It is Lua not LUA.
686 posts
Posted 08 July 2012 - 04:01 PM
LUA is not bad at all.
C) LUA is arguably easier than java
Just one thing that was niggling me,
Lua is not an acronym,
It is Lua not LUA.
That awkward moment when you get caught doing the one thing you hate more than any other.
19 posts
Posted 24 July 2012 - 08:52 PM
LUA is not bad at all.
C) LUA is arguably easier than java
Just one thing that was niggling me,
Lua is not an acronym,
It is Lua not LUA.
Does it metter Lua or LUA
89 posts
Location
Puerto Rico
Posted 25 July 2012 - 12:39 AM
Also, as a noobie, I quite enjoy the fact this is in Lua, it's a pretty simple straightforward language. It's helped me learn a lot in a few days. I had 0 knowledge of programming before I started to use CC.
864 posts
Location
Sometime.
Posted 25 July 2012 - 11:36 AM
Its Lua
It really doesn't get anymore simple (IN CODING) than that.
Lua is the correct way to type it, LUA doesn't matter..