sente
datascript
sente | datascript | |
---|---|---|
4 | 24 | |
1,725 | 5,358 | |
0.3% | - | |
6.5 | 7.7 | |
22 days ago | 6 days ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | Eclipse Public License 1.0 |
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.
sente
-
Libraries that join front and back end?
https://github.com/ptaoussanis/sente doesn’t abstract it away completely, but very convenient
-
Any recommendations for a websoket library?
https://github.com/ptaoussanis/sente have I user with http-kit, works great
-
Reflecting on 18 months of Clojure - Building a SaaS business with Clojure
sente
-
ClojureScript Browser Multiplayer Engine
I think the easiest way to do frontend games is with websockets. It's annoying to have to poll and makes a lot more sense for the backend to push data to the frontend. Sente https://github.com/ptaoussanis/sente is like socket.io in that it provides a nice wrapper for an event-driven architecture on top of websockets that is really well suited for games. It's what I used in coding up a multiplayer Go game.
datascript
-
Datalog in 100 lines of JavaScript (2022)
Hi pests, I don't think the criticism in the comments gives a full picture.
I wrote about a particular flavor of datalog, in common use today. [1] [2]. The earliest representation I know, which matches the syntax of my essay, was in SICP [3]
There's another, more academic form of datalog, which looks a lot more like prolog. Both have lots of similarities: both systems have a set of facts and rules. Both systems have can take a partially filled fact or rule, and find all matching facts. The more academic flavors of Datalog are useful for general logic, and particularly powerful for recursive questions. The variant I showed is more tailed for database queries.
[1] https://github.com/tonsky/datascript
-
XTDB on Mobile Possible?
There is also datascript as a similar option.
- FoundationDB: A Distributed Key-Value Store
-
wotbrew/relic: FRP for Clojure(Script)
What's the use case for relic? Sounds similar to https://github.com/tonsky/datascript ?
- Introduction to Datalog
- Clojure Turns 15 panel discussion video
-
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite, written in Rust
This look nice !
Datascript seems to be another Datalog engine (in memory only)
https://github.com/tonsky/datascript
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
-
Working with large maps
An in-memory database like Datascript may be worth looking into. Otherwise you could take an indexing approach: put all the data into one big map indexed by some unique key, and have a bunch of supplementary indexes that are updated on insertion.
- Obsidian Dataview: Turn Obsidian Vault into a database which you can query from
What are some alternatives?
aleph - Asynchronous streaming communication for Clojure - web server, web client, and raw TCP/UDP
asami - A graph store for Clojure and ClojureScript
nippy - The fastest serialization library for Clojure
datahike - A durable Datalog implementation adaptable for distribution.
overarch - Overarch provides a data model for the holistic description of a software system, opening multiple use cases on the model data. Supports C4 and UML diagram generation with PlantUML.
datalevin - A simple, fast and versatile Datalog database
ring-jetty9-adapter - An enhanced version of jetty adapter for ring, with additional features like websockets, http/2 and http/3
10000-markdown-files - 10,000 markdown files. Useful for stress testing note-taking tools.
Socket.io - Realtime application framework (Node.JS server)
xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt
play-cljc - A Clojure and ClojureScript game library
Apache AGE - Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL. [Moved to: https://github.com/apache/age]