In article <ea**********@atlantis.news.tpi.pl>,
tm*@praktisk.org
says...
Greetings.
Is there any project of universal environment for running programs
written in C++ ? For example a programmer compiles program using
compilator and linker that produces universal executable file (not
system executable file) and then he starts that program using some kind
of emulator that can be implemented in any platform.
That is like Java but only for C/C++ programs.
Is there somewhere such project ?
There have been attempts in (at least) two different directions.
Microsoft has a common language runtime that supports a couple
variants of C++. The first attempt was what they called "Managed
C++". The current version they call "C++/CLI". Unlike Managed C++,
C++/CLI appears to be C++ with conforming extensions.
Quite a while ago (in the '80s) DCE tried to create something a bit
different -- a universal executable format that would be translated
to native executable code at load time. A fair number of companies
put quite a bit of effort into it, but I don't believe there was ever
a real implementation (though IIRC, the work for this formed the
basis of DEC's environment for executing x86 code on the Alpha).
--
Later,
Jerry.
The universe is a figment of its own imagination.