PDA

View Full Version : windows, linux, and mac klik, one klik for all



toecutter
11-29-2006, 12:36 PM
not only mac but bsd, and all linux distros.

This is just an idea, but I know it would work. Unlike a java -jar, you would not need a vre, as all code would operate natively and fast on the cpu as machine code. The code would be small and you would need only a small 1Kb program to handle the kilk. Thus everyone would klik and run the same klik, but within the klik, it would contain many different executables. Freebasic can compile both to linux and windows, and many languages are now being developed to be compiled natively on many systems. The trick is the language you use, should have a gui in the programming language you use. Thus, all programs would be pixel perfect on all systems.

For linux the script would extract the compressed file, in a local directory and run it.

probono
12-07-2006, 08:12 AM
Yes, we have thought about "universal bundles" that would contain an application for multiple OSes and platforms within one AppDir, such as
* Linux i386
* Linux amd64
* Windows
* Mac OS

Why haven't we done it yet?
* Maintaining this is ~4x as much work
* The resulting files are ~4x as large

Regards,
Simon

toecutter
12-09-2006, 08:00 PM
An application should not be considered one file but a directory. You probably have a directory on your desktop, what if you clicked on it, and the application in it automatically ran? It would act as an executable directory - sort of what a klik is. But, what if you dragged files into it it would act as a directory. What if you right-clicked on it you can see the contents of it. Thus, if the program in it only dealt with files in the directory, it would be a completely self-contained program that has and uses changeable data.

So you get tired of this klik application that runs on all Oses and you delete it. Thus, you got rid of everything related to that program. The program, its user manuals, it data, completely clean off the Os.

What if the program was just a link on your desktop to a ftp site that contained the program. It would be very insecure, but two people in remote parts of the world would be running the same program natively on different Oses. They could be using the same data, or the could be developing their own. Thus, you never install applications, delete applications, or save data.

probono
12-10-2006, 09:45 PM
With klik, an application technically is contained within a direcory (AppDir) which is itself contained in a file (cmg = Compressed Application Image) which gets mounted before the application is run,

You can also unpack the cmg file to get the directory in unpacked form if you wish.