InfoQ

News

VB Breaks Its Runtime Chains

Posted by Jonathan Allen on Jun 01, 2007 03:25 PM

Community
.NET
Topics
.NET Framework
Tags
Visual Basic.NET

One of the most common complaints about Visual Basic is its dependence on a runtime library. This library, which contains helper functions called by VB language constructs, is shipped with the baseline .NET platform. This makes it transparent to most users, but becomes a big problem on non-standard platforms.

The first platform this caused problems on was Mono. Because of this dependency, the VB compiler was not available for years after the Mono C# compiler was working.

The next platform hurt by the need for this runtime is the .NET Compact Framework and the XBox 360. Essentially the problem boils down to the VB Runtime using IL instructions that simply don't exist on that platform.

In order to make it easier to support these and other platforms, Visual Basic 9 has added significant flexibility to how the runtime is supported. One option developers will have is to not reference the VB Runtime at all. Obviously this means the associated language features will not be available at compile time. Another option is what Paul Vick calls "runtime agility". Essentially this means platform developers can implement their own version of the VB Runtime.

These new options include full compiler support, so if you do replace the runtime and decide not to support a specific VB language feature, you will get a clean error message instead of a hard compiler crash.

This functionality will be available starting in Orcas beta 2.

No comments

Reply

Exclusive Content

Agile in Practice: What Is Actually Going On Out There?

Scott Ambler talks about actual data resulting from surveys made during 2006-2008, showing how Agile is perceived and implemented within organizations.

Building Smart Windows Applications

From QCon 2008, Daniel Moth presents on using Visual Studio 2008 and .NET 3.5 to create compelling rich Windows applications.

Joshua Kerievsky about Industrial XP

Joshua Kerievsky, founder of Industrial Logic, talks about Industrial Extreme Programming which extends XP by including practices dealing with management, customers and developers.

Jeff Barr Discusses Amazon Web Services

Amazon Web Services (AWS) Evangelist Jeff Barr discusses SimpleDB, S3, EC2, SQS, cloud computing, how different Amazon services interact, origins of AWS, AWS globalization and the March AWS outage.

More Than Just Spin (Up) : Virtualization for the Enterprise and SaaS

Cloud services have helped bring virtualization to the forefront. Its full power however, also includes other benefits such as high availability, disaster recovery, and rapid provisioning.

Ruby Beyond Rails

John Lam talks about his path to dynamic languages, some of the problems of making IronRuby run fast, and how the DLR helps with implementing languages.

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.

Architectures of extraordinarily large, self-sustaining systems

Can a system that is so large it cannot be comprehended be "designed" in a conventional sense? The foundations of computing are about to change. In this talk, Richard P. Gabriel explores why and how.