[HN Gopher] Vrs: Personal Software Runtime inspired by Emacs, Pl...
       ___________________________________________________________________
        
       Vrs: Personal Software Runtime inspired by Emacs, Plan 9, Erlang,
       Hypermedia
        
       Author : surprisetalk
       Score  : 110 points
       Date   : 2025-05-27 16:19 UTC (3 days ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | ConanRus wrote:
       | Looks good, but Erlang gen_srv, supervisor analogs needs to be
       | created, along with the standard Erlang messaging logic around
       | it, for this project to be useful.
        
         | upghost wrote:
         | could you dive into the gen_srv a bit more? From what I
         | understand about erlang the value prop is already enormous,
         | what extra does gen_srv add? It seems like people who Erlang
         | understand this intuitively so I haven't really been able to
         | find it explicitly explained anywhere
        
           | asabil wrote:
           | `gen_server` is an abstraction over the a client sending a
           | `request` that a server services to produce a `response` to
           | be sent to the client.
           | 
           | The `gen_server` implementation takes care of things like
           | timeouts, servers terminating before a response is produced
           | as well as maintaining the server state.
           | 
           | You can read more here at [1], [2] and [3].
           | 
           | [1]: https://learnyousomeerlang.com/clients-and-
           | servers#callback-...
           | 
           | [2]: https://www.erlang.org/doc/system/gen_server_concepts
           | 
           | [3]: https://www.erlang.org/doc/apps/stdlib/gen_server.html
        
             | vector_spaces wrote:
             | I'll add to this that the "abstraction" component of this
             | description is key and the use-case for a gen_server is far
             | more broad than what you might expect in say a networking
             | or web context.
             | 
             | You would use them for instance when you need to group
             | behavioral units with a defined interface, even if you
             | don't require any explicit networking.
             | 
             | This is a bit reductive and wrong in some ways but think of
             | gen_server modules and instances as "sort of" like
             | classes/objects. You "send messages/requests" instead of
             | "calling methods," but the spirit is essentially the same
             | -- it's a way of modeling the world with code
        
       | cess11 wrote:
       | Does this project have some relation to LFE?
        
       | tenwz1 wrote:
       | I just wanna say Long Live Lisp
        
       | bobrobpr wrote:
       | This is some tweakers hallucination. Jeez! WTF?
        
       ___________________________________________________________________
       (page generated 2025-05-30 23:01 UTC)