Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Version 10.0: A Midnight Snack

Compare
Choose a tag to compare
@jyothiraditya-n jyothiraditya-n released this 14 Feb 08:57
· 8 commits to main since this release

This version is the first real new version of the year 2022, and brings several upgrades with it.

For one, there's been some changes to the optimisation levels.

  • The old -O0 has become the new -O1.
  • The old -O1 has become the new -O2.

The new -O0 basically gets the output from the interpreter directly, minimizing the compilation time. However, for those who want better runtime performance, there is a new -O3 mode that increases the memory footprint a little in exchange for a comparatively good 10% increase in performance.

However, the main draw is really the fact that there's a new -Os option for minimizing the file size of the final binary, which tries its best to relocate a lot of the repeated code into functions and function calls. Although it produces great savings (up to 75%!!), beware the massive compilation time it begets as a result. I will probably need to tweak that option a lot before it can be used 'blindly' by an end user.