Thursday, August 19, 2004

Strategy: Write it in Java

My strategy for achieving tenet 2 is to do all programming in Java. The underlying machine-level kernel will cache an optimized compilation of each class during installation. This will then allow the code to run at native speed in exchange for a one-time delay during installation in most cases. In order to have mass appeal, a mechanism for validating other executable formats and converting them to Java bytecode will exist. There is a problem when code uses unsafe procedures, like pointer arithmetic, but we can wrap these and through exceptions when they misbehave.

As for low-level machine programming, boot code will be architecture specific, and a certain base level functionality will be provided by a machine specific kernel. I have in mind to implement the java.lang package and an OS specific device driver package natively.

Ideally, all drivers would be written in Java and linked to some sort of Device base class, but there must also be a mechanism for using drivers written for other OS's.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?