Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

New Mono release lets VB developers compile under Linux
Linux.com ^ | 2007-02-21 | Mayank Sharma

Posted on 02/21/2007 8:54:13 AM PST by N3WBI3

The latest release of Mono, an open source implementation of Microsoft's .Net platform, bundles a Visual Basic compiler authored by Rolf Bjarne. The compiler -- itself written in Visual Basic -- will ease development and deployment of applications written in one of the most popular programing languages.

Visual Basic support in Mono isn't new. Past versions of Mono have bundled a VB runtime component that allows VB applications to run under Linux. Explaining the changes in the latest version, Mono 1.2.3, Miguel De Icaza, vice president of developer platforms at Novell and founder of the Mono project, says that "the runtime component has been updated to contain many missing features as part of our ongoing work using Moma, the Mono Migration Analyzer. This means that applications compiled on Windows would run on Mono."

While this will help users run their VB applications under Linux, the bigger news, De Icaza says, is the inclusion of the compiler. "The ability to write software that runs easily across multiple platforms has long been a holy grail for developers. The Mono VB compiler is a milestone step forward in this direction. Using the software skills they already know, developers can now reach a much broader audience, creating applications that run without modification on all the major operating system platforms."

De Icaza explains that applications using the Code Document Object Model, or CodeDOM, require a compiler to run. "And the most popular user of the CodeDOM is ASP.Net. ASP.Net applications written with VB.Net that did not run in the past are now able to run." The other advantage, he points out, "[is] doing Visual Basic development in Linux as opposed to using Linux only as a deployment target."

The new compiler and runtime are part of Mono's new Visual Basic Framework, which aims to enhance runtime features and develop the compiler. De Icaza notes that Mono 1.2.3 includes most of the work done on the new framework and that subsequent releases will ship several updates. To assist developers, Mono 1.2.4 will also include MonoDevelop 0.13, an integrated development environment.

"Applications written on Windows," says De Icaza, "with the 1.0 or 2.0 [.Net] frameworks are supported by the runtime. But our VB compiler is only able to generate code for the 2.0 runtime." Meanwhile, Microsoft released version 3.0 of the framework in November last year. De Icaza says that before the end of the year, a Mono release will preview 3.0 support with a C# 3.0 compiler with support for Language-Integrated Query, along with some of the new 3.0 and 3.5 APIs.

But there are certain limitations in supporting a language like Visual Basic. "[While VB] is not really optimized for Windows," De Icaza says, "there are certain API calls that are Windows-specific, and we have mapped [these] to Linux, but the majority of applications do not depend strongly on Windows. The one bit that is not supported is COM components, since Linux has no equivalent to COM. If a Visual Basic application requires COM or ActiveX controls, those will not run."

Mono offers two options to run the applications compiled under Linux with the new compiler. "Either you install Mono's Visual Basic runtime," De Icaza says, "or you can use a Mono process called bundling that will generate a static executable with no external dependencies to run your binary." In true cross-platform development spirit, you can also run applications compiled on Linux under Windows as well if you have .Net 2.0 installed.

To further encourage cross-platform application development with Mono, the developers look to ship two major milestones this year: ASP.Net 2.0 support and Windows Forms 2.0 support. "This will bring a lot of new applications to Linux," says De Icaza, "[and] we are currently tracking the progress of about 1,000 applications, libraries, and components that have been submitted to Novell for porting."


TOPICS: Computers/Internet
KEYWORDS: mono; opensource

1 posted on 02/21/2007 8:54:17 AM PST by N3WBI3
[ Post Reply | Private Reply | View Replies]

To: N3WBI3; ShadowAce; Tribune7; frogjerk; Salo; LTCJ; Calvinist_Dark_Lord; amigatec; Fractal Trader; ..

OSS PING

If you are interested in the OSS ping list please mail me

2 posted on 02/21/2007 8:55:05 AM PST by N3WBI3 ("Help me out here guys: What do you do with someone who wont put up or shut up?" - N3WBI3)
[ Post Reply | Private Reply | To 1 | View Replies]

To: N3WBI3

I got mono when I was a freshman in college from that French Art student.

I had to go home and was laid up in bed for a week.  When I got back, most of the dorm had it and she'd broken up with me.

Owl_Eagle

If what I just wrote made you sad or angry,
it was probably just a joke.


3 posted on 02/21/2007 8:58:53 AM PST by End Times Sentinel (In Memory of my Dear Friend Henry Lee II)
[ Post Reply | Private Reply | To 1 | View Replies]

To: N3WBI3
ALL YOUR DISTROS ARE BELONG TO US !!!
4 posted on 02/21/2007 9:12:30 AM PST by Incorrigible (If I lead, follow me; If I pause, push me; If I retreat, kill me.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: N3WBI3

This is good, but bad. I hate Visual Basic. It's like mono has been poisoned.


5 posted on 02/21/2007 9:23:10 AM PST by antiRepublicrat
[ Post Reply | Private Reply | To 1 | View Replies]

To: N3WBI3
If a Visual Basic application requires COM or ActiveX controls, those will not run.

While it's nice in theory, my experience is that many, if not most, VB applications of any consequence rely heavily on ActiveX.

6 posted on 02/21/2007 9:56:41 AM PST by TChris (The Democrat Party: A sewer into which is emptied treason, inhumanity and barbarism - O. Morton)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Owl_Eagle

Oh, her name was "Monique" wasn't it?


7 posted on 02/21/2007 10:59:20 AM PST by Sam's Army
[ Post Reply | Private Reply | To 3 | View Replies]

To: Sam's Army; Tijeras_Slim; martin_fierro; Rutles4Ever

Oh, her name was "Monique" wasn't it?

No, you're either getting two stories confused or you didn't read the article (VB not VD).  Monique was the Malawian prostitute that gave me the previously un-named social disease that resulted in the large, horn shaped, eruption of coarse hair from my C-4 vertebrae.

And while we're on the subject, I felt that including my last name in the syndrome for classification, was a terrible violation of my tightly held privacy.

Owl_Eagle

If what I just wrote made you sad or angry,
it was probably just a joke.


8 posted on 02/21/2007 11:12:44 AM PST by End Times Sentinel (In Memory of my Dear Friend Henry Lee II)
[ Post Reply | Private Reply | To 7 | View Replies]

To: antiRepublicrat
This is good, but bad. I hate Visual Basic. It's like mono has been poisoned.

I agree. I've had to maintain some legacy VB apps and I hate VB with a passion (fortunately, we are rewriting them in C#). Trying to write a system of consequence in VB is like trying to write Shakespeare in babytalk.

9 posted on 02/21/2007 11:28:11 AM PST by Señor Zorro ("The ability to speak does not make you intelligent"--Qui-Gon Jinn)
[ Post Reply | Private Reply | To 5 | View Replies]

To: Owl_Eagle

I just want to know what the hazard pay is like for a VD developer.


10 posted on 02/21/2007 11:32:36 AM PST by Rutles4Ever (Ubi Petrus, ibi ecclesia, et ubi ecclesia vita eterna)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Señor Zorro
Trying to write a system of consequence in VB is like trying to write Shakespeare in babytalk.

I'm going to remember that quote. Thanks.

11 posted on 02/21/2007 11:59:49 AM PST by antiRepublicrat
[ Post Reply | Private Reply | To 9 | View Replies]

To: N3WBI3

I haven't written anything in basic since they took away my line numbers. I think it was Wordstar that would automatically number lines for you.


12 posted on 02/21/2007 3:58:22 PM PST by PAR35
[ Post Reply | Private Reply | To 1 | View Replies]

To: Señor Zorro

I got stuck making changes to an old VB 6 app this week. I really cringe when I have to look at VB code. I'm definately more comfortable with C#.

Recently we've begun looking at using Flex 2 for our web apps. I must say while it's still early in the evaluation, so far I've reached the conclusion that Flex 2 rocks!


13 posted on 02/21/2007 4:01:16 PM PST by dfwgator (The University of Florida - Championship U)
[ Post Reply | Private Reply | To 9 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson