Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh and portability
- X-seq: zsh-workers 1204
- From: Richard Coleman <coleman@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: zsh and portability
- Date: Mon, 27 May 1996 19:16:33 -0400
There been a lot of talk in the last couple of days about
various assumptions that zsh makes (NULL has all zero bits,
or char has 8 bits, etc..).
My suggestion would be to not worry too much about such things unless
they become a problem. I want zsh to be portable as well, but not at
the expense of needlessly complicating the code for machines that zsh
will probably not run on anyway.
In any portable unix software, you must make assumptions that are not
guaranteed by any standard (ANSI C, POSIX, whatever). I don't think
anything is wrong with this (withing reason). If the code is kept
clean and well documented, and someone REALLY wants to run zsh on an
OS that goes against these assumptions, then they could can port it
themselves without too much trouble.
I think time could be better spent documenting the assumptions that
are made, rather than adding more complexity in the name of
portability.
Remember. Keep things as simple as possible. I will of course,
repeat this mantra on a regular basis.
rc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author