replies always get messy, so ill type up here
C++.net is called MANAGED C++, i believe, as the rest on the .NET platform, use no pointers, low level access, and are garbage collected, as the other guy said. C#, truthfully, only uses a different approach. Other than lang features, compilation on the platform is the SAME,(i think) thats why there is a CLR or Common Lang Runtime.
Java, i love java. Embedded systems? Wasnt that its original purpose? I may not have understood...
Well, may be it is true with what the second guy says, although i make some (only toy, well all my programs are) desktop apps, there arent many around. Same for their developers, and i dont think clients will be willing to download the huge java runtime just for apps. We could distribute it, but i think we need a special liscense from Sun...most only use it for web apps, but i hope it doesn't stay that way.
C++, i would go for that. Heaven sake's, you could write OS's with ANSI C and C++ man!! (Although the API should be in C for non OOP langs) C++ is good for you, im sure.
Actually, ur choice is what you want to do. If you want to be a hard app programmer, wiht enough exprience to write drivers and low level stuff, but also do high level stuff, C++ is the way to go. For .NET, thats for developers wanting to develop only apps, which are cool and all, and are needed. Java is the same. The only thing to recognize is that both are on platforms, thus you will be programming on a platform, while C/C++ ca go anywhere, it really is based on what u want to do.
In my philosophy though, i already know enough, all i need now is exprience. If i do go to college, it'll be for engineering or/and astronomy. Programming? I'll learn as i program.
{2}rIng
PS sorry for its length.
: : :
This message was edited by IDK at 2005-11-28 13:21:43
: : : Are C++ and the .net version the same?
: : : If not, do what's the difference one notice when programming?
: : :
: : : If I do something in .net, could I compile it to native code? How?
: : :
: : : Edit: Actualy, I'm 15 and now I have to choose college (or whatever it's called in english) here in Sweden. The college I'm interested in got three directions(can't think of a better word...). The directions are C++.net Visual Basic.net and Java. Wich should I take?
: : : VB.Net is lame, so I don't want to take that one. If anyone did see this:
: : :
http://www.jroller.com/page/matsh?entry=java_history_was_made_today
: : : I am convinced to learn Java some day. But maybe not in college.
: : :
: : : Should I learn Java, or C++.net then?
: : : Now, I know OO, asm, and a lot of things, but I can't program in C++ nor Java.
: : :
: : :
The one and only Niklas Ulvinge aka IDK
: : :
: : I believe C++.net is just the MS implementation of C++ in their newest compiler. It probably also has some capabilities to connect to the .NET environment, but I haven't used it so I cannot be sure.
:
:
I haven't used it either, but it seems it is the same thing as C# (and VB.NET), they all have garbage collection, run on a vitual machine etc.
: I don't know if you can write standard C++ with .NET.
:
: VB is plain horrible, stay out of it.
:
: Java is good if you plan to write web applications. There aren't many programmers writing desktop apps in Java, it seems.
:
:
:
: : As far as whether to learn C++ or Java, it is going to be very subjective, but FWIW I prefer C++. My experience with Java is that it is C++ designed to keep you from making some of the most common errors (esp with pointers), but at the price of limiting some of the things you can do (bitwise manipulations, memory management). It also is a P-Code type interpreted language that can be run (theoretically) on any Java platform. That means that the run time environment is doing a lot more for you under the hood, so your code runs slower.
: : If you are working in anything that requires bitfield manipulations or low level access, C/C++ is the only way to go. If you want to be able to run on multiple platforms, you probably want Java (though I haven't been involved in any projects that really needed cross-platform capatibility at the executable level).
: :
: :
The above is just my opinion, your mileage may vary.
: :
:
:
I agree on all things. Also, beware if someone is trying to make you study Java for embedded systems... the whole idea is just ridiculous.
: