A technical introduction to the Async CTP

I made this slide deck that covers all of the Async CTP technically. [powerpoint] A technical introduction to the Async CTP.pptx [pdf] A technical introduction to the Async CTP.pdf Here are its contents: [100-level] Straightforward explanation of when and how to use Async What is the difference between “asynchrony” and “concurrency” — and when to use…

8

Async CTP: developer stories

We’ve shipped the Async CTP! And VB also has iterators! I’m writing this blog post at 8.30pm on the evening before the Async CTP will ship. We’re all pretty nervous and excited. Most of the Async/VB/C# team are at an “MVP Insiders” party. I’m sitting here fretting over code and writing tutorials. Excited, and writing tutorials…

4

Teched Tweets

I’m giving a talk at TechEd 2010 (New Orleans) now. I wrote a little VB app to display live tweets about #teched with “VB” in them. The source code’s here. TechedTweets.zip

2

How to write a VS2010 Extension using Statement Lambdas

Here’s how to write a VS2010 extension (“.vsix”) in Visual Basic. The code is made a lot easier thanks to one of the major new features in Visual Basic 10, “statement lambdas”. This extension renders comments in a new typeface, Comic Sans Bold Italic. You can write extensions that put any kind of WPF graphical effect in the…

0

VB and C# grammar for VS2010

Here is language grammar for Visual Basic 10 and for C# 4.0. These are the versions of the languages which shipped with Visual Studio 2010. Visual Basic 10 vb10.html   C# 4.0 csharp4.html Please click on the pictures and explore! You can save a copy of the html files to your computer. But please link or…

6

VB grammar and C# grammar for VS2010

Oops, you’ve landed at the wrong page. The correct page is here: http://blogs.msdn.com/b/lucian/archive/2010/04/19/grammar.aspx

4

Req28: Override events

[This post is part of a series, “wish-list for future versions of VB“]   IDEA: Allow you to override an event. This idea requires some explanation. Currently, both VB and C# allow you define events in interfaces, and implement them: Interface I1     Event e As Action End Interface   Class DI : Implements I1…

2

Req27: Allow query syntax in For Each

[This post is part of a series, “wish-list for future versions of VB“]   IDEA: Allow “For Each x In collection Where x>10”, and other query expressions. We should allow this kind of code: For Each x In collection Where x > 5 Currently we’re forced to use awkward workarounds: For Each x In From…

7

Req26: allow With as a modifier on expressions

[This post is part of a series, “wish-list for future versions of VB“]   IDEA: We should allow “With” as a modifier on expressions. Currently the “With” object-initializer syntax is only allowed on constructors, e.g. Dim x = New S With {.p = 1, .q = 2} This is rather limiting. It would be good…

5

Req25: With and From should be allowed together

[This post is part of a series, “wish-list for future versions of VB“]   IDEA: With and From should be allowed together. It’s just a silly oversight that they’re not. For example, we should allow this: Dim x As New List(Of Integer) With {.Capacity = 10} From {1, 2, 3}   Provisional evaluation from VB…

1