Lambda the Ultimate

inactiveTopic C# Programming Language Future Features
started 4/6/2003; 6:54:52 AM - last post 4/8/2003; 11:55:04 PM
Dan Shappir - C# Programming Language Future Features  blueArrow
4/6/2003; 6:54:52 AM (reads: 2365, responses: 4)
C# Programming Language Future Features
I haven't seen this one on LtU yet.

The Microsoft Corporation is in the process of developing the next major version of the C# language. This article contains information regarding four key new features, including generics, iterators, anonymous methods, and partial types.

Additional info can be found at GotDotNet.

There is also an article about Visual C# .NET 2003 Language Changes, with the following amusing quote:

In an effort to remain 100% compliant with the European Computer Manufacturer's Association (ECMA) C# specification, Microsoft Corporation introduced several changes to its implementation of the C# compiler.

and finally a transcript of an online chat regarding future directions for C#, which doesn't provide much of interest IMO.
Posted to OOP by Dan Shappir on 4/6/03; 6:56:24 AM

Ehud Lamm - Re: C# Programming Language Future Features  blueArrow
4/6/2003; 8:01:15 AM (reads: 1227, responses: 1)
Are these not the same changes we discussed a couple of months ago?

Dan Shappir - Re: C# Programming Language Future Features  blueArrow
4/6/2003; 8:41:40 AM (reads: 1264, responses: 0)
Yep, no surprises here. Still, there is a difference between intentions and a road map. Also, in the context of a previous discussion, much as the support for anonymous methods might be used as a basis for implementing closures (even if performance is sub-optimal), couldn't the yield facility for iterators be used as a basis for implementing continuations?

Patrick Logan - Re: C# Programming Language Future Features  blueArrow
4/6/2003; 3:33:10 PM (reads: 1191, responses: 0)
couldn't the yield facility for iterators be used as a basis for implementing continuations?

Iterators and yeild can be implemented using continuations. But not vice versa.

Yield suspends the computation of the next value and resumes the computation of the iteration with this next value. At no point is the continuation made available as a first class object to the C# program.

On the other hand there is some evidence that threads in C# could be used as a basis for implementing continuations.

Ehud Lamm - Re: C# Programming Language Future Features  blueArrow
4/8/2003; 11:55:04 PM (reads: 1057, responses: 0)
"Even though the code is written inline, the delegate must still receive two parameters. In the Anonymous method, the names of the two parameters must be declared so that the associated code block can use them. "

Now that's what I call ugly...