News for hackers. Stuff that matters.
Re:Elixir for Humans Who Know Python by traverseda on Saturday February 25, 2023 @09:12AM (#34936798)
Real time like a chat app, or a video game or something. Not just a fast site. Seems like most "real-time" sites are slower as they have a harder time taking advantage of caching and the like, or use a lot of slow client-side javascript that inevitably works poorly.

Basically if you need the server to be able to change the data a user is currently looking at, collaborative multi-user stuff mostly. Liveview could be great if you're building google docs, but you could probably build youtube using just a more traditional framework like django.

Re:Elixir for Humans Who Know Python by mixmastamyk on Saturday February 25, 2023 @05:31PM (#34941117)
Been looking at CRDTs lately for this, sounds like Elixir would be a good fit. Although what I've seen before has used C++ or Rust? to compile to wasm for the graphics part of the front end. Do all these technologies work together well?
Re:Elixir for Humans Who Know Python by AlchemistCamp on Sunday February 26, 2023 @04:24AM (#34944221)
Phoenix has used CDRTs going back to version 1.2 when Phoenix Presence was introduced. Here's a podcast about it (2016): https://changelog.com/podcast/208