News for hackers. Stuff that matters.
Re:Galois releases the Haskell Lightweight Virtual Machine (... by dons on Tuesday November 30, 2010 @05:41PM (#1955893)
Re:Galois releases the Haskell Lightweight Virtual Machine (... by SkyMarshal on Tuesday November 30, 2010 @05:57PM (#1955937)
"Finally, we’d like to give many things to the GHC and Xen communities, without which this work would not be possible."

Just an fyi, slight typo there. Probably mean 'thanks' instead of 'things'?

Re:Galois releases the Haskell Lightweight Virtual Machine (... by plesn on Tuesday November 30, 2010 @06:14PM (#1955996)
Is it possible to run a web server like, say, Snap, directly on top of it ?
Re:Galois releases the Haskell Lightweight Virtual Machine (... by ezyang on Wednesday December 01, 2010 @06:30AM (#1957552)
That certainly strikes me as a good idea, although one difficulty is that there needs to be filesystem support first, which as far as I can tell there is not at the moment.
Re:Galois releases the Haskell Lightweight Virtual Machine (... by plesn on Wednesday December 01, 2010 @12:41PM (#1958698)
For the server itself or for permanant storage ?
Re:Galois releases the Haskell Lightweight Virtual Machine (... by narrator on Tuesday November 30, 2010 @07:30PM (#1956250)
I looked at the source. Apparently they are writing NE2000 drivers in Haskell. It appears that this is more of a platform for writing an OS in Haskell with the help of Xen and not really for web apps.
Re:Galois releases the Haskell Lightweight Virtual Machine (... by lallysingh on Tuesday November 30, 2010 @07:48PM (#1956303)
Presumably the webapps could come in after there's a normal socket interface (which could also be written in Haskell, atop of a Haskell TCP stack, atop of the NE2k drivers).

I'm curious to see what Galois has done with it so far.

Re:Galois releases the Haskell Lightweight Virtual Machine (... by chc on Tuesday November 30, 2010 @05:37PM (#1955870)
Looks like Galois' blog has already buckled under the influx of traffic, so here's the Google cache link: http://webcache.googleusercontent.com/search?client=safari&#...
Re:Galois releases the Haskell Lightweight Virtual Machine (... by ljlolel on Tuesday November 30, 2010 @08:20PM (#1956379)
Very cool. Might it one day be possible to run pure haskell on Xen on AWS?
Re:Galois releases the Haskell Lightweight Virtual Machine (... by eru on Tuesday November 30, 2010 @09:05PM (#1956501)
Somebody already did it with OCaml, so Haskell shouldn't be too far off.
Re:Galois releases the Haskell Lightweight Virtual Machine (... by sanxiyn on Tuesday November 30, 2010 @09:33PM (#1956563)
FYI: OCaml on Xen: http://www.openmirage.org/
Re:Galois releases the Haskell Lightweight Virtual Machine (... by wmf on Tuesday November 30, 2010 @09:47PM (#1956599)
It should be possible now if HaLVM has proper PV drivers; AWS allows custom kernels and what do they care what language your kernel is written in?
Re:Galois releases the Haskell Lightweight Virtual Machine (... by blasdel on Wednesday December 01, 2010 @06:02AM (#1957494)
Is AWS allowing custom kernels for users that are neither paid AMI partners nor big prominent customers?
Re:Galois releases the Haskell Lightweight Virtual Machine (... by avsm on Wednesday December 01, 2010 @06:34AM (#1957559)
Yes. Here's the little script that wraps up Mirage kernels into EC2 AMIs.

https://github.com/avsm/mirage/blob/master/scripts/ec2.sh

Unfortunately, I can't figure out the AWS magic to build EBS images directly, which means that you can't use the free m1.micro instances with this script. Help from anyone who knows welcome...

Re:Galois releases the Haskell Lightweight Virtual Machine (... by vegai on Tuesday November 30, 2010 @11:25PM (#1956803)
Is there a measurable benefit compared to having the OS stack there? I suppose none of the POSIX stuff are there, right?
Re:Galois releases the Haskell Lightweight Virtual Machine (... by dons on Wednesday December 01, 2010 @12:28AM (#1956939)
Amongst other things, you can run hundreds of halvm nodes on a typical machine; and the "OS" boots in a fraction of the time it takes to boot a kernel.