News for hackers. Stuff that matters.
Re:“What Alan Kay Got Wrong About Objects” by dnautics on Monday November 18, 2019 @01:40AM (#21562375)
I believe you're mistaken about this one:

> Automatic cancellation of requests that have taken too long. For example, in Erlang it is necessary for application programmers to explicitly code a time-out for each message send that might take too long.

https://hexdocs.pm/elixir/GenServer.html#call/3

> timeout is an integer greater than zero which specifies how many milliseconds to wait for a reply, or the atom :infinity to wait indefinitely. The default value is 5000. If no reply is received within the specified time, the function call fails and the caller exits.

Re:“What Alan Kay Got Wrong About Objects” by senderista on Monday November 18, 2019 @02:14AM (#21562483)
That's the gen_server functional interface, not the message send primitive (!).
Re:“What Alan Kay Got Wrong About Objects” by rkangel on Monday November 18, 2019 @08:17AM (#21564029)
That's OK. It doesn't matter at what abstraction layer the timeout is taken care of as long as it is taken care of. That it's in a library rather than the language core is an irrelevant distinction.
Re:“What Alan Kay Got Wrong About Objects” by strmpnk on Monday November 18, 2019 @09:24AM (#21564497)
It’s technically the receive primitive doing this using the after clause. The addition of unique references and selective receive then allows “call” style interactions to built (like gen_server).

Likewise, links and monitors are used for lifetime concerns instead of reference counting actors like Pony or using a global tracing collector. This has some advantages and disadvantages but for the most part I personally find it far more practical than other models which are more like the classic actor model.

Re:“What Alan Kay Got Wrong About Objects” by dnautics on Monday November 18, 2019 @05:14AM (#21563132)
Aha, thanks. I guess I'm not clear as to why an actor would care about the egress time of a message (unless it were waiting for a response)