Introducing Visual Basic 10
With VB 9 slated to be released sometime this year, Microsoft is already talking about VB 10, also known as VBx. Key features include dynamic code generation like that you would expect in Lisp, Ruby, or Python. This opens up VB.Net for both Silverlight and Office.
VB 9, available in Orcas Beta 1, has all the LINQ goodies we have been talking about for the past year. Libraries compiled with VB 9 can be used in Silverlight just like any other .NET compatible DLL.
VB 10 takes advantage of a Silverlight feature called the Dynamic Language Runtime or DLR. The DLR is an extension on top of the Common Language Runtime (CLR) that supports hosting dynamic languages. In addition, it provides a common object model for dynamic languages.
Like other dynamic languages, the DLR will allow VB 10 code to be compiled on the fly. When combined with Silverlight, this means source code can be downloaded and compiled in the browser at run time, enabling many of the same techniques found in AJAX and other client-side web applications.
An important development for this is the new VM compiler. Unlike earlier VB compilers, which are written in C++, VB 10 will use a compiler written in VB itself. This allows it to run under the CLR and thus gain the cross-platform support promised by Silverlight.
Currently Microsoft Office on Windows still uses the venerable Visual Basic for Applications (VBA 6.5) for macros. Office on OS X will not even have that much according to current plans. With the hosting features of the DLR, it is possible that Visual Basic 10 will finally replace its COM based ancestor as the macro language of choice for Office.
Another feature possible under VB 10 is a REPL or Read-Eval-Print Loop. REPL is a popular feature of dynamic languages in which code is run as it is typed. Currently a very limited form of this is available inside Visual Studio as the immediate window, but this will allow it to leave the confines of VS.
Unfortunately VB 10 was not ready in time for Silverlight 1.1 Alpha 1, but a preview should be available by this year's Professional Developer Conference.
About communication...
by
ZedroS Schwartz
For sure, others do look forward for their applications’ next versions, but they're way poorer at getting it so much advertised. Considering that the so called “killer feature” in the “future version of the yet to come one” are just “possible” and nothing else, I really find impressive that they got so much coverage.
Re: About communication...
by
Jonathan Allen
In regards to Microsoft specifically, every new version puts all the third party vendors at a disadvantage. With advanced notification like this, Microsoft is giving others a chance to support the new stuff from day zero. For example, there is the LINQ support for SQLite we reported on back in September.
www.infoq.com/news/sqlite
Educational Content
Concurrency in Clojure
Stuart Halloway May 17, 2013
Confessions of an Agile Addict
Ole Friis Østergaard May 16, 2013
Web Development: You're Doing It Wrong
Stefan Tilkov May 16, 2013
Programming The Feynman Way
Ben Evans May 15, 2013





Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think