The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Paul Vick, Language Designer on the VB team, discusses arrays with non-zero lower bounds...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Duncan Mackenzie

Posts: 689
Nickname: duncanma
Registered: Aug, 2003

Duncan Mackenzie is the Visual Basic Content Strategist at msdn.microsoft.com
Paul Vick, Language Designer on the VB team, discusses arrays with non-zero lower bounds... Posted: Mar 19, 2004 1:06 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Duncan Mackenzie.
Original Post: Paul Vick, Language Designer on the VB team, discusses arrays with non-zero lower bounds...
Feed Title: Code/Tea/Etc...
Feed URL: /msdnerror.htm?aspxerrorpath=/duncanma/rss.aspx
Feed Description: Duncan is the Visual Basic Content Strategist at MSDN, the editor of the Visual Basic Developer Center (http://msdn.microsoft.com/vbasic), and the author of the "Coding 4 Fun" column on MSDN (http://msdn.microsoft.com/vbasic/using/columns/code4fun/default.aspx). While typically Visual Basic focused, his blogs sometimes wanders off of the technical path and into various musing of his troubled mind.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Duncan Mackenzie
Latest Posts From Code/Tea/Etc...

Advertisement
One of the changes from VB6 to VB.NET was the removal of non-zero lower bounded arrays... a concept discussed by Eric Gunnerson recently, and now covered by Paul... giving it a bit of VB perspective.
Non-zero lower bounded arrays (the other side of the coin)
... To finesse this issue, the CLR designers came up with a compromise: there would be two kinds of arrays in the CLR. One kind, which I'll call "arrays," were just like normal VB arrays - they could have non-zero lower bounds. The other kind, which I'll call "vectors," were a restricted type of array: they could only be 1-dimensional, and their lower bound was fixed to be zero. This compromise allowed VB to have its arrays, and also allowed the C-derived languages to optimize the most common array case. Everyone was happy, right? ...
[Listening to: Are You Gonna Be My Girl - Jet - Get Born (03:37)]

Read: Paul Vick, Language Designer on the VB team, discusses arrays with non-zero lower bounds...

Topic: Non-zero lower bounded arrays (the other side of the coin) Previous Topic   Next Topic Topic: Me? rip to shreds?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use