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: 103376,bcdd81f11a99e024 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!news-zh.switch.ch!switch.ch!cernne03.cern.ch!cern.ch!news From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: C to JVM, time to revive JGNAT? Date: Fri, 11 Aug 2006 10:04:11 +0200 Organization: CERN - European Laboratory for Particle Physics Message-ID: References: <20060809124902.O84175@docenti.ing.unipi.it> <8utCg.12454$E02.4571@newsb.telia.net> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sunnews.cern.ch 1155283450 28186 (None) 137.138.37.241 X-Complaints-To: news@sunnews.cern.ch User-Agent: Thunderbird 1.5.0.5 (X11/20060801) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:6172 Date: 2006-08-11T10:04:11+02:00 List-Id: Bj�rn Persson wrote: >> Which is true also about standard C: >> >> #include >> int main() >> { >> puts("Hello"); >> return 0; >> } > > Is that the most interesting program you can write in standard C? ;-) No, but the biggest challenge in portability is the relatively small (when compared to, say, Java) standard library. For example, write a web browser in Ada (net+gui+crypto+...) and let me know how much portable it is. > As a quick example of a non-portable aspect of standard C, let's say I > need to represent natural numbers from 1 to 1000000. Then you use long and you're done. The standard says so. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/