News for hackers. Stuff that matters.
Re:Unikernels are unfit for production by lmm on Friday January 22, 2016 @01:35PM (#10954627)
Non-C programs on Linux either implement the C ABI (or the Linux system call interface) or run via interpreters that do.

Can your preferred language link to the OCaml ABI? Do you have an interpreter written in OCaml for it?

Re:Unikernels are unfit for production by kryptiskt on Friday January 22, 2016 @03:35PM (#10955424)
It's much easier than you think. OCaml can expose functions with a C ABI. You can put newlib on top of MirageOS, calling down to OCaml for basics (and newlib needs only a handful of IO and memory functions to be provided, so it isn't particularly hard), and then you have instant POSIX. Now you can run most anything you want from C-land.
Re:Unikernels are unfit for production by Guvante on Friday January 22, 2016 @02:54PM (#10955145)
Are we talking about microservices that talk over TCP of some sort? If that is the case it is a moot point as the other end need not even compile against a unikernel at all, it can sit on a traditional OS.
Re:Unikernels are unfit for production by nickpsecurity on Friday January 22, 2016 @03:01PM (#10955201)
Exactly. They seem to be creating unsolvable, strawman problems instead of assuming we start with the middleware approach to getting things to work together. And there's both very efficient and very robust tooling available for that these days.
Re:Unikernels are unfit for production by lmm on Friday January 22, 2016 @03:17PM (#10955305)
No, we're talking about running things under unikernels.

I mean yes, you could have some of your app implemented in OCaml and then it talks over TCP to some Fortran running on Linux to do linear algebra, but that approach has its own problems.

Re:Unikernels are unfit for production by Guvante on Tuesday January 26, 2016 @04:53PM (#10976427)
You are splitting the problem at the wrong place. Microservices is a well known thing and is what is providing the fire under unikernel research, you cannot simply ignore the aspect of "do the hard thing in a different environment" when talking about microservices.
Re:Unikernels are unfit for production by lmm on Wednesday January 27, 2016 @02:41AM (#10978808)
IMO the popularity of microservices is a lot more about languages that provide very weak isolation guarantees (i.e. Ruby). OCaml is a strongly typed language with an excellent module system, and so microservices offer relatively little value.
Re:Unikernels are unfit for production by pjmlp on Sunday January 24, 2016 @04:04AM (#10962001)
That is no different from the days C was only meaningful to UNIX users.

The languages have to implement the OS ABI, whatever that is.

Lisp Machines had Fortran, Ada and C compilers available.