Sujet : Re: 80286 protected mode
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.archDate : 21. Oct 2024, 19:04:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwved492v9f.fsf-monnier+comp.arch@gnu.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Gnus/5.13 (Gnus v5.13)
I don't see an advantage in being able to implement them in standard C.
It means you can likely also implement a related yet different API
without having your code "demoted" to non-standard.
That makes no sense to me. We are talking about implementing standard
library functions. If you want to implement other functions, go ahead.
No, I'm talking about a very general principle that applies to
languages, libraries, etc...
For example, in Emacs I always try [and don't always succeed] to make
sure that the default behavior for a given functionality can be
implemented using the official API entry points of the underlying
library, because it makes it more likely that whoever wants to replace
that behavior with something else will be able to do it without having
to break abstraction barriers.
Stefan