There are script languages compiled at runtime. So, we can download interpreter and code-file to run the program. Everybody knows it.
here is my idea. I create redistributable package (for *nix and win platforms) with compilers/interpreters of Python language, including for example, QT, TCL and other crossplatform libraries. then I create .exe file to access this interpreter in win platform, bin-file to access interpreter in *nix platform, .ini file to contain initial data about source and program type, folder Source (here we have all .py files) and folder Data - contain all the data-files.
Why?
1)advatage
If Redistributable Package is installed in system, I can simply move the folder between different platforms and run system-executable files as simply as possible. In Windows - there is exe file in folder, in *nix - ./mybin
2nd)advantage
We have no problems with downloading source and recompiling - everything is runtime and all the sources are present by default. More, you can edit them when and how you want and don't wait for recompile! Maybe there is even possibility dynamically change source of working program!!!
3)advantage
Update are like .diff files - they don't contain new *.exe files so virus-protection can be changed to something else - like parsing diff-file for malfurius instuctions
This schema is designed for small programs, satellite-programs to large crossplatform opensource projects. Sometimes there is need to make simple DataBase-filling program and share it with companions. In such situation, I think, my idea is best.
But what You think about it?
I know it is perhaps slow... Is it real to add C++ runtime interpreter?
How hard is it write such redistributable interpreter?
And of course what is your opinion about my idea?