On Fri, 13 Nov 2026 15:05:00 +0100, Alexander Schreiber wrote:
> Lawrence D’Oliveiro <l…@nz.invalid> wrote:
>>
>> Perception doesn’t count. That’s reality. You can’t *pretend* to
>> offer interactivity: you really have to have support for
>> interactivity built into your architecture from the lowest levels
>> up. You can’t build per-character response on top of block mode.
>
> You absolutely can and the interactive web proves it.
The interactive web is not run on mainframe-style block-mode
terminals.
>> WebSocket connections are asynchronous full-duplex connections --
>> that’s not “RPC” by any stretch.
>
> Of course it is. RPCs come in various kinds, from the classic
> one-shot (establish connection, send request, wait for and read
> response, close connection) to streaming RPCs.
“RPC” stands for “Remote Procedure Call”. It’s emulating a procedure
call over a network connection. You know how a procedure call works,
don’t you? The caller transfers control to the callee, waits for the
callee to do its thing and return a result, whereupon the caller
resumes execution again.
And nobody ever described block-mode mainframe terminals as running
any kind of “RPC” either. The “RPC” concept was only invented after
mainframes had been around for a few decades.
Before getting even deeper into your love for RPCs and seeing every
kind of network protocol as RPCs, maybe you should read this
<https://www.cs.vu.nl/~ast/Publications/Papers/euteco-1988.pdf>.
> Even HTTP, which is not exactly the most efficient RPC method, came
> up with streaming RPCs: HTTP 1.1 pipelining, where multiple requests
> are handled within the same TCP connection.
Those don’t work for RPCs, though.
> And "asynchronous" just means you don't do blocking reads and
> instead use the framework equivalent of select(2) for a more fluid
> interaction.
Well, maybe not select(2), maybe something more modern?