473,770 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redistributable Realy OpenSource programs. What you think about this?

1 New Member
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
0 1648

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

Similar topics

2
2556
by: Alexander Ross | last post by:
I have a variable ($x) that can have 50 different (string) values. I want to check for 7 of those values and do something based on it ... as I see it I have 2 options: 1) if (($x=="one") || ($x=="two") || ... || ($x=="seven")) ... or 2) switch ($x){ case("one"):
3
939
by: Peter Oliphant | last post by:
Here is a case where something that shouldn't compile does. Note below that Test_Method() only accepts a pointer to Test_Struct as an parameter, but it will compile with a value instance as a parameter. For context, I'm using VS C++.NEW 2005 Express with clr:/pure syntax. I submitted this as a bug report, link below: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=ef3c8d9e-75e2-4916-87ee-640a4de75f39 Source...
10
1359
by: Chris Thomasson | last post by:
I am working on a high-speed futures implementation in C++, and was tinkering around with ways to wrap the function pointer logic. I am a C/Assembly programmer that doesn't make a lot of use of C++. So my skills can be improved upon for sure. I was wondering if I was subjecting my first attempt at a function pointer to any undefined behavior(s). Here is the code: http://appcore.home.comcast.net/vzoom/raii/scope-guard.cpp
3
1159
by: Developer.Man4 | last post by:
Hi all, i've been investigating for quite a while for files that are mandatory to be deployed to the server for an asp.net v1.1 application to run, to make it more clear, we don't need to move the source code files, .vb and .cs we have their assemblies deployed on the server. i also wanted to find out if we can change default locations for some files that are by default store on the application main folder. i got the following results...
0
1300
by: [Cool staff!||Hi! I think this need for || Help me | last post by:
http://con-cern.org/files/2007/5/xenical-21024312.html cheap xenical http://con-cern.org/files/2007/5/auto-21024411.html auto loan refinance http://tag-dev.jot.com/WikiHome/pharmacy/xenical_html___117970823717048_96302128227356?jot.viewName=xenical.html&theme=none buy xenical http://tag-dev.jot.com/WikiHome/pharmacy/auto_html___117970831070975_10304845439619?jot.viewName=auto.html&theme=none auto loan refinance ,...
3
1739
by: Adrian20XX | last post by:
Hi, I want to define a macro in C like this, but I wonder if these is too obscure and I'm starting to get too nasty. This is the macro I want to use: #define CompareXYAndDoActions(X, Y, greaterAction, equalAction, lowerAction) \ { \ if (X>Y) { \ greaterAction; \ } \
8
2172
by: Aereshaa | last post by:
For some reason, when I compile this code: int main(){ char* a = malloc(5); long* l = (*long) a; } //I shortened it to isolate the problem. I get this error: error.c:3: error: expected expression before ‘long’
2
865
by: Prisoner at War | last post by:
Hi, Folks! Do y'all think it's possible to use JavaScript to alternate the text of the ALT attribute of an <imgtag? And is there a way to have that ALT's text show up in Opera and Firefox the way it does in Internet Explorer? So that with an onMouseOver it will appear as if the image of a dog, for example, is saying, alternately, "moo," "meow," "a little to the
14
1730
by: Stevo | last post by:
If you split a string into an array using the split method, it's not working the way I'd expect it to. That doesn't mean it's wrong of course, but would anyone else agree it's working somewhat illogically? Here's a test I just put together that splits on "&". The test strings are: "a&b" = (Correct!) I expect array length 2 and I get 2 "a&" = (Incorrect!) I expect array length 1 but I get 2 "a" = (Correct!) I expect array length 1 and...
0
9595
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2822
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.