By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,017 Members | 1,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,017 IT Pros & Developers. It's quick & easy.

Redistributable Realy OpenSource programs. What you think about this?

P: 1
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?
Sep 27 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.