From nicolas.weeger at laposte.net Fri Jun 10 10:54:48 2022 From: nicolas.weeger at laposte.net (Nicolas Weeger) Date: Fri, 10 Jun 2022 17:54:48 +0200 Subject: [crossfire] Building in C++? In-Reply-To: References: <1794305.Yhhp66BgsX@gros> Message-ID: <12353800.ZM3JnaTdCB@gros> Hello. > I think this is a good idea. I was able to build and run crossfire server > with minimal changes on the cpp-buld branch. Thanks for the patch, I'll include it :) Best regards Nicolas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. URL: From nicolas.weeger at laposte.net Fri Jun 10 10:58:20 2022 From: nicolas.weeger at laposte.net (Nicolas Weeger) Date: Fri, 10 Jun 2022 17:58:20 +0200 Subject: [crossfire] Building in C++? In-Reply-To: <5a85a4fd-b742-2bed-641e-8450ff6f966f@crowcastle.net> References: <1794305.Yhhp66BgsX@gros> <5a85a4fd-b742-2bed-641e-8450ff6f966f@crowcastle.net> Message-ID: <2656021.7GJNBUGjiE@gros> Hello. Le dimanche 29 mai 2022, 16:39:11 CEST Preston Crow a écrit : > Crossfire is built around objects, so I can see why making such a change > would seem to make sense, That's not at all the reason to make the change :D > but I'm not clear that it would really improve > anything in particular. The first question is what language features in > C++ would be useful? Lists, sets, things like that (to stop implementing our own each time). As well as smart pointers, and such. As I said in my first mail, I don't intend to make everything object-oriented, not my goal. > I'm a bit concerned about security running a public Crossfire server. > Switching to C++ would do nothing to help, but I was thinking Rust would > be interesting. That would be a major porting effort; essentially a > rewrite. Probably not worth it, especially for such a relatively new > language. Not something I'll ever contribute to :D > For the server, the game is quite stable, so we would need some major > reason to make a big change. Most of the changes now should be tweaks > to fix issues, often hidden bugs that are exposed when a new map tries > something original. I'll disagree there, new features are often useful to improve the game experience. > Ultimately, what the game needs is not server work. It needs more > players and more maps. Totally agreed there. Unfortunately I'm not good at content making, thus I try to improve tools (like CRE) to help others make content. > If you want to do coding, is there some possibility to build a client in > Rust compiled to Webassembly to run in a browser? That would be all > kinds of awesome! Definitely not on my to-do list :) Best regards Nicolas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. URL: