Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

is Plan9 better than UNIX? (Developers)

posted by Rugxulo Homepage, Usono, 14.04.2026, 10:08

> > Despite the immense popularity of "UNIX", I find that a lot of *nix code
> > is, shall we say, not really portable,
>
> If you write in C90, your code will be portable.
>
> Are you willing to only run C90-compliant software?
>
> If not, what do you expect to happen? ie what alternative do you see for
> the world?

For comparison, a long time ago the Elvis (vi) text editor built for like 11 OSes. That's pretty impressive.

Recently I've been playing with OpenBSD i386 [sic] on a jump drive. (Yes, it has Elvis.) It's a fun thing to try to learn on. It does have Clang 19, and I did successfully build P4 (C translation) there. So that subset bytecode compiler (public domain!) is mostly portable (although it fails on macOS ... TODO; FPC's legacy installer doesn't work either). Oh, but PCC couldn't handle it. Yes, I'm unique enough to appreciate "standard" Pascal (ISO 7185). Luckily, OpenBSD also has FPC and GPC too (but no GM2 or OO2C).

I even built David Lee's NTVDM emulator (written in C++) under OpenBSD with a few tiny patches. It works surprisingly well but is slightly cumbersome. For whatever reason, the compilers I have on Windows can't handle the code. Realistically, I try to write portable code nowadays, so binary emulation is less crucial. Then again, I still like old compilers.

I also finally installed DOSEMU2 on my Linux laptop. It's one thing to say you're portable. It's another thing entirely to prove it.

 

Complete thread:

Back to the forum
Board view  Mix view
23743 Postings in 2250 Threads, 410 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum