| Deutsch English Français Italiano |
|
<jwved492v9f.fsf-monnier+comp.arch@gnu.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups: comp.arch
Subject: Re: 80286 protected mode
Date: Mon, 21 Oct 2024 14:04:42 -0400
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <jwved492v9f.fsf-monnier+comp.arch@gnu.org>
References: <2024Oct6.150415@mips.complang.tuwien.ac.at>
<memo.20241006163428.19028W@jgd.cix.co.uk>
<2024Oct7.093314@mips.complang.tuwien.ac.at>
<7c8e5c75ce0f1e7c95ec3ae4bdbc9249@www.novabbs.org>
<2024Oct8.092821@mips.complang.tuwien.ac.at>
<ve5ek3$2jamt$1@dont-email.me>
<be506ccef76d682d13205c69c761a086@www.novabbs.org>
<ve6oiq$2pag3$1@dont-email.me> <ve6tv7$2q6d5$1@dont-email.me>
<86y12uy8ku.fsf@linuxsc.com>
<jwv34kx5afd.fsf-monnier+comp.arch@gnu.org>
<venpin$241bk$2@dont-email.me>
<jwvldyo3x1h.fsf-monnier+comp.arch@gnu.org>
<veoupf$2b2ul$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 21 Oct 2024 20:04:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a343ee786601adc72d457eb7c4cee3f6";
logging-data="1109395"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gfxMQFb7OYmZBIQf9OlYfPYB9d6ic1WE="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:xs7UmUbvS/urOC4/JzNaLD9ErhI=
sha1:+gpdWPeiv5NSBhLuLJoIol+a0Pc=
Bytes: 2308
>>> 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