Re: [crossfire] Crossfire server code cleanup/janitorial

2014-04-23 Thread Mark Wedel
Few general notes on this: My idea if using new functions provided by libraries (if they exist) and include local copies if they don't is that often times vendor provided functions may be much better optimized that locally included ones. Also, for some functions (like strlcpy), it may be a

Re: [crossfire] Crossfire server code cleanup/janitorial

2014-04-23 Thread Tolga Dalman
On 04/23/2014 01:19 AM, Kevin Zheng wrote: I'm still not sure why this would make the project more portable, though. The major compiler toolchains support C just as well as C++, with the notable exception of Visual Studio. It is not only the language and the employed toolchain. In my

Re: [crossfire] Crossfire server code cleanup/janitorial

2014-04-23 Thread Nicolas Weeger
Hello. The plugin logic has pluses and minuses - the ability to right plugins that register themselves is good, but the entire dynamic loading adds a bit of code complexity and another place for errors. But also, at one time, the python plugin was optional, so you could run the server