C#/C++ Plugin API
#2
This has been already talked about several times, and the decision is to keep things as they are.

Ref. (one of many): https://forum.cuberite.org/thread-1632.html

Probably the biggest issue for supporting multiple languages for plugins is the maintenance cost. We're already stretched thin just on keeping the server barely alive, not to mention on par feature-wise with Vanilla. There's no manpower to keep multiple API implementations in sync.

It might not see like it, but actually implementing bindings to another language is a lot of work, and I mean A LOT. Have a look at the Bindings folder in the sources: https://github.com/cuberite/cuberite/tre...c/Bindings - that's just a tip of what has to be done for one language. There's a lot of other supplemental code that generates some glue code automatically, and an enormous amount of thinking went into how to properly interface things. Thread safety and callbacks are just a small example of all the hurdles that needed to be overcome.

As for the IDE - are you using ZeroBrane Studio? If not, give it a try, it is a great IDE for Lua development and you can use it for developing Cuberite plugins really well. It has an integrated debugger that works with Cuberite, it runs on Windows, Linux, Mac and even ARMs, and unbelievably, it's free and open-source.
Reply
Thanks given by: NiLSPACE


Messages In This Thread
C#/C++ Plugin API - by nrgjrteherh435 - 05-19-2017, 11:07 AM
RE: C#/C++ Plugin API - by xoft - 05-19-2017, 04:27 PM
RE: C#/C++ Plugin API - by NiLSPACE - 05-19-2017, 04:48 PM



Users browsing this thread: 1 Guest(s)