michael105 / minilib

A c standard system library with a focus on size, headeronly, "singlefile", intended for static linking. 187 Bytes for "Hello World"(regular elf), compiled with the standard gcc toolchain.
Other
37 stars 1 forks source link

Notes #11

Open michael105 opened 5 years ago

michael105 commented 5 years ago

(Auto)Generate documentation for functions. (just another tag is needed) Possibly: replace the praeprocessor macros in syscall_stubs with something own. Atm, the praeprocessor macros' arguments aren't informative ( They have to be named a1,a2, and so on. ) and I've to adapt the tags anyway, in order to generate the autoheaders in include/gen

michael105 commented 5 years ago

add a folder "github" (Auto)grab the issues here and place them there. (info, log, todo,..)

michael105 commented 5 years ago

Brainstorming - Mindweather - Brainweather - just assorted thoughts.

michael105 commented 5 years ago

Brainwash, Mindstorm, Brainrain, Mindrain, :)) Brainrain Brainrain .. ;) You get the grip

michael105 commented 5 years ago

Ah. Adding the Bytes to the docu, each function adds when linked

michael105 commented 5 years ago

Adding the overhead to the docu, defines or functions do add. e.g., adding the defines for ansi colors doesn't add any runtime overhead at all. And a micro overhead, when compiling.

michael105 commented 5 years ago

.. adding a malloc pool as global struct did add quite a penalty, as I did need to learn. Could be ok to go with, e.g. the extra 4KB in some environments. (I just think of osx, there this penalty is there in any case. binaries below 4K aren't executed. some sort of security mechanism) In other cases, these 4 KB are catastrophic. Just pointing that out with the according hints within the source and the generated documentation would be good.

michael105 commented 5 years ago

More and more I'm thankful for the wonderful possibilities, github gives. Just like to say thanks.