Announcement: Clarity Web Framework

28 views
Skip to first unread message

Gregory Propf

unread,
Jan 6, 2023, 4:34:52 PM1/6/23
to emscripten-discuss
Hello everyone. I thought I would make a formal announcement of something I've been developing on and off since May of last year. It's called Clarity (https://github.com/gpropf/clarity) and is a sort of lightweight reactive web framework written in C++ and using Emscripten to compile to webasm. It's somewhat along the lines of React or Vue but targeting C++ rather than JavaScript. It's not formally an FRP system (at least not yet) but I wrote it mainly to provide a simple way to connect program values with web fields and make interactive updates automatic. I'm planning a second version that will be more formally FRP with pure functions at the core but the existing library will remain and be developed as well. You can read about that in the preface in the README. I'm also developing a set of demo apps along with the library in a separate repo - https://github.com/gpropf/clarity-apps. These apps are rather rough and don't do very much yet. They're really intended as proof of concept and example code. I've added Clarity to the wiki as well - https://github.com/emscripten-core/emscripten/wiki/Porting-Examples-and-Demos#application-frameworks. Questions and comments are welcome!

Sam Clegg

unread,
Jan 9, 2023, 8:42:41 AM1/9/23
to emscripte...@googlegroups.com
Thanks Gregory!

Have you considered publishing the sample apps to somewhere (e.g. github pages) so that we can try them out live?

cheers,
sam

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/0dfafeaa-3fd1-4c03-8da2-8ef79c26013en%40googlegroups.com.

Gregory Propf

unread,
Jan 9, 2023, 3:02:57 PM1/9/23
to emscripten-discuss
Hi Sam, I'm afraid I'm a bit behind the times with some of the new "live" techniques but yes, that would be a nice thing to try. I'm afraid I'm job hunting now so I'm busy with that but I'll create a TODO list and add it to the top. I'll at least look at what I need to do to make that work since it would be a good thing to know in general. Thanks for your idea. - Greg
Reply all
Reply to author
Forward
0 new messages