Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Clojure JNA - access C libs from Clojure (github.com/chouser)
31 points by lhorie on May 25, 2009 | hide | past | favorite | 3 comments


JVM will access your "C libs" just fine, but the code written for JVM usually stays under JVM.

I am sure it's possible to go the opposite direction, but then there is "fun" of dragging this fat pig alongside your application. I.e. JVM bytecode is as useful as a swap file to CRuby, CPython, C, Haskell, OCaml and millions of other programmers. Linux would have died long ago if JVM took off. I'm glad it didn't.

Got an idea for a cool open source project? Don't bury it under 6 feet of JVM. Please.


The reason I posted this is that recently I've been seeing some complaints about clojure performance and this seems like a great way to get close to the metal when you really need to.


What are good places to look for interesting C and C++ libraries? I am more familiar with the Java world, no idea where to start looking for C libs.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: