+ 1

What language to use for a GUI application?

I wanted to build a chatroom as a sort of portfolio project I decided to use python for the backend and was wondering what language to use for the front. Currently I'm considering c++. I would love the opinion of any more experienced individuals on this

16th Oct 2021, 10:50 PM
Nē\/\/b1e
Nē\/\/b1e - avatar
14 odpowiedzi
+ 3
Java seems to have the best built in support for GUI programming, however, C++ using the MFC libraries has more than adequate tools for GUI development and may be a better choice when speed and efficiency are important.
17th Oct 2021, 1:51 PM
Arun Jamson
Arun Jamson - avatar
+ 2
sree harsha, mate seriously? 😂 Java is also interpreted programming language, so there is absolutely no way it could be faster than C/C++. And many parts of Java, many libraries and compilers for Java are written in C/C++... And what do you mean by it "having only compiler"? C++ is not a "simplification" of C. Those are two different languages with their own features and downsides. And what do you even mean by "partially" object oriented? :) C++ and C both have absolutely unlimited graphics capabilities. As I said there are hundreds of powerful graphics libraries. And even though python is slow and messy, it is capable of making descent GUI and applications. Do your studies buddy :)
18th Oct 2021, 9:18 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
sree harsha, yup Java is both, interpreted and compiled, but as it has to be interpreted anyways, it will be slower than C. And since when Java is behind python? Both python and most java compilers are written in C too. And the fact that C++ has unlimited graphics, it doesn't mean there shouldn't be other languages. C++ is capable of controlling graphics memory, so you could do pretty much everything you computer is capable of.
18th Oct 2021, 9:33 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
If you know Javascript , It'll be a brilliant idea to go for React
16th Oct 2021, 10:56 PM
Jasy Fabiano
Jasy Fabiano - avatar
+ 1
Python itself is quite capable for building UIs. There are things like PyQt and Tkinter, so there is no real need to use another language for the front.
17th Oct 2021, 12:51 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
Java is the best programming for any kind of GUI
17th Oct 2021, 4:40 PM
sree harsha
sree harsha - avatar
+ 1
sree harsha. The fact that Java is capable of descent GUI doesn't mean it is the BEST for that kid of stuff. For example, how is C/C++ worse than Java for GUI? There are tones of libraries for graphics. There are also things like Qt for making GUI apps... In addition, C++ is faster than Java by default. Also, even though python is not such a good language by itself, it is capable of some quite nice graphics. So don't ever say that Java is the best for any kind of GUI. It might be a better choice for some things, like android GUI, mostly because of nice tools, but it does not mean it is the BEST.
18th Oct 2021, 8:47 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
Was trying to avoid using react but maybe it'll just have to be. Could I use python with JavaScript though since I'm quite knowledgeable on python already
16th Oct 2021, 10:58 PM
Nē\/\/b1e
Nē\/\/b1e - avatar
0
Python tkinter Library will be good for building GUI Application.
17th Oct 2021, 4:16 AM
muskan kansal
0
sree harsha, you are just wrong.
17th Oct 2021, 8:52 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
Aleksei Radchenkov Any proof with you But I can convey you Java is the only programming language having more no of graphics and animations Even Html Css Js designs a basic web With the support of java only FrontEnd Development + BackEnd Development = Effective GUI Java is having strong repositories / libraries as per FrontEnd And BackEnd The above features says that we csn create best GUI with java programming
18th Oct 2021, 5:55 AM
sree harsha
sree harsha - avatar
0
Aleksei Radchenkov C++ is a partially object orirented programming language C++ is having limited graphics Moreover it is just simplification of C i.e adding classes to C It is having only compiler Python is only interpreter based programming Which is gery much slow On the other hand python is dynamically typed which creates so much of ambiguity or doubts in developers mind while debugging application Java is very effective in application development debugging and deployment C and C++ are the basic foundation for graphics Java is very much faster in execution compare to any other programming language Dont ever try to say java is not faster than C++ or else anyother programming
18th Oct 2021, 8:56 AM
sree harsha
sree harsha - avatar
0
Aleksei Radchenkov Java is both compiled and interpreted programming language If CPP is having unlimited graphics why java and python is there to create graphics and animation You are feeling that python is capable At the same time you have to remember that java code running in behind of python code Java is ever necessary programming for all aspects
18th Oct 2021, 9:26 AM
sree harsha
sree harsha - avatar
0
You can try Tinker in Python
18th Oct 2021, 7:21 PM
Asghar Abbasi
Asghar Abbasi - avatar