Changes between Version 5 and Version 6 of Commentary/Compiler/Backends
- Jan 17, 2012 1:25:47 AM (4 years ago)
v5 v6 10 10 * [wiki:Commentary/Compiler/Backends/GHCi The GHCi code generator] 11 11 12 These backends are completely interchangeable. Our preferred route is the native code generator , because the C code generator relies on some serious hackery, namely the [wiki:Commentary/EvilMangler Evil Mangler], to get fast tail-calls and other performance tricks. The Evil Mangler is slated for removal as soon as possible, which would leave us with just the native code generator for optimised compilation, and the C code generatorfor portable, non-optimised, or unregisterised compilation. 12 These backends are completely interchangeable. Our preferred route is the native code generator for portable, non-optimised, or unregisterised compilation. 13 13 14 14 It is likely that only the native code generator will be able to generate position independent code (PIC) which is necessary for dynamic libraries, so once we're doing this the C code generator will be even more deprecated.