Re:RAD Basic – Compatible with Visual Basic 6 projects
by zozbot234 on Friday May 06, 2022 @07:54AM
(#31284068)
Well, VB.NET was little more than a variety of C# without curly brackets and with more keywords. AIUI, it was quite possible to transpile from one to the other at will. Though I think that some convenience features went the VB.NET to C# direction, so it wasn't totally without consequence.
[ Parent
| on HN ]
Re:RAD Basic – Compatible with Visual Basic 6 projects
by Jaruzel on Friday May 06, 2022 @08:17AM
(#31284263)
Both vb.net and C# compile to the same bytecode. So fundamentally, if you code for a hobby or are a lone coder, it's down to what you prefer (I prefer vb.net over C#), however organisations made it clear early on that C# was much preferred so that's what prevailed.
If I'm quickly knocking up a small GUI utility then the drag-drop building nature of a vb.net forms app is a real time saver - but in contrast you have more flexibility if you build controls via code like C# does.... horses for courses really.
Bizarrely, I've recently started exploring using C# as a CGI back-end via .NET core on Linux... for the simple reason that I can. Apparently it can be quite performant.
Re:RAD Basic – Compatible with Visual Basic 6 projects
by ycuser2 on Friday May 06, 2022 @08:43AM
(#31284454)
Microsoft does not develop VB.NET further.
Re:RAD Basic – Compatible with Visual Basic 6 projects
by pjmlp on Saturday May 07, 2022 @04:53AM
(#31293081)
They do, but not adding features to please us language geeks, rather what makes sense to interop with .NET libraries, CLS compliant.
Roslyn for VB.NET still gets more love than F# across .NET workloads.
Now it is true that they could rename CLR into C# Language Runtime, given the extent of effort that C# gets, versus VB.NET, F# and C++/CLI.
Re:RAD Basic – Compatible with Visual Basic 6 projects
by zozbot234 on Friday May 06, 2022 @08:49AM
(#31284507)
Isn't the Roslyn compiler open source? It might be possible to maintain a fork and bring the language to parity with upcoming C#/.NET features.
Re:RAD Basic – Compatible with Visual Basic 6 projects
by skeeter2020 on Friday May 06, 2022 @09:03AM
(#31284617)
They share the same IL so you can go VB.NET <=> Byte Code <=> C#, or any .Net language. C# diverged in terms of features though.