There's no real way to do files without java interop, or write to sockets, or log to console, or work with streaming buffers. There's no from scratch http stack. You can't work with parallelism without it.
Uh, what? Of course you can -- there's no need to import the semantics of the underlying platform into your language. Hence why anything other than CPU microcode works. And hence why "IO" in Haskell works. (I mean, it's not particularly elegant and would probably be designed differently given the benefit of hindsight, but there's no fundamental problem here.)
I use Scala because it's the best FP programming language to be employed, and has the least amount of development headaches.
I'm happy that you're happy with it, but it's caused endless completely unnecessary headaches for me, esp. given the terrible depencency situation. (But, again, as I say, I'm mildly optimistic that it'll eventually be fixed. Btw, most of this problem could have been fixed by just mandating the shipping of source code like Hackage does. Then again: Would any "enterprise" go for it? Probably not.)
You don't have to have interop without ffi in your language, but you do in Scala unless you rewrite the memory model or manage IO at the language level.
2
u/theQuatcon Aug 23 '17
Uh, what? Of course you can -- there's no need to import the semantics of the underlying platform into your language. Hence why anything other than CPU microcode works. And hence why "IO" in Haskell works. (I mean, it's not particularly elegant and would probably be designed differently given the benefit of hindsight, but there's no fundamental problem here.)
I'm happy that you're happy with it, but it's caused endless completely unnecessary headaches for me, esp. given the terrible depencency situation. (But, again, as I say, I'm mildly optimistic that it'll eventually be fixed. Btw, most of this problem could have been fixed by just mandating the shipping of source code like Hackage does. Then again: Would any "enterprise" go for it? Probably not.)