Java vs wxWidgets or GTK+ with c++ for a PC ground station

In summary, the conversation discusses the use of different programming languages for cross-platform low level programming of apps. The speaker mentions their experience with win32API being difficult and limited, and their search for alternatives such as Processing, Java, and GTK++. The conversation ultimately suggests using Qt for its intuitive API. The speaker also mentions their project of creating a ground control station for a remote-controlled robot.
  • #1
Jarfi
384
12
I've got experience with win32API but its' a pain in the ass.

What else is good for cross platform low level programming of apps, want it to work for PC, linux, be able to handle serial data streams, convert data and do C++ tier things.

So far been using processing but that's not powerful enough, basically limited version of C++ with graphical functions.

Is Java good? how about GTK++, which has better workflow

-Jarfi
 
Technology news on Phys.org
  • #2
You could use pretty much any programming language you want for that. In which way is processing not powerful enough? And what kind of apps do you want to write?
 
  • #3
DrZoidberg said:
You could use pretty much any programming language you want for that. In which way is processing not powerful enough? And what kind of apps do you want to write?
Processing doesn't have basic functions it seems such as memcpy, static casting and everything that is generally low level code. It's merely an educational tool. I am writing a ground control station, for a remote controlled robot, it needs to handle high data rates and then process this data, then display the data on screen, also control surfaces etc.
 
  • #4
Use Qt, very intuitive API if you are familiar with event driven programming.
 
  • Like
Likes Jarfi
  • #5
newjerseyrunner said:
Use Qt, very intuitive API if you are familiar with event driven programming.
I have started learning QT. Seems to be a bit of a hazzle to learn all the new concepts but so far it's been better than win32API which was an absolute nightmare to get started with.
 

What is the difference between Java and wxWidgets or GTK+ with c++ for a PC ground station?

Java and wxWidgets/GTK+ with c++ are both programming languages used for developing software applications. However, Java is an object-oriented language, while wxWidgets and GTK+ are frameworks. This means that Java has its own syntax and rules, while wxWidgets and GTK+ provide a set of tools and libraries for developers to use.

Which language is better for developing a PC ground station: Java or wxWidgets/GTK+ with c++?

The answer to this question depends on the specific needs and preferences of the developer. Java is a popular and widely-used language, known for its ease of use and cross-platform compatibility. However, wxWidgets and GTK+ with c++ offer more flexibility and customization options for developers. It ultimately comes down to personal preference and the specific requirements of the project.

Can Java and wxWidgets/GTK+ with c++ be used together for a PC ground station?

Yes, it is possible to use Java and wxWidgets/GTK+ with c++ together for a PC ground station. Both Java and wxWidgets/GTK+ with c++ are cross-platform, so they can be used on the same operating system. However, integration between the two may require some extra effort and expertise.

Which language is more beginner-friendly for developing a PC ground station: Java or wxWidgets/GTK+ with c++?

Java is often considered more beginner-friendly than wxWidgets/GTK+ with c++, due to its simpler syntax and comprehensive documentation. However, both languages have their own learning curves, and it ultimately depends on the individual's prior programming knowledge and learning style.

Are there any performance differences between Java and wxWidgets/GTK+ with c++ for a PC ground station?

There may be slight performance differences between Java and wxWidgets/GTK+ with c++ for a PC ground station, but they are not significant. Java is known for being slightly slower than c++, but it may not make a noticeable difference in most applications. Ultimately, the performance will depend on the specific implementation and optimization of the code.

Similar threads

  • Programming and Computer Science
Replies
25
Views
3K
Back
Top