• Welcome to Valhalla Legends Archive.
 

Visual Basic on GNU/Linux

Started by Networks, February 21, 2007, 11:42 AM

Previous topic - Next topic

Networks

Source: http://www.linuxdevices.com/news/NS9725385854.html

The Mono Project on Feb. 20 announced that it has developed a Visual Basic compiler that will enable software developers who use Microsoft Visual Basic to run their applications on any platform that supports Mono, such as Linux, without any code modifications.

Though often disparaged by developers, Visual Basic remains one of the world's most commonly used programming languages. According to Forrester Research, 37 percent of enterprises use Microsoft Visual Basic.NET for development and maintenance of their in-house applications. What's more, among .NET developers, 59 percent use Visual Basic.NET as their only programming language. Thus, as of 2006, at least 20 percent of all in-house business programs were still being written in Basic, according to the market analyst firm.

Until now, Visual Basic applications could only run on Windows OSes, without major modifications. With the Mono Visual Basic compiler, however, those applications will be able to run on many more platforms. As a proof point of this new platform independence, the new compiler is self-hosting. That is, the complier itself is written in Visual Basic.

Novell Inc. sponsors Mono, which is an open-source development platform that aims to be compatible with Microsoft's .NET framework. Mono's goal is to enable developers to build Linux and cross-platform applications. Mono's .NET implementation is based on the ECMA standards for C# and the CLI (Common Language Infrastructure).

"From its inception, the Mono project has focused on creating a development framework that allows .NET software to run across all the leading server and client platforms" stated Miguel de Icaza, vice president of developer platforms at Novell and founder of the Mono project. "The delivery of the Visual Basic compiler is a key step forward in this process. Now, developers do not need any Linux expertise to create applications that will run easily on Linux."

"The ability to write software that runs easily across multiple platforms has long been a holy grail for developers," continued de Icaza. "The Mono Visual Basic 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."

"The Run-time piece was in place last year," de Icaza told Linux-Watch.com in an exclusive interview. "But it wasn't perfect and it was very buggy. So this was rewritten from scratch from Visual Basic by Mainsoft with some help from Microsoft." Mainsoft specializes in porting programs written in Microsoft languages, such as ASP.NET and C#, to Linux, Unix, and J2EE (Java Enterprise Edition)-based platforms. Mainsoft has often worked closely with the Mono Project.

The compiler, according to de Icara, grew from an earlier, more primitive version of the compiler. "Some people took out .NET compiler and [modified] it to work with Visual Basic."

During the Google 2006 Summer of Code, Raulf Jarve, a Norweigen student programmer who now lives in Spain, finished the compiler. "He turned it from a research [project into] a production compiler," de Icara said. Since then, Novell has hired Jarve.

This new and improved compiler, which supports Visual Basic 8.0 code, is bundled in Mono 1.2.3. In addition to Visual Basic support, this version includes many bug fixes and an almost complete ASP.NET 2.0 API (application programming interface) implementation. WebParts, however, still isn't completely supported.

De Icaza also added that these improvements in Mono owe nothing to Microsoft and Novell's recent technical partnership. "The deal with Microsoft didn't help with this project. Microsoft and Novell are focusing, as they announced, on virtualization, directory services interoperability, document format interoperability, and cross server management." de Icaza hopes, however, to get funding from the partnership for future advancements in Mono.

Joe[x86]

I see it makes several references to .NET. I'm assuming that this is for VB2003 and VB2005, right?

If they figured out how to compile VB98 (commonly VB6) for Linux, that'd be neat. :)
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Grok

Quote from: Joex86] link=topic=16366.msg165361#msg165361 date=1172083315]
I see it makes several references to .NET. I'm assuming that this is for VB2003 and VB2005, right?

If they figured out how to compile VB98 (commonly VB6) for Linux, that'd be neat. :)

Hmm, thought they answered it clearly:

QuoteThis new and improved compiler, which supports Visual Basic 8.0 code, is bundled in Mono 1.2.3. In addition to Visual Basic support, this version includes many bug fixes and an almost complete ASP.NET 2.0 API (application programming interface) implementation.

As for VB6 ... why even bother?  If there are legacy VB6 applications still hanging around, for which the source code exists just port to a modern language; for which no source code exists just run on the VB6 runtimes in a VM hosted OS.

TheMinistered

Grok, joe is a newbie, he still uses vb6.0 and thats pretty much the only language he is really compitent in.  He doesn't know how to use any languages targeted for the *nix platforms.  Thus he hopes someone will try to oneday make a vb6 compiler/runtime for *nix platforms so he can finally say "Oh i'm 1337 I can code for win* and *nix platforms" so that he will be a bit less newbish!

Joe[x86]

I haven't used VB6 in over a year and if you pulled your head out of your ass you'd realie that the past few releases of JavaOp2 were made by me, not iago, showing that I'm both competent in reading and writing Java.

But I wouldn't expect you to pull your head out of your ass, though.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

brew

Nothing wrong with Visual Basic! The .NET version is very hard to work with from what I hear.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

Mystical

KBasic works on Lunix & Windows! look it up!  :P

MyndFyre

Quote from: brew on February 27, 2007, 05:04 PM
Nothing wrong with Visual Basic! The .NET version is very hard to work with from what I hear.
For someone who's accustomed to non-type-safety and object-oriented programming, yes.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.