Next: , Previous: , Up: About Hobbit   [Contents][Index]


6.1 The Aims of Developing Hobbit

  1. Producing maximally fast C code from simple scheme code.

    By simple we mean code which does not rely on procedures returning procedures (closures) and nontrivial forms of higher-order procedures. All the latter are also compiled, but the optimizations specially target simple code fragments. Hobbit performs global optimization in order to locate such fragments.

  2. Producing C code which would preserve as much original scheme code structure as possible, to enable using the output C code by a human programmer (eg. for introducing special optimizations possible in C). Also, this will hopefully help the C compiler to find better optimizations.