Seems to be a popular choice, but, there´s a lot of way to programming microprocessors and microcrontrolers, an example is the raspberry, is a ARM architecture processor, you have to install an OS, like Ubuntu mate or windows10, and it works to do a lot of things, it use python to work. |
What's your point, though?
As much as i know, i don´t know if raspberry pi could work using c++ code. |
What are you saying? Are you saying you're unsure if there are C++ compilers for the Pi, or are you saying you're unsure if C++ has some fundamental flaw that would somehow make it unsuitable to work on the Pi?
If is there another ARM processor, that works with c++, (Not arduino) |
Arduino is neither a processor, nor an ARM, nor programmed with C++.
Could someone mentionate it? |
Sure. Pick basically any smart mobile device that runs Android or iOS. It almost certainly has an ARM CPU and is programmable with C++.
But if u can make an aplication in JAVA, and make it work in more OS than windows, why get limitated by c++? |
For example:
* Some libraries you need don't have Java interfaces.
* Some of your target platforms (e.g. iOS) do not have Java implementations.
* Java has or had in the past generally poor integration with the platforms native GUI. Android is an exception because the system was designed from the start to interface with Java.
* C++ programs generally need less memory than Java programs to accomplish equivalent tasks. They also start-up faster and are generally easier to optimize.
On the contrary, I would argue C++ code, if specifically designed to be portable, is easier to port than Java. Java does have the advantage of not needing to be recompiled, but compilation is not the biggest hurdle to overcome when making portable code; interfacing with the system in a portable manner is, and that's a problem regardless of your language of choice.