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-Thread: 103376,b9c193e01cab96e4 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: C vs. ada for embeded system Reply-To: no to spamers (No@email.given.org) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Sat, 07 Mar 2009 23:26:39 GMT NNTP-Posting-Host: 12.64.30.161 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1236468399 12.64.30.161 (Sat, 07 Mar 2009 23:26:39 GMT) NNTP-Posting-Date: Sat, 07 Mar 2009 23:26:39 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:4976 Date: 2009-03-07T23:26:39+00:00 List-Id: Ada is a more perfect portable language while C has become a damaged language by the use of macros and conditional statements. Which initially allowed C and other software written in C to become portable has now branched into a nightmare for programmers to maintain the older software. Ada has no language defined macros or conditional statements only a number of packages that need to be rewritten for each platform and/or OS used. And the specific machine and platform dependent code of these packages are transparent to the programmers and their software. Giving a better and more portable language to use. Plus, the built-in features like tasking and safety makes Ada a winner. Of course, the closer you get to perfection for a language the higher the cost. To Correct "Jeffrey R. Carter" and a few others here. AT&T with help from GE, and MIT created "unix" (all lowercase, was used for first version name) was written in 1969, using assembly for a GE-645 and rewritten again in assembly in 1970, for a PDP-7, before C existed. C was written in 1972 for a general purpose language for the OS "unix". Later, in 1973, AT&T rewrote "unix" in C and renamed it using uppercase letters. Also from "http://en.wikipedia.org/wiki/Unix". "The migration from assembly language to the higher-level language C resulted in much more portable software, requiring only a relatively small amount of machine-dependent code to be replaced when porting Unix to other computing platforms." So, "Jeffrey R. Carter" and a few others get the fact straight. AT&T developed "unix" using assembly. Then to help make their OS more portable they rewote the OS in C, three years later! So, C was not developed to write AT&T "unix"! In , "abcd" writes: >why ada is better of "C" language for embeded system? > >