News for hackers. Stuff that matters.
Re:Electric Clojure: unified fullstack application compiler by dustingetz on Monday February 13, 2023 @02:12PM (#34778636)
One quick sketch of offline-first (there are many other ways):

imagine a database like DataScript (already OSS and built in Clojure), move key components like the query engine into Electric Clojure, now the "DAG slice" can cut right through the query engine and it's internal data structures, such that the indexes are partially on the client, and the final stages of query filtering are on the client. A network-transparent database! The bulk of the work, and sensitive data, stays on the server; but the last mile user data happens on the client. Electric can transparently move portions of the indexes to the client for local offline query.

0 LOC cost to userland!

There are no comments on this comment yet.