chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Overhaul interrupt handling


From: Jörg F . Wittenberger
Subject: Re: [Chicken-hackers] [PATCH] Overhaul interrupt handling
Date: 27 Oct 2011 15:55:33 +0200

On Oct 27 2011, Felix wrote:

I found the patch would rename "never_mind_edsgar" into
"i_like_spaghetti".

Yeah, it's a great idea, isn't it? I'm particularly proud
of this one.

Sure it is!  My Congratulations.

BTW: recently I started to wonder: it's a nice feature that chicken
comes with only two files runtime.c and chicken.h as C-level
dependencies.  This should be kept.

SQLite happens to do something similar (normal build dependencies
in just two files).  As it grew it slightly changed the way the
files are produced.  They are now assembled from several source
files.

Pros:
- still only two files as build dependency
- independent code is kept in different files
- smaller files are easier to navigate
- diffs are easier to maintain and review

It might be a good idea for chicken to assemble runtime.c and chicken.h
from a subdirectory "runtime" of .c and .h files, each concerned
with a particular topic like "gc", "signal", "equal", "numeric",
"time", "string", "ffi", ...

This would make it much simpler to avoid too many overlapping differences.

Cheers

/Jörg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]