adam-mcdaniel / oakc

A portable programming language with a compact intermediate representation
Apache License 2.0
725 stars 21 forks source link

Compile Time Optimizations #96

Open InterestingBrainPoops opened 3 years ago

InterestingBrainPoops commented 3 years ago

I dont know if this is in progress or is already implemented, but having compile time optimizations for pruning out unreachable code, loop unrolling, constant expression evaluation, could really improve the language's runtime performance. If your trying to become an alternative to C, then you probably want speed.