From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Y3K for PDP-11 Operating Systems
Date: Tue, 24 May 2011 07:36:23 -0700 [thread overview]
Message-ID: <irgfp7$382$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <941ob1Fre1U1@mid.individual.net>
On 2011-05-24 05.58, Bill Gunshannon wrote:
> In article<ireupe$mqj$1@iltempo.update.uu.se>,
> Johnny Billquist<bqt@softjar.se> writes:
>> On 2011-05-23 17.16, Bill Gunshannon wrote:
>>> In article<ireog6$ksn$1@iltempo.update.uu.se>,
>>> Johnny Billquist<bqt@softjar.se> writes:
>>>>
>>>> In a way, a reimplementation of the PDP-11 OSes might be interesting.
>>>> But I doubt many people today would see the point in using anything that
>>>> didn't follow the Unix programming paradigms,
>>>
>>> I was waiting for this to come up. I think most people think that
>>> there are really only two OSes left in the world. MS and Unix.
>>> BUt, actually, thre are a lot of others out there including some
>>> that predate MS and might even predate Unix and still have loyal
>>> followings. (And I am not talking about VMS. :-)
>>
>> Well, Windows more or less allows you to follow the Unix paradigm as
>> well, when it comes to writing programs for the net.
>
> Minus the security model. :-)
True. But the security model of Unix itself isn't exactly something to
boast about. :-)
>> And so do VMS.
>
> Minus little things like fork(); :-)
Good point. There are some things that are more of an headache to emulate.
Still, lots of Unix programs can be compiled and run on VMS systems with
little, or no change. And Unix programmers can write programs on a VMS
system without really having to go outside their comfort zone for most
of the time. It might not be programs that really take any advantage of
VMS, but then again, they don't care.
>> And
>> all other OSes that I know of.
[List of other OSes...]
I don't know for sure how any of those OSes look from a programming
point of view, but if any work's been done on the core system the last
20 years, I wouldn't be surprised if it was to make it more Unix-like.
>> (Hello select(), synchronous I/O, getting errors back which basically
>> just means that you need to retry, because nothing is wrong, but we just
>> got interrupted, and random dynamically allocated file descriptors, and
>> all files are just streams of bytes.)
>
> Lot's of systems where that is not necessarily the case. Definitely not
> the case with VMS.
It's definitely the case with VMS. Yes, the above statements are not
*neccesarily* true for VMS, but a programmer *can* program with this
approach on VMS, and almost all programmers today implicitly assumes
that these statements are truths.
So, even though you have an OS that offers you other possibilities,
noone knows, or can use them. (Ok, noone is an oversimplification, but
you get the idea.)
>>>> no matter if a lot of
>>>> coding problems would be much easier to solve using some other paradigm.
>>>
>>> And if the paradigm actually made things better? One has to wonder
>>> how many of the people who eventually moved off of RSTS and RSX did
>>> so because the hardware it ran on was not capable of keeping up with
>>> the demands of their business. Remember, no one buys an OS for the
>>> OS, "It's the applications!!"
>>
>> Many moved off just because of demands for more computing power, cheaper
>> hardware,
>
> I agree up to here.
Since it was more or less what you wrote. ;-)
>> and perhaps even more because the software they needed to run
>> didn't run on PDP-11s any more.
>
> I would imagine the majority were running applications that were stable
> and met their corporate needs just fine as they had been running them
> for decades. The problem was the need to have additional functionality
> that the hardware (primarily memory) limitations made impossible. If
> it had been possible to add that functionality I would bet most would
> have stayed with the OS they were familiar with. And, avoided the cost
> of not only moving to a new platform but re-writting all their unique
> application or changing their business model to match some other piece
> of software's idea of how a business should be run.
Well, in many cases, new requests for more functions, new features, or
additional applications do come in. And that's when systems get replaced.
So yes, the current applications are stable and working. But that is not
enough. If that was all there is, then there wouldn't be any need for
more computing power either. If the current setup already fulfills the
needs, that would imply that the current computing power also is
sufficient, no?
>> It all have very little to do with technical competence of the
>> underlying OS.
>
> Oh, I can agree with that. As I said, "It's the applications!!"
> But, by the same token, the move to a new OS was not because of
> a shortcoming in the old OS. Unisys has been very successful by
> making systems that still allow old code to continue to run only
> with greater resources available (I remember a particular problem
> I had to solve in my Univac COBOL days that was eventually tracked
> down specifically to memory availability!! That same code would
> run on OS2200 today without ever exhibiting the problem I had to
> fix by modifying the supporting ECL.) IBM has had great success
> by doing the same for SYSTEM-360 programs.
Yes. It's the typical question of being able to run the applications.
Rewriting, and porting applications can be both expensive and difficult.
Cheaper to continue running on the old systems, when possible.
I guess we forgot about one reason why people move off old OSes. Cost of
running and maintaining old hardware. At some point it might just become
impractical to continue running on the old machines.
The PDP-11 was in that aspect perhaps a bit unfortunate, in that there
was a long gap between when DEC more or less wanted (forced?) people to
to migrate to VAXen, and before commercial emulators became available.
Thus forcing a lot of migration to take place, because to viable options
existed.
>>>> (Then again, a lot of programming today takes place in HLL, which have
>>>> also adopted to the Unix paradigms, which makes it even harder to use
>>>> any other OS, not to mention that you'd need to develop compilers and so
>>>> on, for this reimplemented OS.)
>>>
>>> Once you moved to a mchine without the memory limitations of the PDP-11
>>> you could use any of the GNU Compilers. Or pretty much anything else
>>> out there today.
>>
>> No. You already failed right there. The GNU compilers them self assumes
>> a whole lot of Unixy things.
>
> Hmmm.... Not so sure about that, but even if true I would imagine it
> would not be a major undertaking to make the needed modifications.
The horrors! I have peeked under the hood of gcc. It's not a piece of
code I would ever consider easy to modify. :-)
> And,
> there are other options. Again, all of it depends on the model that
> needs to be used. If all the original code were to be released with a
> commercial friendly license one could modify the back-end to support
> the new architecture. If you have to start from scratch then you need
> to start by finding a suitable compiler (and language). And, speaking
> of language, even if the original code was released much of it is in
> PDP-11 Macro and would need to be re-written using the original only
> as a model. That adds the question of what language do you write it
> in? Don't get me wrong, I like C. I am good at C. I do not make a
> lot of the mistakes that C is famous for. But...... I would probably
> not choose C as the language to use for reasons I should not have to
> deliniate here!! :-)
Good question. I have no idea what I would write in. I love MACRO-11,
but I'm not sure people in general would want to fool around in
assembler. And I also agree that C is not always ideal. But I don't know
what language I would recommend.
>>> All you would really need to develop would be the
>>> support libraries. I am still trying to find the time to dig out an
>>> old version of GCC with the PDP-11 support in it to play with, just
>>> lack the time.
>>
>> Support libraries are also an issue, yes. We need all the Unixy
>> functions,
>
> Eventually. They open up a lot of possibilities. But then, if
> you are re-writting from scratch it makes it a good time to make
> the needed changes and additions.
Yes. If we do something from scratch, all the options are there. But
other programmers will probable have a hard time to understand how to
use it all. They'd try to write the Unix way, I'm afraid. :-)
>> or else it's pretty useless. :-/
>
> Do your current RSX users find it useless?
Current RSX users do not have gcc. :-)
Very few RSX users even program in C (on RSX).
But the DEC C compiler for RSX does its best to present something that
is Unix-y, including as much of the standard C libraries as possible.
Things that are missing is mainly fork(), select() and pipes. And
anything socket related. But skipping that, you can write a program in
RSX pretty much the same way as on any Unix system. Not that you take
any advantage of anything that RSX is good at, but that was my point.
If you provide a C compiler, you pretty much have to provide something
that smells like Unix, or else it gets pretty useless, since people
expect any C environment to also work like a Unix environment.
> Then why are they
> still there? Same goes for all those OSes I mentioned above.
> Again, as much as I like Unix (and I have been doing it since
> 1980) it is not the only answer to any problem.
It definitely is not, but that was not my point.
>> Heck, gcc even have its built-in versions for a bunch of library
>> functions, in order to inline them. Making everything even more exciting.
>
> Depending on the function, that's probably not really a problem.
> It is likely that in the long run those same functions might be
> wanted under RSTS and RSX as well.
They are very Unix-y and C-y. But sure, they are useful. Most functions
in the C library are useful. They just might not match the paradigms of
a non-Unix environment.
Most typically, that would be such a simple concept as strings for example.
>>>> However, RSTS/E with a Unix RTS would be cool. :-)
>>>
>>> Had that 30 years ago. Like so many ideas it was too far ahead of its
>>> time and, withered on the vine, all the work was lost and now we will
>>> have to re-invent the wheel once again.
>>
>> Cool. I didn't know that anyone had actually done this, even though it's
>> such an obvious thing to do.
>
> OK, to be honest, it was not what you would call an RTS. :-) I was
> refering to one of my pet peeves. The Software Tools Virtual Operating
> System which was probably more of a POSIX-like API than an RTS. But
> the idea was there. Let Unix software run on non-Unix systems. And
> the list of supported systems is mind-boggling!!
Ah. Darn. I was thinking of a real RTS. Just copy your Unix binary onto
your RSTS/E system, set it to use the right RTS, and then just run it.
That should be very doable (maybe even easy), with the RSTS/E RTS
design. It's a really cool concept.
Johnny
next prev parent reply other threads:[~2011-05-24 14:36 UTC|newest]
Thread overview: 146+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
2011-04-04 13:40 ` Dennis Grevenstein
2011-04-04 18:58 ` Jerome H. Fine
2011-04-04 20:55 ` Johnny Billquist
2011-04-30 22:27 ` billy
2011-05-01 14:01 ` Jerome H. Fine
2011-05-01 17:27 ` Johnny Billquist
2011-05-02 0:53 ` Jerome H. Fine
2011-05-01 21:16 ` glen herrmannsfeldt
2011-05-02 0:54 ` Jerome H. Fine
2011-05-02 4:07 ` Johnny Billquist
2011-05-02 13:37 ` Jerome H. Fine
2011-05-02 15:39 ` Johnny Billquist
2011-05-02 5:15 ` glen herrmannsfeldt
2011-05-03 1:20 ` jjh
2011-05-03 13:18 ` Bob Koehler
2011-05-03 16:51 ` Jerome H. Fine
2011-05-03 17:50 ` VAXTREK Bob Koehler
[not found] ` <j0Y9tTme9SEK@eisner.encompasserve.org>
2011-05-03 18:39 ` Y3K for PDP-11 Operating Systems Henry Crun
2011-05-03 19:56 ` Jerome H. Fine
2011-05-03 22:52 ` onedbguru
2011-05-04 0:07 ` Bill Gunshannon
2011-05-04 5:16 ` Richard B. Gilbert
2011-05-04 13:01 ` Bill Gunshannon
2011-05-04 14:19 ` Richard B. Gilbert
2011-05-04 14:58 ` Scott Dorsey
2011-05-04 16:33 ` Bill Gunshannon
2011-05-05 1:51 ` Richard B. Gilbert
2011-05-06 18:08 ` G Cornelius
2011-05-06 18:47 ` Richard B. Gilbert
2011-05-06 22:13 ` Johnny Billquist
2011-05-08 1:00 ` Rich Alderson
2011-05-08 1:51 ` Johnny Billquist
2011-05-08 11:19 ` Richard B. Gilbert
2011-05-09 21:32 ` Rich Alderson
2011-05-09 15:40 ` Rob Brown
2011-05-09 15:43 ` Johnny Billquist
2011-05-09 21:47 ` vandys
2011-05-09 22:05 ` Johnny Billquist
2011-05-09 23:05 ` vandys
2011-05-09 23:20 ` Johnny Billquist
2011-05-10 0:12 ` vandys
2011-05-10 1:36 ` Johnny Billquist
2011-05-10 2:01 ` glen herrmannsfeldt
2011-05-10 13:31 ` Bob Koehler
[not found] ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
2011-05-10 16:56 ` John Wallace
2011-05-10 17:50 ` Bob Koehler
2011-05-11 16:04 ` G Cornelius
2011-05-04 17:02 ` Johnny Billquist
2011-05-04 17:20 ` Bob Koehler
2011-05-04 18:10 ` glen herrmannsfeldt
2011-05-04 19:21 ` John Wallace
2011-05-04 22:06 ` MetaEd
2011-05-05 3:17 ` Johnny Billquist
2011-05-10 13:20 ` Bob Koehler
2011-05-10 13:29 ` Bob Koehler
2011-05-10 15:29 ` Johnny Billquist
2011-05-10 17:16 ` G Cornelius
2011-05-10 17:45 ` Bob Koehler
2011-05-10 21:34 ` Johnny Billquist
2011-05-10 17:58 ` Bob Koehler
2011-05-10 21:36 ` Johnny Billquist
2011-05-03 16:38 ` Jerome H. Fine
2011-05-03 11:28 ` paramucho
2011-05-03 16:09 ` Jerome H. Fine
2011-05-23 3:41 ` billy
2011-05-23 4:51 ` Johnny Billquist
2011-05-23 14:47 ` jjh
2011-05-23 15:04 ` Bill Gunshannon
2011-05-23 22:52 ` Johnny Billquist
2011-05-24 0:16 ` Bill Gunshannon
2011-05-24 0:40 ` Johnny Billquist
2011-05-24 12:58 ` Bill Gunshannon
2011-05-24 14:02 ` glen herrmannsfeldt
2011-05-24 14:36 ` Johnny Billquist [this message]
2011-05-24 16:42 ` Bill Gunshannon
2011-05-24 18:17 ` Johnny Billquist
2011-05-24 20:07 ` Bill Gunshannon
2011-05-25 1:07 ` Rich Alderson
2011-05-25 10:34 ` Johnny Billquist
2011-05-25 15:46 ` Bill Gunshannon
2011-05-25 23:00 ` Johnny Billquist
2011-05-26 15:50 ` Fritz Wuehler
2011-05-26 16:53 ` Johnny Billquist
2011-05-26 20:20 ` Fritz Wuehler
2011-05-28 18:01 ` Bill Gunshannon
2011-05-26 0:58 ` Rich Alderson
2011-05-26 1:23 ` glen herrmannsfeldt
2011-05-26 13:01 ` Bob Koehler
2011-05-27 0:54 ` glen herrmannsfeldt
2011-05-26 20:15 ` Rich Alderson
2011-05-26 23:56 ` glen herrmannsfeldt
2011-05-27 18:37 ` Rich Alderson
2011-05-27 0:02 ` glen herrmannsfeldt
2011-05-27 3:17 ` Johnny Billquist
2011-05-27 18:51 ` Rich Alderson
2011-05-27 19:48 ` Johnny Billquist
2011-05-27 18:35 ` Rich Alderson
2011-05-26 1:14 ` Jerome H. Fine
2011-05-26 1:32 ` glen herrmannsfeldt
2011-05-26 20:39 ` Jerome H. Fine
2011-05-26 15:50 ` Fritz Wuehler
2011-05-25 1:01 ` Rich Alderson
2011-05-26 12:53 ` Bob Koehler
2011-05-26 16:59 ` Johnny Billquist
2011-05-26 8:03 ` Fritz Wuehler
2011-05-26 14:21 ` paramucho
2011-05-26 18:50 ` billy
2011-05-27 11:58 ` paramucho
2011-05-27 17:23 ` billy
2011-05-26 17:04 ` Johnny Billquist
2011-05-27 1:30 ` Fritz Wuehler
2011-05-27 2:17 ` Scott Dorsey
2011-05-27 3:26 ` Johnny Billquist
2011-05-30 21:09 ` John Wallace
2011-05-31 1:15 ` Johnny Billquist
2011-05-31 18:02 ` jjh
2011-05-31 20:54 ` Bob Koehler
2011-05-31 21:37 ` glen herrmannsfeldt
2011-05-25 2:59 ` Jerome H. Fine
2011-05-25 10:51 ` Johnny Billquist
2011-05-25 12:36 ` Jerome H. Fine
2011-05-25 17:25 ` Tom Lake
2011-05-25 18:01 ` Jerome H. Fine
2011-05-25 18:44 ` Johnny Billquist
2011-05-26 1:20 ` Rich Alderson
2011-05-26 16:53 ` Rob Brown
2011-05-26 20:27 ` Rich Alderson
2011-05-27 3:27 ` Johnny Billquist
2011-05-26 20:38 ` Jerome H. Fine
2011-05-27 4:44 ` Johnny Billquist
2011-05-24 12:02 ` paramucho
2011-05-23 14:48 ` Jerome H. Fine
2011-05-23 22:46 ` Johnny Billquist
2011-05-24 0:19 ` Bill Gunshannon
2011-05-24 0:43 ` Johnny Billquist
2011-05-25 18:41 ` Jerome H. Fine
2011-05-24 2:54 ` billy
2011-05-24 13:03 ` Bill Gunshannon
2011-05-24 14:39 ` Johnny Billquist
2011-05-24 15:10 ` billy
2011-05-24 15:48 ` Johnny Billquist
2011-05-24 16:54 ` Bill Gunshannon
2011-05-24 14:42 ` billy
2011-05-24 16:56 ` Bill Gunshannon
2011-05-25 18:05 ` Jerome H. Fine
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox