Mercury extends Visual Basic for .NET

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

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

The team claims that Mercury is currently 99.9% compatible with Visual Basic.NET, and is already adding a wide range of language extensions and support for C # 9.0 features that will make life easier for VB developers. Extras include support for dangerous pointers and code, lazy properties, and new C # 9 records.

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

The mapped type allows developers to create compatibility wrappers for types without ending up with classes containing the actual type. The wrappers are then discarded by the compiler and rewritten to use the type referenced by the mapping. Mapped types behave exactly like normal unmapped types.

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

One of the draws of Mercury is the range of target platforms it supports, including .NET, .NET Core, Mono, and ASP.NET Core; the Java virtual machine; Android, iOS, macOS, tvOS and watchOS, native Windows and Linux processor and WebAssembly.

For programming, Visual Basic.NET developers can work with Mercury in Visual Studio or use the native and lightweight IDEs for Windows and Mac that come with Mercury.

More information

Mercury web page

Related Articles

.NET 5 Ready for action

C # 9 and F # 5 released with .NET 5

No future for VB .NET

Support for Visual Basic 16.9 in .NET 5

Microsoft clarifies its position on .NET languages

Microsoft team explains language stagnation

Visual Basic Reaches 25th Anniversary – Microsoft Censors Campaign to Open Source VB6

Is your language doomed?

Classic VB is 20 years old and still missed by many

Microsoft refuses to open the VB6 source

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




or send your comment to: [email protected]

Source link

About Jon Moses

Check Also

8 of the best game maker apps for beginners

Game Maker Studio 2 is the most advanced piece of software on our list, and …

Leave a Reply

Your email address will not be published. Required fields are marked *