Using Clojure with C APIs for crypto and more - lvh
2,649 views · Published 1 December 2016 · 41:08 · Indexed 24 October 2026
Channel: ClojureTV · 2016 · Science & Technology
One of Clojure’s strengths is its host interop, but sometimes you really want to call some C code. Perhaps you have a legacy .so/.dll you inherited; perhaps you’re calling a video decoder or some cryptographic routines. This talk focuses on that interop, using a cryptographic library (caesium, which binds libsodium) as a specific example. It shows how Clojure can still leverage its strengths in this context, providing a significantly better environment for both R&D and general use compared to either plain Java or even other high-level C-centric programming environments like Python. This talks includes the mechanics of accomplishing this, lessons learned managing a real library used in production, and future efforts to make this process smoother for future programmers (e.g. manylinux1).
More from this channel
-
18:41
Fertile Ground, the Roots of Clojure - Michael Fogus
-
39:41
Lisp, Functional Programming, and the State of Flow - Tom Faulhaber
-
39:17
Protocol XIII: Clojure Protocols Explained - Sean Devlin
-
5:23
Aleph: A Framework for AsynchronousCommunication - Zach Tellman
-
26:57
Clojure and Android - Daniel Solano Gomez
-
38:24
Performance in the Wild - Craig Andera
-
41:18
Concurrent Stream Processing - David McNeil
-
42:20
Ousterhout's Dichotomy Isn't (Part 2 of the Simplicity/Power/Focus Series) - Stuart Halloway