News for hackers. Stuff that matters.
Re:Matestack – Reactive UIs in pure Ruby by Fire-Dragon-DoL on Sunday November 22, 2020 @11:04AM (#25178517)
No, liveview does everything on the server, including holding the frontend state, which is why it's so powerful.

Liveview can't be reproduced in ruby, currently. It might be a possibility once Ractor are there, but even in that case Ruby doesn't have the performance optimizations of elixir templates (and given how liveview works, those are needed). It might never be possible, or it might be possible in many years.

Re:Matestack – Reactive UIs in pure Ruby by cutler on Sunday November 22, 2020 @01:13PM (#25179550)
Yes this is where I see Ruby 3 being irrelevant, unfortunately. Ruby and Python are single-threaded, dynamically typed languages designed for the 1990s. You can try to retrofit anything you like and pretend you have real concurrency or static typing but it will never be the real thing and you'll just end-up with thousands of legacy libraries.
Re:Matestack – Reactive UIs in pure Ruby by Fire-Dragon-DoL on Sunday November 22, 2020 @03:10PM (#25180616)
I think Erlang is older than Ruby? (Not sure, but it's pretty old!) As for single threaded, they are not, even with green threads, IO is usually the problem (otherwise you chose the wrong language).

As for static typing, there advantages and disadvantages to that, I wouldn't consider that a minus at all. A good engineering culture brings you in the same place with a dynamic or static typed language. Same goes for a bad engineering culture.