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-Thread: a07f3367d7,396927b48a9fb4ab X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr2939975pbc.0.1339692186093; Thu, 14 Jun 2012 09:43:06 -0700 (PDT) Path: l9ni50442pbj.0!nntp.google.com!news1.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!192.71.180.34.MISMATCH!newsfeed1.swip.net!newsfeed.straub-nv.de!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Has anyone tried Minix3 + Ada? Date: Mon, 11 Jun 2012 08:45:01 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <878vfu8hzm.fsf@adaheads.sparre-andersen.dk> References: <2542bbf4-4e92-48cf-9290-2586ef478571@googlegroups.com> NNTP-Posting-Host: 109.59.229.36.mobile.3.dk Mime-Version: 1.0 X-Trace: munin.nbi.dk 1339397103 12200 109.59.229.36 (11 Jun 2012 06:45:03 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 11 Jun 2012 06:45:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:ev4AU+l8V4EWPqkCVs2JyAI89Bs= Content-Type: text/plain; charset=us-ascii Date: 2012-06-11T08:45:01+02:00 List-Id: Patrick wrote: > I am trying to learn more about how operating systems work. I am > playing with Minix3. I have GCC 4.4 installed now but there is no Ada > support. I might try to compile 4.7 with Ada support but I am > concerned it will be futile. Why? IIRC Minix3 has a reasonably complete POSIX API, so I wouldn't worry much about getting the GNAT runtime to compile. > Assuming that I can cross compile GCC for Minix3, is there any reason > Ada would not run on it? Lacks in the Minix3 POSIX API. But according to what I've heard, it should be complete enough. > Minix3 does not have kernel threads, the threading is in userland. I > am wondering if tasking will work. I'm pretty sure it will. > Minix is also billed as a high reliability, embedded OS but I can't > find any examples of it being used for this. Does anyone know if this > is a proper claim or a goal? I think it is a matter of your POV. It is designed to be "self-repairing". The design of Minix3 means that you are likely to have more context switches than with a more monolithic OS. This again means that it requires more resources. Which turns into higher energy consumption, which usually isn't popular for embedded applications. I doubt that Minix3 is easy to use for real-time tasks, due to the large(r) number of processes involved in most OS activities. Greetings, Jacob (who hasn't tried Minix3 yet) -- Never attribute to malice what can adequately be explained by incompetence.