Question:
What is the fastest, most efficient programming language for a GUI or desktop app?
Brian
2009-05-24 10:15:18 UTC
You know, my programs start up just as fast as they did on my 500MHz PC, and I have a 2.4GHz Core Duo. And the programs don't do that much more! It's irritating. The instant I click on something it should be drawn to the screen without but a nanosecond of delay. Not this .5 second bull :-(. Sorry, that was just a rant.

I made a simple program in Visual Basic .Net and it just seems to load really slowly. It's not even a large program! uTorrent loads extremely fast. I just want someone to help me get on the right track. Python? C#? C++? What's this Ruby thing? No standard library? Briefly describe techniques for making a program faster.
Four answers:
NoneOfYourConcern
2009-05-24 10:40:18 UTC
Greetings,



what you experienced is a pretty common thing - programs written in one of the Microsoft Visual Studio Languages (Managed Code) have usually one thing in common - they get compiled into Common Intermediate Language (CIL) which means they do not get compiled completely.

However when you start the application the CIL Code gets translated into native commands.



This results in a longer start up times. The benefits of the languages using .net is that you / the programmer has a large set of functions and tools at hand resulting in faster developing times.



If you want to avoid the delay i recommand you learing native C++ using MFC. However writing C++ MFC applications can be pain.

Regarding speed and performance C++ is the fastest programming language you can get, but it takes longer to write programms in it.



One word about java, if you hate bad performance then using java is like drinking salt water when beeing thirsty.

Java is said to be platform independent which is nonsence, since it depends on useing the java runtime on each OS, and the java runtime interprets the java files. And interpreting is slow.



Java applications might sometimes start faster than VB applications (if small enough) but they ll fall back in means of performance during the runtime.



Well, i hope is was able to help you a little further.
Ratchetr
2009-05-24 10:26:24 UTC
It isn't the speed of your CPU so much these days, as it is the speed of your disk and the amount of memory you have. The .NET runtime is rather large, so when you load your program, quite a bit of stuff needs to be read in from disk (if not already in the cache). And if you are already using most of your memory, Windows may need to swap out some things to disk to make room for .NET, so even more disk activity.



C gives you the least amount of extra overhead, so should be the fastest. But doing things in straight C can be much harder than C++, which is in turn harder than a .NET app (IMHO). So your programs may load a bit faster, but you'll spend all the time you save (and a lot more) writing all the extra code you need to write to do the same thing.
anonymous
2016-12-24 18:49:26 UTC
i could use C#, yet any .internet language could be nicely suitable for this. destroy out the ordinary code right into a separate DLL project that the two the notebook app and information superhighway app can use. you will must be careful to maintain all UI appropriate stuff out of this library. you need to take a glance at using Silverlight for the information superhighway app. you would be able to get extra code reuse that way, and the two Silverlight and notebook UI's may well be be written in xaml. yet Silverlight continues to be very immature, and it fairly is a small subset of the API available for the notebook.
anonymous
2009-05-24 10:19:40 UTC
do it in java it is way faster, go and download netbeans it is very easy to use


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...