News for hackers. Stuff that matters.
Re:Elixir – Phoenix LiveView Native by olivermuty on Friday September 02, 2022 @05:23PM (#32695867)
They jumped the gun a bit with the page, but what I have been able to piece together so far is that they renamed the WASM runtime from Lumen to FireFly and FireFly is what powers this through WASM.

So OTP is running natively on the phone.

This is essentially React Native reinvented with Elixir, which to me is pretty awesome because I really dislike React Native although we have done quite a few projects with it :)

Edit: Totally mistaken, I stand corrected! Turns out I jumped the gun instead. Hopefully FireFly and this CAN give me the RN replacement I desire.

Re:Elixir – Phoenix LiveView Native by ricketycricket on Friday September 02, 2022 @05:37PM (#32696008)
It is not on the phone, no. I'm sure eventually you could run it on the phone like Elixir Desktop[1], but that isn't what it is at the moment. The phone connects to the server via a websocket and the SwiftUI "DOM" is pushed to the client just like HTML would be. In fact, I already built a hybrid Web & Native demo[2] that demonstrates that it's just bog-standard LiveView.

[1] https://github.com/elixir-desktop/desktop

[2] https://natetodd.com/building-for-web-and-native-with-livevi...

Re:Elixir – Phoenix LiveView Native by uxcolumbo on Saturday September 03, 2022 @03:53AM (#32699719)
What do you dislike about RN?

Some are using ClojureScript to write RN apps, like the folks at vouch.io … here is a talk by David Nolan

https://youtu.be/3HxVMGaiZbc?t=1015