Hacker News new | ask | show | jobs
by vmchale 2457 days ago
Not that you should replace Rust with Haskell, but Haskell would've been a better choice than Scala.

It has its own runtime, but it's not difficult to call Haskell code from C or ATS or whatever.

1 comments

Not difficult to call from C? How does that work, exactly? Wouldn't you need to properly setup the whole runtime (incl. GC) first?
Yes but I think the parent meant its 'just' an #include and ghc_init() away.