submillisecond-live-view
submillisecond
submillisecond-live-view | submillisecond | |
---|---|---|
5 | 14 | |
241 | 898 | |
1.2% | 0.3% | |
4.8 | 4.2 | |
11 months ago | about 2 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
submillisecond-live-view
-
Rust LiveView?
One of the most interesting in my opinion is Lunatic, which is a web assembly runtime written in Rust. Lunatic has a framework called Submillisecond that is heavily inspired by LiveView.
-
Lunatic is an Erlang-inspired runtime for WebAssembly
I'm Bernard, the creator of lunatic. Great to see us back on HN and happy to answer any questions!
We have been busy pushing out a lot of new stuff. Recently we released a web framework [0] for Rust building on top of lunatic, and a live-view library [1] for crating full stack apps in Rust without JS. For now we are staying close to the Phoenix LiveView implementation, where everything is rendered on the backend and just a diff is sent over websockets to the frontend. But a big advantage of Wasm is that it runs in the browser too, so we hope to leverage this part to move some of the logic directly into the browser, like form checking, or offer a way to create offline-first experiences with the backend running as PWA in a service worker.
[0]: https://github.com/lunatic-solutions/submillisecond
[1]: https://github.com/lunatic-solutions/submillisecond-live-vie...
- LiveView for Rust
-
submillisecond's LiveView - Create rich frontend apps in pure Rust
I've just made a PR to support "anonymous events", to allow you to handle events directly within the html. Though it comes with some downsides. https://github.com/lunatic-solutions/submillisecond-live-view/pull/10
submillisecond
-
What would you rewrite in Rust?
I believe that https://github.com/lunatic-solutions/submillisecond wants to be that.
-
From Erlang to Rust and Lunatic
Lunatic is exciting, I'm keeping an eye especially on the submillisecond web framework that targets wasm: https://github.com/lunatic-solutions/submillisecond
-
Lunatic is an Erlang-inspired runtime for WebAssembly
- https://github.com/lunatic-solutions/submillisecond/tree/mai...
-
Is Rust Ready for the Web Yet?
Lunatic runtime for Rust to avoid the async parts might become quite nice in the future: https://github.com/lunatic-solutions/submillisecond
Not sure what it might take for someone to write database connectors for it but it does look promising.
- Submillisecond: A lunatic web framework for the Rust language
-
Htmx, WebAssembly, Rust, ServiceWorker Proof of Concept
What a coincidence, I was just discussing on discord a similar approach for our Rust web framework submillisecond[0].
Submillisecond uses lunatic to run Rust code compiled to WebAssembly on the backend. We are working on a LiveView-like library now. And one thing I would love to give developers for free is an offline-first experience. You write everything in Rust, compile it to WebAssembly, run it as a regular backend on lunatic, but also allow for moving the whole server into the browser for a offline experience. If SQLite is used for the DB, it could also potentially run in the browser.
This doesn't need to move the whole app into the browser, but could do so just for more latency sensitive workloads that don't fit LiveView well. Like form validation on every keypress, etc.
[0]: https://github.com/lunatic-solutions/submillisecond
- Submillisecond Web Framework
- A lunatic web framework for the Rust language
-
Lunatic: Erlang-Inspired Runtime for WebAssembly
Web socket support was added a few days ago[0], but it's still not part of a release. I will probably push out alpha1 tomorrow including it and a few other changes.
[0]: https://github.com/lunatic-solutions/submillisecond/pull/78
What are some alternatives?
artichoke - 💎 Artichoke is a Ruby made with Rust
yew-beyond-hello-world - yew rust tutorial
submillisecond-live-vie
WeightTracker - Back end for saving data for weight tracker.
beam_languages - Languages, and about languages, on the BEAM
wasm-service - HTMX, WebAssembly, Rust, ServiceWorkers
framework - Mayu is a live updating server-side component-based VDOM rendering framework written in Ruby
Soccer - Tracker for players play time
rust - Empowering everyone to build reliable and efficient software.
swup - Versatile and extensible page transition library for server-rendered websites 🎉
as-lunatic - This library contains higher level AssemblyScript wrappers for low level Lunatic syscalls.
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly