9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] useful language extension, or no?
@ 2002-07-16 16:08 rob pike, esq.
  2002-07-16 15:31 ` Sam
  2002-07-16 17:24 ` [9fans] more extensions FJ Ballesteros
  0 siblings, 2 replies; 20+ messages in thread
From: rob pike, esq. @ 2002-07-16 16:08 UTC (permalink / raw)
  To: 9fans

> Suppose I'm not saying "why," but "why not."  IMO it's cleaner and
> quite possibly more efficient (without getting into a usec argument,
> please).  Do you disagree?

Yes.  The benefit is minor, too small to justify changing the language.
You're trying to formalize an idiom; just using the idiom suits me fine.

The type inclusion feature, I think, did a lot more, since it trigged type
conversion and promotion: a much bigger deal.

-rob



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [9fans] more extensions
@ 2002-07-16 19:15 bwc
  2002-07-16 19:46 ` Fariborz (Skip) Tavakkolian
  0 siblings, 1 reply; 20+ messages in thread
From: bwc @ 2002-07-16 19:15 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 109 bytes --]

I'll amen Howard here.  I'm just now getting used to function prototypes!

(that was a joke)

 Brantley

[-- Attachment #2: Type: message/rfc822, Size: 2014 bytes --]

From: "Howard Trickey" <howard@research.bell-labs.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] more extensions
Date: Tue, 16 Jul 2002 13:28:07 -0400
Message-ID: <000501c22cee$2608e170$bf356887@bl.belllabs.com>

This is tempting.  Tuples are one of my favorite things
about Limbo.

However, I'm biased, as I was the one that pushed for tuples
in Limbo, I think.

But adding them to C's already delicate grammar might
be harder than it appears.  And  there comes a point
where an extension changes the flavor of a language
a little too much, and I think this one might be over
that line.

- Howard Trickey

> Including tuples (perhaps as an instance of nameless structs) would
> simplify many interfaces, right? that's one thing I learned using
> Limbo.

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [9fans] more extensions
@ 2002-07-16 18:44 rob pike, esq.
  2002-07-17  8:58 ` Douglas A. Gwyn
  0 siblings, 1 reply; 20+ messages in thread
From: rob pike, esq. @ 2002-07-16 18:44 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

I love tuples, just love them, but I think C is not the place to
do language hacking any more.  A case could even be made
that it wasn't the right place when Ken hacked it around 1988,
although a number of the changes were valuable and did make
it into the standard (e.g. indexed initializations).

-rob

[-- Attachment #2: Type: message/rfc822, Size: 2088 bytes --]

From: FJ Ballesteros <nemo@gsyc.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: [9fans] more extensions
Date: Tue, 16 Jul 2002 19:24:58 +0200
Message-ID: <3D3456EA.4B0BC1D4@gsyc.escet.urjc.es>


Including tuples (perhaps as an instance of nameless structs) would
simplify many interfaces, right? that's one thing I learned using
Limbo.

The extension would probably be not too complex, also. 

I don't have time to implement this during this semester, but would
be willing to do so in the future if people from the Labs agree.

Is there agreement on this?

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <nemo@gsyc.escet.urjc.es>]

end of thread, other threads:[~2002-07-17  8:58 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-16 16:08 [9fans] useful language extension, or no? rob pike, esq.
2002-07-16 15:31 ` Sam
2002-07-16 17:24 ` [9fans] more extensions FJ Ballesteros
2002-07-16 16:26   ` Sam
2002-07-16 17:28   ` Howard Trickey
2002-07-16 17:09     ` [9fans] New language? Sam
2002-07-17  5:45       ` GBA
2002-07-17  6:23         ` Lucio De Re
2002-07-16 18:23   ` [9fans] more extensions Scott Schwartz
2002-07-16 18:47     ` Dan Cross
2002-07-16 19:05       ` Jon Snader
2002-07-17  8:58   ` Douglas A. Gwyn
  -- strict thread matches above, loose matches on Subject: below --
2002-07-16 19:15 bwc
2002-07-16 19:46 ` Fariborz (Skip) Tavakkolian
2002-07-16 18:44 rob pike, esq.
2002-07-17  8:58 ` Douglas A. Gwyn
     [not found] <nemo@gsyc.escet.urjc.es>
2001-10-09  6:25 ` [9fans] rewriting paths [was: mv vs cp] Fco.J.Ballesteros
2001-10-09  6:41   ` George Michaelson
2001-10-10  9:05     ` Douglas A. Gwyn
2001-10-09 14:19   ` Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).