You need the virtual machine yes, but there are portable versions. All it is in effect is a run time compiler. Take this byte-code and transfer it to machine code... byte-code being just a "fake" machine language anyway
How do you think python works? The interpreter is just a much higher-level version of the same thing.
Yes, Python and Java are very similar in that aspect. I'm not too sure about having the JRE be portable, though... the JRE is around 96+ MBs. (I know since I am working on a project that requires a portable Java - I use jPortable to provide the portable JRE implementation - basically just a specially extracted MSI.)
Which is why python is generally slower than Java. Since Java byte-code is far closer to machine language the conversion is faster.
Ehh... what makes you say that? It's hard to say which language is faster because there's multiple factors that can be used to judge that. (I can't say which one is faster, though I'm rooting towards Python, heh...)
The solutions for both languages AFAIK package a version of the virtual machine/interpreter in with the executable.
You then have a wrapper so when you double click the exe it runs the contained virtual machine/interpreter for the program.
There are also ways to compile Java (and probably python) to machine-language but they are rare and kind of defeat the purpose of the languages.
For Java, the JRE EXE running might be the case.
For Python, usually there's a loader that hooks into libpython to launch the code.
In addition, if you're referring to AoT, there are probably more Python AoT compilers than Java. (For Java, nearly all AoT compilers out there are extremely expensive.) Some AoT compilers even compile Python to C! (Sorta. The resulting program still requires libpython, but it's much faster.)
Whatever works, I guess. I like Python due to its simplistic syntax and plethora of tools. As always, YMMV!
I really ought to look into Qt. Its catching on like wildfire!
Im a Swing guy generally, although its limitations are frustrating.
And C/C++ for non-GUI stuff.
Qt is so freaking awesome.
See below for more details!
Qt also is native C++, so you can mush your code together. The only warning I will have is that you need to use Q* everything. QString, QChar, QFile, etc. (That's why I usually like to write GUI apps in Python, since you don't have to deal with that mess...)
Fun fact. Learnt C# in 24 hours to impress a girl.
Nice! Every programmer's wet dream, eh?
Anyway, I've PM'ed OP with file and address 1KsySqfN4tmbLBznowjam8qvbsQ5twKVZP. Here's hoping that OP is a bit more serious about this offer...
(If not, it was a quick fun job, and I got more experience in Qt, yay!)
You guys can take a peek of my result here:
http://www.mediafire.com/?va50w6yriwup6trOne of the reasons I love Qt is because of its really awesome Qt Designer! Just drag and drop, then hit a button to line them all up and make it look pretty!
There's also awesome CSS theming as well! I used a dark orange CSS theme to skin the application and make it look "pro".
Screenshots: (also can be found
here):
https://i.imgur.com/bk5ekYk.pnghttps://i.imgur.com/XOLOUcn.png