Mercury Extends Visual Basic For .NET
Written by Kay Ewbank   
Thursday, 03 June 2021

An implementation of Basic that is fully code-compatible with VB.NET has been released. Mercury adds multi-platform support and is feature compatible with C#.

The creators of Mercury, RemObjects, have a number of similar products for other languages, including C#, Object Pascal, Go, Java and Swift.

mercury

The team says that Mercury is currently 99.9% compatible with Visual Basic.NET, and already adds a wide range of language extensions and support for C# 9.0 features that will make the VB developers lives easier. The extras include support for pointers and unsafe code, lazy properties, and C# 9's new records.

The implementation also comes with a number of extra language features through being part of the RemObjects Elements compiler tool chain, including mapped types and support for aspect-oriented programming.

 

Mapped type let developers create compatibility wrappers for types without ending up with classes that contain the real type. The wrappers are then eliminated by the compiler and rewritten to use the type referred to by the mapping. Mapped types behave just like regular non-mapped types.

Aspect oriented programming separates general code from those elements (aspects) that interact with other objects or layers by crossing the boundaries between them. Mercury  supports aspects and attributes, and allows the compiler itself to be extended by creating custom aspects, which essentially are more sophisticated attributes that can control the compiler's behavior.

One attraction of Mercury is the range of target platforms it supports, including .NET, .NET Core, Mono and ASP.NET Core; the Java VM; Android, iOS, macOS, tvOS and watchOS, CPU-native Windows and Linux, and WebAssembly.

For programming, Visual Basic.NET developers can work with Mercury in Visual Studio, or use the native and light-weight IDEs for Windows and the Mac that come as part of Mercury.

 mercury

More Information

Mercury Webpage

Related Articles

.NET 5 Ready For Action

C# 9 and F# 5 Released With .NET 5

No Future For VB .NET

Visual Basic 16.9 Support In .NET 5

Microsoft Clarifies Position On .NET Languages

Microsoft Team Explains Language Stagnation

Visual Basic Reaches 25th Birthday - Microsoft Censors Campaign To Open Source VB6

Is Your Language Doomed?

Classic VB is 20 and still missed by many

Microsoft Refuses To Open Source VB6

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Google Turns 25
06/09/2023

At the end of September 2023 Google will officially celebrate its 25th birthday. In fact the day itself has already come and gone as it was on September 4th, 1998 that Google was founded by Larry [ ... ]



Azul To Tackle Java's Warm Up Issues
11/09/2023

Azul's ReadyNow is yet another attempt to tackle Java's warm up issues, on the cloud and large fleets of JVMs or JVMs in containerized environments.


More News

Summer SALE Kindle 9.99 Paperback $10 off!!

esp32book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 03 June 2021 )