Poll: Should Cuberite implement protocol code in lua?
You do not have permission to vote in this poll.
Yes, using that guy’s code
0%
0 0%
Yes, using C++ raknet code with lua bindings
0%
0 0%
Yes, using luasocket and implementing raknet from scratch
0%
0 0%
Yes, using any
14.29%
1 14.29%
I don’t care
42.86%
3 42.86%
No, What have you been smoking?
42.86%
3 42.86%
Other
0%
0 0%
Total 7 vote(s) 100%
* You voted for this item. [Show Results]

Reimplement Minecraft Java and implement Minecraft PE protocol with luaJIT
#4
I think this is suicidal at least Smile

In my opinion it's easier and a lot less work to implement protocol support directly in C++. The networking stuff is already relatively standalone in Cuberite - just look how easily the new protocols were added - usually within days of the Vanilla release (remember 1.1, which took us more than a month?). I can see no advantage in having yet another layer exported into plugins, not to mention that it would need proper isolation from regular plugin logic, we'd basically have two kinds of plugins - protocol and regular ones. The maintenance cost would be huge, and the protocol implementation would be much more difficult in Lua, because of the Lua-to-C++ layer having some limitations (mainly threading).
Reply
Thanks given by: yangm97 , NiLSPACE , Seadragon91


Messages In This Thread
RE: Reimplement Minecraft Java and implement Minecraft PE protocol with luaJIT - by xoft - 06-17-2017, 07:34 PM



Users browsing this thread: 3 Guest(s)