BASIC Developer & Support Resources > Compilers

C# Open Source


How Microsoft rewrote its C# compiler in C# and made it open source.

--- Quote ---Metaprogramming

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.

--- End quote ---

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

--- Quote ---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.

--- End quote ---

MonoDevelop Website

--- Quote ---
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.

--- End quote ---

A Tour of the C# Language

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.

I would invest time learning C# before Node.js. (JavaScript on the server)

I think Microsoft out did Apple and Swift.


[0] Message Index

Go to full version