This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-17
Channels
- # adventofcode (3)
- # announcements (1)
- # babashka (25)
- # beginners (55)
- # calva (12)
- # cider (40)
- # clj-kondo (13)
- # clojure-australia (2)
- # clojure-dev (11)
- # clojure-europe (67)
- # clojure-france (6)
- # clojure-nl (16)
- # clojure-uk (9)
- # clojuredesign-podcast (9)
- # clojurescript (17)
- # conjure (7)
- # cursive (3)
- # datomic (3)
- # emacs (8)
- # figwheel-main (7)
- # fulcro (21)
- # google-cloud (21)
- # graphql (8)
- # helix (1)
- # honeysql (32)
- # instaparse (2)
- # jobs (2)
- # jobs-discuss (2)
- # meander (80)
- # mount (1)
- # off-topic (25)
- # pathom (31)
- # polylith (1)
- # rdf (24)
- # re-frame (21)
- # reagent (29)
- # releases (1)
- # remote-jobs (1)
- # shadow-cljs (16)
- # slack-help (6)
- # sql (5)
- # tools-deps (23)
- # uncomplicate (2)
- # wasm (2)
- # xtdb (4)
Was very happy to find how easy it is to get started with Crux and RocksDB. Dumb question: How come it works without needing to install RocksDB on my mac? I thought I'd need to install RocksDB locally, same as needing to install PostgreSQL on my mac if I wanted to work with that. Instead, I just add the juxt/crux-rocksdb dependency to my project.clj and it works. Does that jar somehow include the binary for RocksDB?
@jtlocsei Yup, it's a dependency.
Great! Thanks for explaining. I guess what I was struggling to get my head around is that RocksDB is written in C++, so how does it work inside of a Java dependency? But now I see that rocksdbjni contains binaries for Linux, mac and windows (https://mvnrepository.com/artifact/org.rocksdb/rocksdbjni)
If you try a lein deps :tree
on a simple project.clj
with a crux-rocksdb
dep in it you'll see:
[juxt/crux-rocksdb "21.01-1.14.0-beta"]
... some other stuff ...
[org.rocksdb/rocksdbjni "6.12.7"]