🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2557

Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)

#2557
From: Viet-Trung Luu
Date: Fri, 29 Sep 1995 08:42
26 lines
2290 bytes
On Wed, 27 Sep 1995, Marc E. Fiuczynski wrote:

> You got it. Well sort of.  I don't think that Java has unsigned longs (or was that signed).
> Someone had a tough time implementing MD5 in Java, because it was missing this feature. This
> is just a nit pick. Java is still evolving and I'm sure that it will have all the basic 
> programming features.

Hmmm... the concept of *long*s is interesting to me. One of C's greatest 
flaws is the varying size of ints, longs, shorts, etc. (IMHO). Integers 
should be at least 32 bits long (16 bits just isn't enough), but when you 
want specific-size numbers, there should be a way of declaring them. When 
you ask for an int, what you should get is a reasonable integer (whether 
that be 32-bit or 64-bit... I'm beginning to lean towards the latter). If 
you need 32-bit integers (exactly), then you should be able to ask for 
that. Furthermore, with all sorts of networks and interoperability 
questions, such features (for canonical types) are becoming more and more 
useful.

> I just started to read some papers on ALEF, which is the PLAN9 C-like programming language.
> Any users of this language care to share their anecdotes.

Any language with the advantages of C's conciseness and simplicity along 
with safety, etc. is interesting. Unfortunately, it's going to be a while 
before anything displaces C/C++.

- Trung
Technical Details
Message-ID: <Pine.SUN.3.91.950929043656.23185A-100000@lagrange.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!lagrange.uwaterloo.ca!vluu
References: <438nkr$bd@classic.eng.octel.com> <DFI1rr.LyC@undergrad.math.uwaterloo.ca> <Pine.SUN.3.91.950926031537.27808B-100000@napier.uwaterloo.ca> <DFIrI3.K5M@beaver.cs.washington.edu> <DFKGHB.85C@undergrad.math.uwaterloo.ca> <DFL0GM.92y@beaver.cs.washington.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada
Path: arc1-ca.pugleaf.net!lagrange.uwaterloo.ca!vluu
From: Viet-Trung Luu <vluu@lagrange.uwaterloo.ca>
Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++) 
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Message-ID: <Pine.SUN.3.91.950929043656.23185A-100000@lagrange.uwaterloo.ca>
In-Reply-To: <DFL0GM.92y@beaver.cs.washington.edu> 
Date: Fri, 29 Sep 1995 08:42:51 GMT
Content-Type: TEXT/PLAIN; charset=US-ASCII
References: <438nkr$bd@classic.eng.octel.com> <DFI1rr.LyC@undergrad.math.uwaterloo.ca> <Pine.SUN.3.91.950926031537.27808B-100000@napier.uwaterloo.ca> <DFIrI3.K5M@beaver.cs.washington.edu> <DFKGHB.85C@undergrad.math.uwaterloo.ca> <DFL0GM.92y@beaver.cs.washington.edu> 
Nntp-Posting-Host: lagrange.uwaterloo.ca
Mime-Version: 1.0
Organization: University of Waterloo