BASIC Developer & Support Resources => Compilers => Topic started by: John on October 08, 2018, 07:50:26 pm

Title: C# Open Source
Post by: John on October 08, 2018, 07:50:26 pm
How Microsoft rewrote its C# compiler in C# and made it open source. (


Metaprogramming via C# attributes is part of the language. Many of these attributes duplicate the functionality of GCC's and VisualC++'s platform-dependent preprocessor directives.

Do I smell a C# BASIC with this?  8)

MonoDevelop enables developers to quickly write desktop and web applications on Linux, Windows and macOS. It also makes it easy for developers to port .NET applications created with Visual Studio to Linux and macOS maintaining a single code base for all platforms.

MonoDevelop Website (


Roslyn provides open-source C# and Visual Basic compilers with rich code analysis APIs. It enables building code analysis tools with the same APIs that are used by Visual Studio.

A Tour of the C# Language (
Title: Re: C# Open Source
Post by: John on October 09, 2018, 02:21:05 am
I installed MonoDevelop and the Mono framework for Ubuntu 18.04. A very nice IDE / Designer for Linux.

jrs@jrs-laptop:~/Projects/hello_csharp/hello_csharp/bin/Debug$ ls -l
total 12
-rwxr-xr-x 1 jrs jrs 4608 Oct  9 02:08 hello_csharp.exe
-rw-rw-r-- 1 jrs jrs  420 Oct  9 02:08 hello_csharp.pdb
jrs@jrs-laptop:~/Projects/hello_csharp/hello_csharp/bin/Debug$ time ./hello_csharp.exe
Hello World!

real   0m0.049s
user   0m0.034s
sys   0m0.016s


I'm looking forward to trying VB.NET on Linux.
Title: Re: C# Open Source
Post by: John on October 11, 2018, 12:21:49 pm
I would invest time learning C# before Node.js. (JavaScript on the server)

I think Microsoft out did Apple and Swift.