Author Topic: C# Open Source  (Read 121 times)

Offline John

  • Forum Support / SB Dev
  • Posts: 1875
    • ScriptBasic Open Source Project
C# Open Source
« on: October 08, 2018, 07:50:26 PM »
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.

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.

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.

A Tour of the C# Language

Offline John

  • Forum Support / SB Dev
  • Posts: 1875
    • ScriptBasic Open Source Project
Re: C# Open Source
« Reply #1 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
jrs@jrs-laptop:~/Projects/hello_csharp/hello_csharp/bin/Debug$




I'm looking forward to trying VB.NET on Linux.
« Last Edit: October 09, 2018, 03:09:06 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 1875
    • ScriptBasic Open Source Project
Re: C# Open Source
« Reply #2 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.
« Last Edit: October 11, 2018, 02:55:55 PM by John »