Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-26 Thread George Neuner
On 11/26/2018 4:44 PM, Neil Van Dyke wrote: I don't know how Snobol dropped out of awareness.  I almost never heard of it in the MS-DOS, Windows, or Unix workstation circles, even before Perl, though occasionally you'd see an interpreter on a BBS or freeware/shareware list. That's funny bec

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-26 Thread Neil Van Dyke
I don't know how Snobol dropped out of awareness.  I almost never heard of it in the MS-DOS, Windows, or Unix workstation circles, even before Perl, though occasionally you'd see an interpreter on a BBS or freeware/shareware list. The most memorable mention I recall was a grad student in the '

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-26 Thread George Neuner
Very nice recap.  +1. On 11/26/2018 1:50 PM, Neil Van Dyke wrote: * the alternative to Perl was usually C or early C++ (though extension languages like Tcl and Python were starting to kick around; but Tcl's main use was relatively easy GUI development, and Python was just a bare language

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-26 Thread Neil Van Dyke
George Neuner wrote on 11/26/18 1:07 PM: Perl should talk ... [...] It's a mystery to me how it became so popular. I bet George knows the story, but I'd like to tell it for the list, since I think this is relevant background, to people interested in practical programming languages research...

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-26 Thread George Neuner
On 11/26/2018 11:40 AM, David Storrs wrote: On Sun, Nov 25, 2018 at 4:16 AM George Neuner > wrote: On 11/25/2018 4:11 AM, Bogdan Popa wrote: Is there a way to fork(2) in Racket? Unfortunately, no.  Racket is cross-platform, and Windows doesn't ha

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-26 Thread David Storrs
On Sun, Nov 25, 2018 at 4:16 AM George Neuner wrote: > > On 11/25/2018 4:11 AM, Bogdan Popa wrote: > > Is there a way to fork(2) in Racket? > > Unfortunately, no. Racket is cross-platform, and Windows doesn't have the > concept of fork(). > As a point of information, Perl's approach is to make

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-25 Thread George Neuner
On 11/25/2018 4:11 AM, Bogdan Popa wrote: One way you might also solve this on UNIX systems is you could fork after listening on the socket. The file descriptor for the socket from the parent would then be shared with the children and so their accept calls would be "load balanced" by way of th

Re: [racket-users] Re: Multiple places listening to a TCP port [was: Racket application servers]

2018-11-25 Thread Bogdan Popa
One way you might also solve this on UNIX systems is you could fork after listening on the socket. The file descriptor for the socket from the parent would then be shared with the children and so their accept calls would be "load balanced" by way of them all accepting connections from the same q