4 ms·
I was thinking of a project I wanted to start, but I don't know if it would interest anyone. Basically, I'd like to try to build all sort of app with program c
by kuon 6y ago
I was thinking of a project I wanted to start, but I don't know if it would interest anyone.
Basically, I'd like to try to build all sort of app with program components similar to the Elm architecture (init, update, step, subscribe).
Those programs would be a bit similar to objects in OO except with stricter rules.
I did a proof of concept and it works very well for simple tasks (like subscribing to HttpServer.sub and getting messages for requests to your update function). The good side is that you can have very simple API (I'd really like it to be usable by anyone), it's very easy to go massive multi-threading, refactoring is easy, you never introduce hard dependency in your code and having a very strict model helps organizing code.
I wanted to support wasm with a subset of the API (that's why I think of it now).
But I stopped, because I realized it would certainly be of little interest except for show.