![]() |
[Open Source] Conquer Server C++
So with bone-you's c++ project under way, I wanted to try my hand at programming in c++ with a cross-platform point of view, as primarily I've only targeted windows, and used a lot of windows specific code. However I would like to further my knowledge and I decided to share the experience with all of you.
This project will be completely open source, I'm not entirely sure what version I will aim for right now, probably somewhere in the 5xxx region as zero already has 4xxx covered. I will be utilising MySQL and a host of other various c++ habits I've picked up over the years. Although I have exams coming up in about 2 weeks which unfortunately means there will be a brief period of no commits from me, anyone who would like to have write permissions and pick up the mantle is welcome. As an extended note, the project may stagnate or commits become less frequent as many of my projects do, but I plan to see this project through to a significant quantity and quality. I may possibly stream some code like bone but, I have a tendency to get distracted and start doing silly things, whereas he is quite dedicated to the project and seems to code in rather large blocks of time :) (I also have a really poor upload speed of like 0.37 kb/s). [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] SVN is currently completely empty as I'm starting the solution from scratch. :) Edit: August 2012 Quote:
|
It's nice to see a lot C++ upcoming things :)!
|
Quote:
@Thread I haven't worked with C++ in quite a while, but maybe, just maybe, I'll help out with this. EDIT: VC++ is cross platform? I really have no idea. When I think C++, I think Geany/Notepad++ and g++ |
Quote:
|
Quote:
Quote:
|
Visual Studio offers probably the best debugger on the market, so I use VS for C++ and Xcode on Mac OS X. Never coded on any Linux or Unix OS. You can easily make cross-platform program. Plus, as each IDE is designed by the same company of the OS, it offers an ultimate integration of the API of the OS.
|
NetBeans (aside from the uber lag browsing the stack and heap variables) has an almost identical debugger to VS (VS purely superior though). It's one of the reasons I like it for Linux dev.. though I much more prefer to code on VS then copy over the code to ensure compilation of Linux functions in intervals.
|
CodeBlocks does all that, + has a somewhat nice intellisense-like thing for "standard" APIs such as STL, OpenGL, etc. Also pretty much all of the libraries I have used in the past with it come with support for this feature, which is really nice. Debugging IMO isn`t made harder in it than necessary either, also with plugins you can squeeze out A LOT from it (by "it" I mean either the IDE, or the debugger, or anything really).
|
To be honest, once you use Visual Studio every IDE sucks balls.
|
Quote:
[Only registered and activated users can see links. Click Here To Register...] |
I should have wrote that out differently. When I think VC++, I think C++ using the Windows API or .NET Framework. I've never even thought about using VS to write code for other operating systems, to be honest.
@bone-you Thanks for the link, I like the syntax highlighting a tad better. |
With all these C++ projects popping up I really want to do my own now.
|
As a side note, I'd like to point out that I'll probably be using boost and maybe some other external libraries. Purely because my cross-platform experience is NULL (hah, get that?). Therefore I figure if I use boost, 80% of the work is done for me :).
|
You could use boost::asio for networking purposes if you`re going to use boost, as far as I understand for UNIX it uses /dev/poll/ and for Win it uses IOCP.
|
Quote:
|
TBH I used it only for fast prototyping a client application, are you implicitly telling that you`ve used it in a server application before and it worked out well? Because if it does I`m switching to it immediately instead of my own winsock/iocp implementation, just for the sake of being cross-platform.
|
Quote:
I also used it in a proxy (will probably release it if I find it), which seemed to work perfectly. I'll probably start some serious development today, just studying for a chemistry exam I have next week. |
Quote:
Quote:
The WinAPI is dependent of the Windows kernel, so it's not cross-platform. It's like using the CarbonAPI on OS X. For the C++/CLI, as it contains native code within a .NET application, I doubt Mono will be able to run it. So, I would say no. Quote:
|
Isn't boost supposed to be a part ox C++0x?
|
Quote:
|
Quote:
|
I just want to assure everyone that despite no significant commits yet, this project is very much alive. I'm just busy studying for an exam I have on Tuesday. :)
|
Quote:
|
good luck mate and yea most of epvp members got exams nowdays i will finish my exams by the end of the month:)
and yeah am waiting for your project i would love you to start it with us members from scratch so alot of peoples would know how things going regards |
Just to clarify, I had real intentions of seeing this project through but the opportunity to work on a source with Hybrid, Ntl3fty et al arose which unfortunately meant that my time constraints were just too much with my other commitments.
If a day comes were I have the time to work on such a project again, I shall revive this thread and deliver as promised. :) |
| All times are GMT +2. The time now is 14:45. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.