Implementations

The principal rule for Hotdog's compilation strategy is “keep it simple.” Rather than exploit the idiosyncratic behavior of a particular VM implementation, Hotdog attempts to generate code that mimics a Java or C# compiler. The JIT compilers, given only a few microseconds to compile a method, are designed to optimize patterns found in common Java and C# programs. An aggressive JIT compiler can inline method calls and field accesses, remove array bounds checks, and optimize method dispatch. As the VMs and JIT compilers will only strive to improve the performance of object-oriented programs, the performance of Hotdog Scheme will, along with that of Java and C#, be carried forward by every improvement in virtual machine technology. ...

Get Programming in the .NET Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.