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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,e0a59694a441eb7b X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,e0a59694a441eb7b X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,e0a59694a441eb7b X-Google-Attributes: gid1108a1,public X-Google-Thread: 109fba,e0a59694a441eb7b X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2004-04-15 01:40:12 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!newsfeed3.dallas1.level3.net!news.level3.com!newsfeed1.easynews.com!easynews.com!easynews!feed2.news.rcn.net!rcn!feed.news.tiscali.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.c++,comp.lang.ada,comp.lang.eiffel,comp.object Subject: Re: OOP Language for OS Development Followup-To: comp.lang.c++,comp.lang.ada,comp.lang.eiffel,comp.object Date: Thu, 15 Apr 2004 10:02:10 +0200 Organization: AdaCL Message-ID: <1132268.c9aflm5Lai@linux1.krischik.com> References: <95db0572.0404142153.431fd058@posting.google.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1082018391 06 23334 G4ltGTpLK4DnAgk 040415 08:39:51 X-Complaints-To: usenet-abuse@t-online.de X-ID: TJ-PuEZaZeumH5H9WoZAs2Lq5WKLtIjB2iS4D5eHWymm9OO0pt2bUh User-Agent: KNode/0.7.7 Xref: archiver1.google.com comp.lang.c++:29702 comp.lang.ada:7118 comp.lang.eiffel:665 comp.object:10625 Date: 2004-04-15T10:02:10+02:00 List-Id: KingIshu wrote: > Hi All, > I am developing an object oriented OS code-named "ikbocs". > 1) What are the pros and cons of the following languages interms of > Effectiveness on System Programming, Object Orientedness etc ? > (Simula, Smalltalk, Modula-3, Eiffel, Sather, C++) > I suppose Java is not suitable for Sys. Programming. Pros for Ada: Ada has been created for embedded programming and as such is suitable for system programing. Ada's representation clauses alow you to specify the pyhsical layout of *any* datatype. Important for maping hadware interfaces. Ada's units are based on bit not byte so exotic data types (like 4 bit enums and 12 bit integers) are handled by the language. No need for complex bit shifting. Ada is very strict so many programing mistakes are found at compile time. Very heplfull since debugging an operating system is quite painfull. Ada checks for null pointer and protects against buffer overruns as well as range over- and underruns. No need to add asserts all over the code. All checks metioned above can be switched off when speed os more important then robustness. Ada 95 supports all major OO features as well a generic programing (templates). > 2) Which OOP language would be better for OS development? Answering that question will only lead to a flame war - so I hope nobody does. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com