From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,e0a59694a441eb7b
X-Google-Thread: 103376,e0a59694a441eb7b
X-Google-Thread: fac41,e0a59694a441eb7b
X-Google-Thread: 1108a1,e0a59694a441eb7b
X-Google-Attributes: gid109fba,gid103376,gidfac41,gid1108a1,public
X-Google-ArrivalTime: 2004-04-28 12:56:21 PST
Path:
archiver1.google.com!news1.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!nntpserver.swip.net!not-for-mail
Message-ID: <40900BB0.4040302@tele2.fr>
From: Philippe Ribet
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.5) Gecko/20031107 Debian/1.5-3
X-Accept-Language: fr, en
MIME-Version: 1.0
Newsgroups: comp.lang.c++,comp.lang.ada,comp.lang.eiffel,comp.object
Subject: Re: OOP Language for OS Development
References: <95db0572.0404142153.431fd058@posting.google.com>
In-Reply-To:
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.170.92.201
X-Complaints-To: news-abuse@swip.net
X-Trace: nntpserver.swip.net 1083182176 80.170.92.201 (Wed,
28 Apr 2004 21:56:16 MET DST)
NNTP-Posting-Date: Wed, 28 Apr 2004 21:56:16 MET DST
Organization: A Customer of Tele2
X-Sender: eu726846@tele2.fr@d80-170-92-201.cust.tele2.fr
Date: Wed, 28 Apr 2004 21:53:20 +0200
Xref: archiver1.google.com comp.lang.c++:32207 comp.lang.ada:7545
comp.lang.eiffel:769 comp.object:11348
Date: 2004-04-28T21:53:20+02:00
List-Id:
Brian_Heilig wrote:
> Eiffel Cons (related to OSes):
> There is no turnkey Eiffel compiler for you to use for operating
> systems. All the current compilers are system-oriented, that is, they
> generate systems, which for example have command-line arguments and
> garbage collectors. Unless I'm mistaken this is probably the show
> stopper.
Using SmartEiffel should not be a problem. -no_main option may help.
The garbage collector can be turned off. Then the memory job is limited
to se_malloc/se_realloc.
> I'm pretty sure it is impossible to write an entire OS completely in
> Eiffel. Number one reason, Eiffel has no method for declaring
> interrupt handlers. The good news is that Eiffel integrates with other
> languages easily (C for example which has an interrupt keyword).
> If efficiency is your number one priority Eiffel may not be for you.
> SmartEiffel and ISE Eiffel generate very efficient code, but I don't
> think it meets the demands of a CPU scheduler, for example.
I did some testing on computationnal code (matix multiplication). Code
generated by SmartEiffel had exactly the same performance as the same C
program. But never forget, each time you need extreme performance or
very specific instructions, you can use C code (inline or external
function call). This mean you can use assembler too when you really need
(context swith, hardware access).
--
Philippe Ribet
The README file said
"Requires Windows 95, NT 4.0, or better."
So... I installed it on Linux!