Fork me on GitHub

@borkdude - I have an example of compiling avclj into a shared library and building a c++ executable to encode some h264 video. It wasn't too bad but here are caveats like your library export file cannot have reference vars not referenced from your jar's main class. •


It is pretty damn amazing you can compile Clojure, especially mixed native/JVM clojure like this into a shared library and the thing actually works when called from c++.

aw_yeah 3

Wow. Now we can build hybrid C++ systems with Clojure as the dynamic language instead of Python or Common Lisp. It just keeps gettin' better!


That could be really huge in the future! 👏👏👏


yeah, that is awesome :) thanks for the examples!


I think your C FFI stuff might come in handy for building this directly as a postgres plugin without the Rust wrapper and do more interesting things


(not really working on this at the moment, more of a toy project currently)


I would love to talk about it at some point. A postgres plugin pathway sounds pretty fun 🙂. So amazing where things sit right now; never thought this would be possible.