News for hackers. Stuff that matters.
Re:Elm changed my mind about unpopular languages by rebeccaskinner on Monday February 19, 2018 @09:47PM (#16417482)
Most niche languages have an FFI escape hatch for when you really need a library and don't want to re-invent a wheel. Elm, Purescript, Bucklescript, and ghcjs can all interoperate with javascript; Scala and Clojure work with most (all?) native java libraries; F# has access to most (all?) .NET libraries. Haskell, Idris, ATS, Erlang, and SBCL Common Lisp all allow you to access native system libraries.

FFIs can have warts, but in the general case library support isn't the obstacle people make it out to be.

Re:Elm changed my mind about unpopular languages by crdoconnor on Tuesday February 20, 2018 @09:15AM (#16420405)
I don't agree. I find that the impedance mismatch of an FFI is an incredibly fertile breeding ground for nasty and obscure bugs and deployment problems.