Re: Bootcamp

Liste des GroupesRevenir à co vms 
Sujet : Re: Bootcamp
De : cross (at) *nospam* spitfire.i.gajendra.net (Dan Cross)
Groupes : comp.os.vms
Date : 03. Jul 2025, 16:27:40
Autres entêtes
Organisation : PANIX Public Access Internet and UNIX, NYC
Message-ID : <10467hc$9vf$1@reader1.panix.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <10465mq$62th$1@dont-email.me>,
Arne Vajhøj  <arne@vajhoej.dk> wrote:
On 7/2/2025 7:32 PM, Lawrence D'Oliveiro wrote:
[snip]
You keep pushing that idea.

And you keep humoring a troll.

Of course, the troll's idea is bad.  That said....

But:
[snip]
5) The idea of emulating one OS on another OS is questionable
   in itself.

This really needs to be qualified, as it is common and has been
done for decades.  Evaluation criteria must include a) the
complexity of the emulation target, and b) its alignment with
the existing system design.  Consider PA1050 on TOPS-20, for
example: this was a type-2 hypervisor that allowed the
DECSYSTEM-20 to provide very faithful emulation of TOPS-10.  But
TOPS-20 is argably closer to TOPS-10 than, say, VMS is to
Linux.  And since TOPS-20 used a different mechanism for
trapping into the executive for system requests than TOPS-10, it
was easy to distinguish between the two.

On the other hand, things like gVisor, which emulates the Linux
kernel interface, are very complex and difficult to get right.
And of course the PDP-10 was a much simpler machine than x86_64.

   It is not that difficult to achieve 90-95%
   compatibility. But 100% compatibility is very hard.

For systems that are very precisely specified and where the
target is very faithful _to that specification_ it's not so bad.

The real hard part is providing compatibility for areas where
the implementation differs from the specification.  Linux, in
particular, is very bad in this regard: the maxim from Torvalds
to "not break userspace!" means that when surprising or
unintended behavior is discovered, more often than not, it
becomes a de facto part of the interface (since some userspace
software somewhere may depend on it).

Other systems are far more rigorous about giving compatibility
guarantees at the behavioral level.

   Because
   the core OS design tend to spill over into
   userland semantics. It is always tricky to emulate *nix
   on VMS and it would be be tricky to emulate VMS on *nix.
   Getting DCL, image activation, process permanent files,
   subprocesses, logicals and symbols working 100% compatible
   on a Linux kernel would not be easy. A lot hang on the
   4 mode design and DCL being in S.

Those things, specifically, probably wouldn't be that bad, given
the internal task system used by the Linux kernel.  Much harder
are the undocumented assumptions about how the system behaves.

I imagine that things like mailboxes and ASTs might be
challenging to emulate well.  The latter may be ok; since POSIX
real time signals were modeled after VMS ASTs, if the system
provides good support for them, it may be possible to build ASTs
that interact well with the rest of the system.  A much harder
area, in my estimation, would be the IO subsystem, which is
rather different.

- Dan C.


Date Sujet#  Auteur
21 May 25 * Bootcamp51Arne Vajhøj
21 May 25 +* Re: Bootcamp5Robert A. Brooks
21 May 25 i+* Re: Bootcamp2David Meyer
22 May 25 ii`- Re: Bootcamp1Subcommandante XDelta
23 May 25 i+- Re: Bootcamp1Stephen Hoffman
3 Jun 25 i`- Re: Bootcamp1Arne Vajhøj
3 Jun 25 +* Re: Bootcamp4Arne Vajhøj
6 Jun 25 i`* Re: Bootcamp3Craig A. Berry
6 Jun 25 i `* Re: Bootcamp2Arne Vajhøj
6 Jun 25 i  `- Re: Bootcamp1Craig A. Berry
7 Jun 25 `* Re: Bootcamp41Subcommandante XDelta
7 Jun 25  +* Re: Bootcamp17Lawrence D'Oliveiro
7 Jun 25  i`* Re: Bootcamp16Arne Vajhøj
9 Jun 25  i `* Re: Bootcamp15Simon Clubley
9 Jun 25  i  +- Re: Bootcamp1Simon Clubley
9 Jun 25  i  +* Re: Bootcamp8Dan Cross
9 Jun 25  i  i+* Re: Bootcamp2Simon Clubley
9 Jun 25  i  ii`- Re: Bootcamp1Dan Cross
9 Jun 25  i  i`* Re: Bootcamp5Arne Vajhøj
9 Jun 25  i  i +- Re: Bootcamp1Dan Cross
9 Jun 25  i  i +* Re: Bootcamp2Lawrence D'Oliveiro
9 Jun 25  i  i i`- Re: Bootcamp1Arne Vajhøj
10 Jun 25  i  i `- Re: Bootcamp1Simon Clubley
9 Jun 25  i  `* Re: Bootcamp5Arne Vajhøj
9 Jun 25  i   +* Re: Bootcamp2Robert A. Brooks
9 Jun 25  i   i`- Re: Bootcamp1Arne Vajhøj
9 Jun 25  i   +- Re: Bootcamp1Chris Townley
10 Jun 25  i   `- Re: Bootcamp1Simon Clubley
1 Jul 25  `* Re: Bootcamp23gcalliet
1 Jul 25   +* Re: Bootcamp4Simon Clubley
2 Jul 25   i`* Re: Bootcamp3gcalliet
2 Jul 25   i +- Re: Bootcamp1Arne Vajhøj
2 Jul 25   i `- Re: Bootcamp1Simon Clubley
2 Jul 25   `* Re: Bootcamp18Lawrence D'Oliveiro
2 Jul 25    `* Re: Bootcamp17gcalliet
3 Jul 25     `* Re: Bootcamp16Lawrence D'Oliveiro
3 Jul 25      `* Re: Bootcamp15Arne Vajhøj
3 Jul 25       +* Re: Bootcamp3Dan Cross
3 Jul20:14       i`* OS emulation [was Re: Bootcamp]2Rich Alderson
3 Jul21:32       i `- Re: OS emulation [was Re: Bootcamp]1Dan Cross
3 Jul 25       +* Re: Bootcamp2bill
3 Jul 25       i`- Re: Bootcamp1Chris Townley
3 Jul23:39       `* Re: Bootcamp9Lawrence D'Oliveiro
4 Jul01:56        +* Re: Bootcamp2Arne Vajhøj
4 Jul02:40        i`- Re: Bootcamp1Lawrence D'Oliveiro
6 Jul01:36        `* Re: Bootcamp6Waldek Hebisch
6 Jul04:22         +* Re: Bootcamp4Lawrence D'Oliveiro
6 Jul13:52         i`* Re: Bootcamp3Waldek Hebisch
6 Jul16:04         i +- Re: Bootcamp1bill
6 Jul22:38         i `- Re: Bootcamp1Lawrence D'Oliveiro
6 Jul16:02         `- Re: Bootcamp1bill

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal