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,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? References: <1169531612.200010.153120@38g2000cwa.googlegroups.com> From: Markus E Leypold Organization: N/A Date: Wed, 24 Jan 2007 15:42:22 +0100 Message-ID: User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:k3qwllWmWYh1miNQsFGM/Gx7MQw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 88.72.216.226 X-Trace: news.arcor-ip.de 1169649467 88.72.216.226 (24 Jan 2007 15:37:47 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:8485 Date: 2007-01-24T15:42:22+01:00 List-Id: Peter Hermann writes: > Markus E Leypold wrote: >> writes: >> > discovered is that Java is not type safe, <...> >> >> How so? I'd be really intrested to know. > > Java adopted a type system (at least for its scalar types) > which was about 20 years outdated at the time of Java's creation. > There is a lack of an important layer of abstraction > resulting from a C and Assembler mindset. So the type system is not rich enough, at least if you come from the Ada world with those interesting subtyping stuff. But how is Jave not _type safe_? I believe Luca Cardelli gave a good definition of what type safe means in his paper http://research.microsoft.com/Users/luca/Papers/TypeSystems.pdf But I fail to see, how "execution errors" in the sense give there can occur in Java. Shall I elaborate? Regards -- Markus