Inferno

From OLPC
Revision as of 18:49, 28 January 2008 by Ericvh (talk | contribs) (→‎Status: Note for Qemu users)
Jump to navigation Jump to search
Inferno.png This activity was Extra
OlpcProject.png Eric Van Hensbegren (Ericvh)

see more templates or propose new

Inferno Applications Screenshot
Inferno Games Screenshot

Inferno® is a distributed operating system, originally developed at Bell Labs, but now developed and maintained by Vita Nuova® as Free Software. Applications written in Inferno's concurrent programming language, Limbo, are compiled to its portable virtual machine code (Dis), to run anywhere on a network in the portable environment that Inferno provides. Unusually, that environment looks and acts like a complete operating system.

The use of a high-level language and virtual machine is sensible but mundane. The interesting thing is the system's representation of services and resources. They are represented in a file-like name hiearchy. Programs access them using only the file operations open, read/write, and close. The 'files' may of course represent stored data, but may also be devices, network and protocol interfaces, dynamic data sources, and services. The approach unifies and provides basic naming, structuring, and access control mechanisms for all system resources. A single file-service protocol (called Styx or 9P2000) makes all those resources available for import or export throughout the network in a uniform way, independent of location. An application simply attaches the resources it needs to its own per-process name hierarchy ('name space').

The system can be used to build portable client and server applications. It makes it straightforward to build lean applications that share all manner of resources over a network, without the cruft of much of the 'Grid' software one sees.

Inferno can run 'native' on various ARM, PowerPC, SPARC and x86 platforms but also 'hosted', under an existing operating system (including FreeBSD, Irix, Linux, MacOS X, Plan 9, and Solaris), again on various processor types.

(description copied from google code project)

Besides being a new runtime environment, Inferno offers a number of applications which should run out of the box:

  • multimedia (audio player, mpeg player, avi player)
  • games (tetris, reversi, lego mindstorms interface, etc.)
  • collaboration tools (email client, chat, shared whiteboard, etc.)
  • servers (web server, content addressable storage system, etc.)
  • tools (vt terminal, telnet, sgml editor, debuggers, etc.)

News

Third Release - Ericvh 10:54, 28 January 2008 (EST)

  • inferno-012808.xo - (~11MB) third release includes fonts optimized for the OLPC, includes a logon screen with account creation, and keeps writable data under $SUGAR_ACTIVITY_ROOT/data. This release also includes an expanded menu which covers more internal applications. NOTE: upgrades do not appear to be working, so if you have a previous version, please uninstall and then reinstall Inferno.

Second Release - Ericvh 15:56, 21 January 2008 (EST)

Status

  • second release available - smaller bundle
  • bundle installs correctly
  • interacts properly with window manager
  • functional, but UI is not optimized for OLPC environment (yet)
  • JIT currently disabled, so it runs slower than optimal but faster than most other sugar apps
  • IMPORTANT NOTE: if you are running under qemu, you will have to change geometry in InfernoActivity.sh to 1024x768 or you won't see the menubar

Links

Development

TODO

  • olpc custom logon screen
    • can handle multi-user environments
    • can take care of first-run scenarios and multiple session configuration
  • olpc custom init script
    • bind activity writable data area over home directories
    • first run creates user home directory
  • integrate libfreefont and use larger fonts for default environment
    • libfreefont can be used with OLPC fonts to bring them into Inferno
    • start with static configuration and later move to a synthetic file system font server

Design