comp.lang.ada
 help / color / mirror / Atom feed
From: Ivan Levashew <octagram@bluebottle.com>
Subject: Re: Ada OS based on Minix3
Date: Mon, 10 Nov 2008 00:12:10 -0800 (PST)
Date: 2008-11-10T00:12:10-08:00	[thread overview]
Message-ID: <cef1a685-f474-4f5b-ba0c-1a1f0464310a@r37g2000prr.googlegroups.com> (raw)
In-Reply-To: ed7d1ea9-bf0b-4e4a-b317-b57102853d65@p35g2000prm.googlegroups.com

Cedric Lannock wrote:

> As it has to few lines of code it should be
> possible to build a kernel in overseeable time.

Kernel isn't enough. Drivers, applications. And, the most essential
thing, users' and developers' awareness, what's wrong with other OSes;
what's wrong with GNU, Microsoft and Apple.

I'm wondering what you're trying to achieve with Ada OS? Is it just a
casting tech skills?

Two general problems of starting an enterprise Ada project are as
follows:
Lack of libraries
Lack of developers

While you can do little about the second, you can at least do binding
generators. There are 2 unfinished ones: GNATCOM and GNAT-SWIG.

GNATCOM is part of GNAVI project. GNAVI was quite popular several
years ago.
GNATCOM fails to compile on latest GNAT (Ada 2005). I have succeded in
making it running and created a demo Delphi+Ada webserver using it.
One need to delete "-gnatg" option out of GNATCOM Makefiles and rename
GNATCOM.Interface package to another name, e. g. COM_Interface. It
will at least be working, but still not convenient to use (due to
thinness of data types, e. g. one has to write Issue.Attach
(DB_Access.Get_Issue); Rubrics.Attach (Issue.Get_Rubrics); instead of
DB_Access.Issue.Rubrics). GNATCOM doesn't claim to be thick binding
generator after all.

Another unfinished stuff is GNAT-SWIG. It was started in 2006, when
Ada 2005 implementation wasn't stable and complete. An essential thing
like GNAT-SWIG should feel like Ada 2005, so it might need to be
changed as well.


Or, if you want to start from scratch, you have an option to make
binding generator for XPCOM and UNO (OpenOffice.org). First will give
a good crossplatform UI. Starting from v1.9, Gecko finally got Mac OS
X right, and it's currently AFAIK the only UI engine that feels native
on every OS.

UNO bindings will enable Ada applications to portably manage Office
documents.

The work to be done is as hardcore as writing OS, yet indeed much more
people would benefit from it.

I don't think that something 100% Ada is a good idea because nowadays
lorry number of such projects is very small.

>
> Another thought to get this project taking some speed would be not to
> rewrite all the available C code but to develop a translator c2ada. It
> would us getting startet and the resulting code could be enhanced and
> improved.
>
I have a better idea: first, manually convert C code to Cyclone code
(that's what Cyclone is really good for). Then it could be more easily
translated into Ada code.



  parent reply	other threads:[~2008-11-10  8:12 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07 14:10 Ada OS based on Minix3 Cedric.Lannock
2008-11-07 16:20 ` xavier grave
2008-11-08  3:46 ` anon
2008-11-10  8:12 ` Ivan Levashew [this message]
2008-11-10  8:58   ` Dmitry A. Kazakov
2008-11-10  9:26     ` Ivan Levashew
2008-11-10 10:11     ` Georg Bauhaus
2008-11-10 10:24     ` Jacob Sparre Andersen
2008-11-10 10:51       ` Dmitry A. Kazakov
2008-11-10 11:07         ` Ludovic Brenta
2008-11-10 11:42           ` Ivan Levashew
2008-11-10 12:04             ` Ludovic Brenta
2008-11-11 22:16           ` Robert A Duff
2008-11-12  6:28             ` Ivan Levashew
2008-11-10 10:50     ` Ivan Levashew
2008-11-10 11:01       ` Dmitry A. Kazakov
2008-11-10 15:31         ` Robert A Duff
2008-11-10 15:56           ` Dmitry A. Kazakov
2008-11-11 22:09             ` Robert A Duff
2008-11-12  9:47               ` Dmitry A. Kazakov
2008-11-13  0:58                 ` Randy Brukardt
2008-11-13 17:28                   ` Dmitry A. Kazakov
2008-11-13 23:25                     ` Randy Brukardt
2008-11-14  9:30                       ` Dmitry A. Kazakov
2008-11-14 23:11                 ` Robert A Duff
2008-11-15 10:04                   ` Dmitry A. Kazakov
2008-11-15 11:57                     ` Programmer controlled object creation (was: Re: Ada OS based on Minix3) Georg Bauhaus
2008-11-15 12:44                       ` Programmer controlled object creation Dmitry A. Kazakov
2008-11-10 10:18   ` Ada OS based on Minix3 Georg Bauhaus
2008-11-11  1:00 ` Freejack
2008-11-11  8:32 ` Martin Krischik
2008-11-11 11:09   ` Peter C. Chapin
2008-11-11 11:59     ` Georg Bauhaus
2008-11-11 14:35       ` Ludovic Brenta
2008-11-11 16:49         ` Georg Bauhaus
2008-11-13  7:10         ` Martin Krischik
2008-11-13  7:01       ` Martin Krischik
2008-11-13  6:48     ` Martin Krischik
2008-11-13  8:09       ` Thomas Locke
2008-11-13 10:16         ` Alex R. Mosteo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox