klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit 657ec61d59d3e342024e7fa4ebcef0bb52bad7f0
parent d2512ea011e5121f39379f4f47d1058b9a8d98cd
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Mon,  5 Dec 2011 02:10:37 -0300

Added some info on reducing binary size to TODO

Diffstat:
MTODO | 19+++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/TODO b/TODO @@ -39,5 +39,20 @@ ** add modules support to the interpreter (r7rs) ** complex numbers (Kernel report) ** interval arithmetic (Kernel report) -** reduce binary size! 5/12 is 3megs... most of it from kg*.o - (try converting inlines and macros to regular functions) +* reduce binary size +** currently (2011/12/05) is 3megs... most of it from kg*.o +** 1st culprite klisp_assert: +** almost 1 meg comes from klisp_asserts, asserts also add + considerably to the compilation time +** add a flag to enable assertions (maybe debug) and disable + it by default +** fix warnings when assertions are turned off (probably unitialized + uses, unused variables, etc) +** 2nd culprite debugging symbols: +** 1 meg and a half comes from debugging symbols, they also add to + the compilation time +** add a flag (maybe the same as for asserts, maybe another one) to + include debug symbols and disable it by default +** After removing asserts & symbols the size is reduced to a more + manageable 500k, however it would be nice to bring that even + lower