News for hackers. Stuff that matters.
Re:The Inferno Shell, an Introduction with Examples by 1337p337 on Sunday May 20, 2012 @12:35PM (#3999211)
I'd rather see Go ported to Inferno. :)
Re:The Inferno Shell, an Introduction with Examples by rogpeppe1 on Monday May 21, 2012 @04:33AM (#4001901)
To make Inferno run Go efficiently, you'd probably need to add instructions to the Dis VM to do interfaces, channel closing, slice capacities and likely other things I haven't thought of.

To make Go run well under Inferno, you'd need to change the language to allow dynamically loaded modules (can we use the type compatibility model when we can't link everything together at once?).

These issues are doable, but even if you've done that, the performance trade-offs when writing a program to run in a VM are quite different from running natively - in particular, much idiomatic Go code would probably be dog slow under Inferno, because we're not steaming along at native code rates.

All that assumes we'd translate Go to Dis though. There may be alternative routes.