Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Web server running on RSX-11M-PLUS
Date: Tue, 17 Apr 2012 00:20:18 +0200	[thread overview]
Message-ID: <jmi5v3$ja3$2@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <mddbomrpifd.fsf@panix5.panix.com>

On 2012-04-16 21:48, Rich Alderson wrote:
> Johnny Billquist<bqt@softjar.se>  writes:
>
>> I also happen to have the DEC PDP-11 C compiler for RSX, which is pretty
>> much a full blown ANSI C. Not overly impressed by the code it generates,
>> but it's a rather nice compiler over all (very little, if any
>> optimization done by the compiler). And yes, I have also been working on
>> the TCP/IP interface to that. I have a somewhat usable version, but I'm
>> fighting with myself about if I should go with my original idea, in
>> which where you actually open the tcp socket and get a file handle, to
>> which you can then do printf() and so on, or if I should implement the
>> Unix style socket interface.
>
>> The Unix style sockets is something people know, which in a way makes it
>> easier for people to write code, but on the other hand, it's a stupid
>> interface and somewhat inefficient.
>
> Let me chime in and say "Do it the right way.  Don't use sockets!"

:-)
Thanks...
I might do both in the end. I already have the file I/O interface 
working, although it needs some more polishing. The most annoying detail 
being that blocking of reads if you've done a write and vice versa in 
the standard C I/O routines. I have a workaround, but it is ugly... 
Interfacing from other languages are much easier.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


  reply	other threads:[~2012-04-16 22:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 14:13 Web server running on RSX-11M-PLUS Johnny Billquist
2012-04-13  2:56 ` Mark Matlock
2012-04-15 12:07 ` ChrisQ
2012-04-15 13:41   ` Johnny Billquist
2012-04-16 19:48     ` Rich Alderson
2012-04-16 22:20       ` Johnny Billquist [this message]
2012-04-17 19:14     ` John Wallace
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