4 ms·
I'm doing this too.. The multimegabyte size of the haskell executables is the only drawback. Well, and some portability issues if you want your code to be usab
by joeyh 15y ago
I'm doing this too.. The multimegabyte size of the haskell executables is the only drawback.
Well, and some portability issues if you want your code to be usable everywhere, since ghc is not bootstrapped on every artchitecture.
- dons 15y agoUse dynamic linking and object stripping, if space is a concern. You'll have tiny objects then. http://stackoverflow.com/questions/6115459/small-haskell-program-compiled-with-ghc-into-huge-binary http://stackoverflow.com/questions/6115459/small-haskell-pro...
- ldesegur 15y agoI tried Haskell but it doesn't cut it for me. So I switched to Go and have been very happy so far. I dig channels and co-routines. Type inference is great. I still wish some generics would happen in 2012. The lib is great for doing what C libs do in a more readable way.
- joeyh 15y agoDebian (and thus Ubuntu I assume) still uses static linking of haskell. I hope this will change though. I think the issue is finding a way to avoid breaking binaries when haskell libraries are upgraded, since they don't have sonames like regular libraries do.