OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 1:43 pm

All times are UTC - 6 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
 Post subject: OS development Questions
PostPosted: Thu Jun 20, 2002 1:58 pm 
Exist a OS develop in ADA, or other language not C or ASM?

What OS source code it?s easy to understand?

Thanks


Top
  
 
 Post subject: Re:OS development Questions
PostPosted: Thu Jun 20, 2002 2:26 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
http://marte.unican.es/ seems to be an ADA-written OS, but this doesn't means anything to me ...

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:OS development Questions
PostPosted: Thu Jun 20, 2002 2:34 pm 
Hi,
I know one in "Pascal" listed in a book on `Operating Sytems` by Milenkovic.
Its readable enough and easy to understand.


Top
  
 
 Post subject: Re:OS development Questions
PostPosted: Thu Jun 20, 2002 2:54 pm 
As was said above, MaRTE OS is fact written in ADA. Also, check out AdaOS at (last time I checked the site was down):

http://www.adaos.org

If it is also down for you, check info on it (along with a bootable floppy image) at:

http://web.wanadoo.be/rc.s/AdaOS/
http://www.advogato.org/proj/AdaOS/


Top
  
 
 Post subject: Re:OS development Questions
PostPosted: Fri Jun 21, 2002 1:02 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
Is there a special ADA feature that makes it a good language for OS development ?

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:OS development Questions
PostPosted: Fri Jun 21, 2002 3:18 am 
Pype.Clicker wrote:
Is there a special ADA feature that makes it a good language for OS development ?


Yes and no. No one feature of the language makes it excell t OS development, but the language as a whole is meant to support low-level coding in a high-levl environment. This is both a good and a bad thing.

Ada was designed to be an efficient, flexible and reliable langauge for programming embedded systems in. Programmers familiar with the language always find this claim to be immensely funny.

The good news is, Ada is powerful, and highly modular, and has features like exception handling, rendevous based multitasking, and methods for direct hardware interfacing.

The bad news is, Ada is huge, and awkward to code in. It is among the largest languages ever designed - indeed, it is one of the most complex designs of any kind in human history - and it is very difficult to compile efficiently. Ada executables are often considerably larger and slower than the equivalent in other languages.

It is also verbose - it was designed with the idea that it was more important to be complete than concise, and thus has some of the longest built-in names in any language, comparable to those in Common LISP.

It is, in other words, a language designed by committee, based on the prevailing theories of software engineering rather than on the actual experience of desiging and implementing programs. It is in some ways an amazing piece of work, but it is also a huge set of compromises and it shows.

Some programmers love Ada; others - the majority - think it is a typical Defense Dept. SNAFU. The best that can be said about it (as C.A.R. Hoare put it) is that there is a good small language hidden in it crying to get out. It certainly has it's own sort of elegance (like, say, a nuclear-powered aircraft supercarrier does), but it is not a language suited for the casual hacking most programers favor. YMMV.


Top
  
 
 Post subject: Re:OS development Questions
PostPosted: Fri Jun 21, 2002 3:32 am 
In principle, any language can be used to write an OS in. There are some rather serious limits on which ones are suitable for it in practice. However, even interpreted languages such as LISP, Smalltalk or FORTH, have been used to write OSes, as have bytecode-interpreted languages such as Java and UCSD Pascal.

The main issues that need to be addressed are efficiency (will the compiled or interpreted code run fast enough in a small enough memory); low-level access to the hardware and/or the assembly language; stability (will it run without crashing); and modularity (can new hardware be supported, can it run user programs effectively, etc.). Which of these are most important are design tradeoffs you'd have to consider yourself, as the OS developer.


Top
  
 
 Post subject: Re: Re:OS development Questions
PostPosted: Thu Jun 14, 2012 8:29 pm 
Offline

Joined: Sat Jan 29, 2011 2:30 pm
Posts: 7
Schol-R-LEA wrote:
Pype.Clicker wrote:
Is there a special ADA feature that makes it a good language for OS development ?


The good news is, Ada is powerful, and highly modular, and has features like exception handling, rendevous based multitasking, and methods for direct hardware interfacing.

The bad news is, Ada is huge, and awkward to code in. It is among the largest languages ever designed - indeed, it is one of the most complex designs of any kind in human history - and it is very difficult to compile efficiently. Ada executables are often considerably larger and slower than the equivalent in other languages.

It is also verbose - it was designed with the idea that it was more important to be complete than concise, and thus has some of the longest built-in names in any language, comparable to those in Common LISP.

It is, in other words, a language designed by committee, based on the prevailing theories of software engineering rather than on the actual experience of desiging and implementing programs. It is in some ways an amazing piece of work, but it is also a huge set of compromises and it shows.


Another old thread, but just in case a newbie comes to this thread/Ada and reads this bullshit, it needs to pointed out that all these points are complete fallacies:

  • "Rendevous based multitasking" is Ada83, Ada95 has had protected objects for tasking features, I'm not sure what Ada 2012 has added.
  • Executables are not considerably larger."
  • It wasn't designed to be complete rather than concise - it was designed to be readable as source is read more than written.
  • It was not designed by committee, it was designed by 1 man, Jean Ichbiah whilst working for Honeywell in France, this was 1 "group" (known as "green") who submitted a design to the DOD, there were other groups who were not successful.

I really hope you can either learn something or stop spewing this uneducated bullshit about Ada, just makes you look stupid.

Luke.


Top
 Profile  
 
 Post subject: Re: OS development Questions
PostPosted: Fri Jun 15, 2012 1:44 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
You've got to wonder what sort of fanatic revives a 10-year old thread. (Still, I suppose that I'm just as bad.)

The fact is that Ada is not a popular language for OS development, so the niceties of why hardly matter.


Top
 Profile  
 
 Post subject: Re: OS development Questions
PostPosted: Fri Jun 15, 2012 1:55 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Quote:
The good news is, Ada is powerful, and highly modular, and has features like exception handling, rendevous based multitasking, and methods for direct hardware interfacing.
Not wrong. no reason to complain.
Quote:
Executables are not considerably larger.
Did you by chance forget to account for the runtime - you know - all the files that are not of the binary itself?
Quote:
It wasn't designed to be complete rather than concise - it was designed to be readable as source is read more than written.
Which is the same essence as what he said - being verbose.
Wikipedia on design by committee wrote:
Often, when software is designed by a committee, the original motivation, specifications and technical criteria take a backseat and poor choices may be made merely to appease the egos of several individual committee members. Such products and standards end up doing too many things or having parts that fit together poorly
As for the committee
Wikipedia on ADA wrote:
This proposal was influenced by the programming language LIS that Ichbiah and his group had developed in the 1970s.

And for you:
Forum rules wrote:
programming language battles have been fought many times and resulted in a draw every single time. After you've written a post, check to see if it's polite, professional and helpful; and if it's not then it'd be wise to rewrite it or delete it instead of sending it


In other words, are you necroing to troll? seriously? This is not the way to get bonus points for your favourite language.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: DotBot [Bot] and 116 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group