2 ms·
> So, what does Haskell offer? It looks nicer than C. Can I write drivers for odd-ball devices in it? Probably. Then again, I'm often just modifying some C-code
by regularfry 16y ago
> So, what does Haskell offer? It looks nicer than C. Can I write drivers for odd-ball devices in it? Probably. Then again, I'm often just modifying some C-code from a vendor, so the choice is already made for me. Fortran is so well entrenched that I'm still going to wind up using it if I ever want to run something through some crazy hydrodynamics code somebody else already wrote.
Actually, the FFI story in Haskell is pretty neat. In the past I've written Haskell plugins which interface to a C api for commercial, closed-source software which isn't a million miles from crazy hydrodynamics code. The idea of walling off statefulness behind a well-defined FFI interface and going to town on the functional side is nice. I certainly found it easier to make progress with GHC than with OCaml.