Roslyn: Now it's time to discuss which new language features would be in C# 8.0

Created on 26 Nov 2016  路  2Comments  路  Source: dotnet/roslyn

As C# 7.0 will be released soon, there's no time to add more features. But there are still many good ideas that has not come true in C# 7.0, so I wonder which of them would be in the roadmap of C# 8.0, such as escape analysis and reference count as alternative GC.

Most helpful comment

I believe that both of those suggestions would belong under CoreCLR. The C# compiler has no ability to replace the garbage collector nor to allocate reference types onto the stack.

I think that you'd likely find C# 8.0 to be initially comprised of those items that slipped from the original C# 7.0 work list. This would likely include further enhancements to pattern matching, asynchronous sequences (IAsyncEnumerable), readonly parameters/locals, non-nullable references and probably a few others that I'm forgetting, plus whatever other proposals here are in a ready state and championed by an LDM member.

All 2 comments

I believe that both of those suggestions would belong under CoreCLR. The C# compiler has no ability to replace the garbage collector nor to allocate reference types onto the stack.

I think that you'd likely find C# 8.0 to be initially comprised of those items that slipped from the original C# 7.0 work list. This would likely include further enhancements to pattern matching, asynchronous sequences (IAsyncEnumerable), readonly parameters/locals, non-nullable references and probably a few others that I'm forgetting, plus whatever other proposals here are in a ready state and championed by an LDM member.

Was this page helpful?
0 / 5 - 0 ratings