Which language package manager has the best experience for shipping native dependencies?
-
-
I guess the question really is for native deps, is "compile on install" the one true way? Does any system support pre packages native binaries or is that a disaster due to distro explosion.
-
mkmf in Ruby allows you to use pkgconfig natively for native code, and fallback to local compile. I like this for Linux.
-
Interesting...
-
mkmf is implemented pretty terribly, but it works very well, and other systems should port it to a nicer impl.
-
So this is a library that gems use to consume native libs? Does this logic run at gem install time or at runtime?
-
It runs at "compile" time.
-
Aka gem install time. If you want runtime, the ffi gem provides that, but too often you want to use C for glue so you can use C macros etc.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.