TL;DR; Starting with C++.
Don't think we have one (there's Ripper's Godot thread, but that's too narrow), but we should have one; To talk about our experiences, preferences (why Java sucks), asking for (and getting) answers and advice++; So here is my humble fist contribution;
As I've said elsewhere I'm now learning C++; I knew a bit about from years ago, and I have done some programming, but it's a long time a go; And Boy!, the language has certainly developed; I'm now using ver 20, and a lot has changed since back then;
Why C++? Well, it is quite often faster, see https://www.codeproject.com/Articles/5310338/So-Youve-Got-10M-Particles-to-Simulate for a comparison between C++ and c#, showing up to twice the peformance of C++ (but not for every project); Several reasons for that, I won't go into details, but as (most of you?) know, unlike C++, c# doesn't compile into machine code, but into intermediate code, which is then just in time compiled into machine language when needed; In most cases, I think the difference is negligible, unless performance requirements are very hign, as in games;
Other factors:
Of course c# has it's benefits:
But I love C++, and I suspect that whenever possible I will use that language for my projects; Maybe in combination with c# for the windows;
I'm currently using Visual Studio 2019 and 2022 (preview) for C++, and I notice a few problems, compared to c# programming:
Intellisense is much slower, and often complain about errors in my code, when it compiles just fine (without any warnings); And compiling applications takes significantly more time; Some of it must be due to the linking part, but I doubt that all of it comes from that; I suspect that Visual Studio is first of all adapted to C# (and VB) programming, support for C++ isn't considered that important;
I am considering using other IDE's, maybe somthing that also works in Linux; Any advice?
For (re)learning the language I'm using "Beginning C++20" by Ivor Horton and Peter Van Weert, which I think is a very good book, hereby recommended; Unfortunately books about Windows UI programming using C++ are few; I have of course the Petzold book from '95. But that one is old, and is based on C; Fortunately a previous version of the Horton book ("Beginning Visual C++ 2013") do cover it to some degree;
Today I'm going to start Windows programming, two projects: One using the win32 API, and one using MFC; We'll see where I'm going from there; I will also try GTK and Qt at a later stage;
PibbuR pibbuR{191,94};
PS. As stated in another thread, I'm not a game programmer wannabe; DS.
Don't think we have one (there's Ripper's Godot thread, but that's too narrow), but we should have one; To talk about our experiences, preferences (why Java sucks), asking for (and getting) answers and advice++; So here is my humble fist contribution;
As I've said elsewhere I'm now learning C++; I knew a bit about from years ago, and I have done some programming, but it's a long time a go; And Boy!, the language has certainly developed; I'm now using ver 20, and a lot has changed since back then;
Why C++? Well, it is quite often faster, see https://www.codeproject.com/Articles/5310338/So-Youve-Got-10M-Particles-to-Simulate for a comparison between C++ and c#, showing up to twice the peformance of C++ (but not for every project); Several reasons for that, I won't go into details, but as (most of you?) know, unlike C++, c# doesn't compile into machine code, but into intermediate code, which is then just in time compiled into machine language when needed; In most cases, I think the difference is negligible, unless performance requirements are very hign, as in games;
Other factors:
- Support for 3D API's, which leaves something to be desired for c#;
- The possibility (curse) of creating windows applications from the ground up;
- Linux support;
- Default;
Of course c# has it's benefits:
- Developing Windows applications is very fast;
- Huge libraries;
- The languge is very elegant (Yes, I think part of C++ is a mess);
- Lots of errors that might cause run time crashes (allowed in C++) are stopped by the compiler;
- Default;
But I love C++, and I suspect that whenever possible I will use that language for my projects; Maybe in combination with c# for the windows;
I'm currently using Visual Studio 2019 and 2022 (preview) for C++, and I notice a few problems, compared to c# programming:
Intellisense is much slower, and often complain about errors in my code, when it compiles just fine (without any warnings); And compiling applications takes significantly more time; Some of it must be due to the linking part, but I doubt that all of it comes from that; I suspect that Visual Studio is first of all adapted to C# (and VB) programming, support for C++ isn't considered that important;
I am considering using other IDE's, maybe somthing that also works in Linux; Any advice?
For (re)learning the language I'm using "Beginning C++20" by Ivor Horton and Peter Van Weert, which I think is a very good book, hereby recommended; Unfortunately books about Windows UI programming using C++ are few; I have of course the Petzold book from '95. But that one is old, and is based on C; Fortunately a previous version of the Horton book ("Beginning Visual C++ 2013") do cover it to some degree;
Today I'm going to start Windows programming, two projects: One using the win32 API, and one using MFC; We'll see where I'm going from there; I will also try GTK and Qt at a later stage;
PibbuR pibbuR{191,94};
PS. As stated in another thread, I'm not a game programmer wannabe; DS.
Last edited: