clojure-cookbook
durable-atom
clojure-cookbook | durable-atom | |
---|---|---|
2 | 1 | |
2,570 | 9 | |
0.2% | - | |
0.0 | 0.0 | |
4 months ago | about 8 years ago | |
Clojure | Clojure | |
- | 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.
clojure-cookbook
-
Free 500+ books and learning resources for every programmer.
Clojure Cookbook
-
Memory-map files instead of slurping
Since it's encoded as edn, you could use clojure.edn/read with a file stream and read from the file as in https://github.com/clojure-cookbook/clojure-cookbook/blob/master/04_local-io/4-14_read-write-clojure-data-structures.asciidoc . The edn-seq function defined at https://stackoverflow.com/questions/15234880/how-to-use-clojure-edn-read-to-get-a-sequence-of-objects-in-a-file is also viable if you are lazily reading and processing using sequences.
durable-atom
-
Memory-map files instead of slurping
We have already study cli-mmap & iota, both projects are excellent to house data large than memory heap. We are studying this durable-atom, It is a drop-in replacement for regular clojure atom, uses slurp & spit for reading/writing to the disk. The only drawback is a limit on big data-structures that can't be retained in memory. We are not very experience with the internal clojure but we try to replace slurp & spit with memory mapped file.
What are some alternatives?
clj-mmap - A Clojure library designed to allow you to easily mmap files via Java's NIO, and to handle files larger than 2GB.
iota - A simple IO library for using Clojure's reducers
lisp-koans - Common Lisp Koans is a language learning exercise in the same vein as the ruby koans, python koans and others. It is a port of the prior koans with some modifications to highlight lisp-specific features. Structured as ordered groups of broken unit tests, the project guides the learner progressively through many Common Lisp language features.
How-to-Make-a-Computer-Operating-System - How to Make a Computer Operating System in C++
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
PythonDataScienceHandbook - Python Data Science Handbook: full text in Jupyter Notebooks