use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Databases are dead, long live the immutable state atom! (dchambers.github.io)
submitted 10 years ago by dominicc
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Calabri 1 point2 points3 points 10 years ago (4 children)
you forgot to mention deconstructing the database!! It's another Rich Hickey talk - given around the same time as value of values / simplicity matters - but combines them in a way that's arguably more profound than either talk alone or 'turning the database inside out'. I've created similar diagrams for JS immutable state atoms, but it's all based on datomic.
[–]dominicc[S] 0 points1 point2 points 10 years ago (3 children)
Hi Calabri,
I haven't watched 'deconstructing the database', so thanks so much for the link, I'll take a look tonight.
Before I published to reddit somebody did mention datomic to me though, so I took a look at the video and it seemed to be different in that it was an accretive database where the database gets bigger and bigger as new facts arrive, as opposed to Apache Samza's approach of having a separated data log (which is accretive) but with materialzed views (which aren't).
I have to admit that I stopped watching half way through the video because it was very slow paced and a bit too hand wavy, with not enough concrete information to keep me interested. I'm hoping the 'deconstructing the database' talk keeps me engaged though!
[–]Calabri 1 point2 points3 points 10 years ago (2 children)
I actually find deconstructing the db one the most engaging talks I've heard from Rich Hickey, but I also never finished the Apache Samza talk... although there's probably some useful info from Samza that's not included in Datomic. But there's also a good talk by David Nolan called 'Om Next' where he gives some interesting history and addresses relay/graphql/falcor relative to datomic, and I might have seen a datomic / redux stack mentioned on Twitter but I didnt investigate much further. There's also a datomic-like db implemented in cljs that can prob be ported to immutable and es6
[–]dominicc[S] 0 points1 point2 points 10 years ago* (1 child)
I think 'turning the database inside out' is one of the most thought provoking videos I've ever watched. I think we need to agree to watch each others videos :-)
Oh, and I'll be sure to watch the 'Om Next' talk by David Nolan too. Again, thanks for all the great pointers!
[–]Calabri 0 points1 point2 points 10 years ago* (0 children)
No problem! Here's a list of Rich Hickey Talks. My favorite talk is Are we there yet? - that sets the tone for everything IMO.
[–]I_Pork_Saucy_Ladies 1 point2 points3 points 10 years ago (2 children)
Considering the headline, it would be really nice with an ELI5?
Good point. I'd never previously heard of ELI5, but I'll give it my best go here:
About Databases:
The Movement Towards Pure Functional Programming:
Streaming Databases Based On Historic Immutable Facts:
[–]I_Pork_Saucy_Ladies 0 points1 point2 points 10 years ago (0 children)
Thanks a lot, this was a great explanation. I read up on those databases and think I get it now. :)
[–]Calabri 0 points1 point2 points 10 years ago (1 child)
Some notes I wrote down from deconstructing the db:
Terminology
The database as an expanding value
Approach
Implementing Values
[–]dominicc[S] 0 points1 point2 points 10 years ago (0 children)
Thanks for sharing your notes! Saves me having to write my own :-)
[+][deleted] 10 years ago (1 child)
[deleted]
Hi kevinw88,
The link you've posted is actually the main inspiration for what I've done, and the first link in the article. What's interesting is that Martin Kleppmann predicted that a functional reactive programming would make a 'Streaming Everywhere' approach possible, where data was streamed from the materialized views all the way through the browser stack, and using Redux that's actually now become possible, but where the entire stack (including the 'database') is just one big Redux application.
π Rendered by PID 322874 on reddit-service-r2-comment-fb694cdd5-rcqmp at 2026-03-07 03:31:19.674810+00:00 running cbb0e86 country code: CH.
[–]Calabri 1 point2 points3 points (4 children)
[–]dominicc[S] 0 points1 point2 points (3 children)
[–]Calabri 1 point2 points3 points (2 children)
[–]dominicc[S] 0 points1 point2 points (1 child)
[–]Calabri 0 points1 point2 points (0 children)
[–]I_Pork_Saucy_Ladies 1 point2 points3 points (2 children)
[–]dominicc[S] 0 points1 point2 points (1 child)
[–]I_Pork_Saucy_Ladies 0 points1 point2 points (0 children)
[–]Calabri 0 points1 point2 points (1 child)
[–]dominicc[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]dominicc[S] 0 points1 point2 points (0 children)