Software Alternatives, Accelerators & Startups

Roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs. - dotnet/roslyn.

Roslyn

Roslyn Reviews and Details

This page is designed to help you find out whether Roslyn is good and if it is the right choice for you.

Screenshots and images

  • Roslyn Landing page
    Landing page //
    2023-08-21

Features & Specs

  1. Open Source

    Roslyn is an open-source project, which means that developers can contribute to its development, report issues, and use it in their own projects freely. The transparency allows for community-driven improvements and adaptations.

  2. C# and VB Compiler

    Provides a powerful compiler for C# and Visual Basic, allowing for the translation of code into Intermediate Language (IL), making it an integral part of the .NET ecosystem.

  3. Rich API

    Offers a rich API that enables developers to analyze, manipulate, and generate code, which can enhance tools and facilitate custom code analysis or refactoring tools.

  4. Integration with Visual Studio

    Tightly integrated with Visual Studio, Roslyn provides features like IntelliSense, code fixes, refactoring, and live code analysis, enhancing the development experience.

  5. Real-time Code Analysis

    Supports real-time code analysis which helps in catching errors and suggesting improvements during development, thereby improving code quality and reducing debugging time.

Badges

Promote Roslyn. You can add any of these badges on your website.

SaaSHub badge
Show embed code

Videos

Analyzing source code using Roslyn - Erik Schierboom - NDC Oslo 2020

ROSLYN HOTEL TOUR AND REVIEW IN DEPTH MUST WATCH

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about Roslyn and what they use it for.
  • I'm writing a history of Visual Basic, Chapter 1 is up
    VB.NET is open source, supports AOT, and there is little else that VB 6 does better, other than COM integration, which .NET was always a bit lower level https://github.com/dotnet/roslyn Now I bet what you mean is the graphical part, and yes that is only partial open source. - Source: Hacker News / about 1 month ago
  • High-performance backend scripting for .NET
    The script compiler uses Roslyn to generate a .NET assembly for each script. The assembly's binary data and the script's hash value are stored in the database with the script object. The hash code is used for assembly caching. - Source: dev.to / 4 months ago
  • .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
    Yes it is. You can fork the roslyn compiler and toolchain here: https://github.com/dotnet/roslyn It's even an mit license one of the most permissive. - Source: Hacker News / 11 months ago
  • The search for easier safe systems programming
    C# and VB compiler suite, MIT license: https://github.com/dotnet/roslyn You were saying? - Source: Hacker News / about 2 years ago
  • The search for easier safe systems programming
    The C# compiler has an MIT license and is available on GitHub, which is about as FOSS as it gets. https://github.com/dotnet/roslyn. - Source: Hacker News / about 2 years ago
  • Generating C# code programmatically
    Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi-line string or some template library like scriban. But I searched for a way to generate more and more complicated logic easily - like for example, adding raw SQL... - Source: dev.to / about 2 years ago
  • Use Case Driven Development with Low-Code
    At runtime, the Case C# expressions are embedded into a function and dynamically compiled into an assembly using the Roslyn C# compiler. Then the function that contains the expression is called (e.g. CaseAvailableFunction.Availablle()). At runtime, the function provides various methods to access stored case values as well as the current input data. - Source: dev.to / almost 3 years ago
  • How do IDEs add language support / detect the language you are using?
    It's no surprise that IDEs can do the same thing, and they may even share the same codebase for doing so. For instance, C#'s Roslyn compiler states:. Source: about 3 years ago
  • Nostalgic for VB? BASIC is anything but dead
    Way back in 2014, Microsoft said it [VB.NET] would go open source, but all that emerged is the rather less interesting Roslyn. Source: about 3 years ago
  • Problem with a lesson about nullable types
    I downloaded the Roslyn compiler, but it seems that nothing changed, I still get the same error. Source: over 3 years ago
  • Apple won't allow custom scripts to be compiled at runtime right?
    My game involves downloading custom scripts from our server and compiling those scripts at runtime Rosyln on the app. Source: over 3 years ago
  • Announcing .NET Community Toolkit 8.1
    You should open an issue about this in the Roslyn repo, or follow one about this in case one exists already (do a search first). It's Roslyn that controls how the go to definition works, this is not something that we (I mean from the MVVM Toolkit) have control over. It's certainly an interesting point and I did see this being raised a few times alreaady, and I agree that I've also found myself in the same... Source: over 3 years ago
  • If Rust started with GCC would Rust still be the same ?
    GCC being GPL was a good idea in a landscape of expensive & mediocre proprietary compilers. It's unclear how valuable it is now that even Microsoft is releasing free open-source compilers for new languages (which would have been unthinkable back in 1998). Source: over 3 years ago
  • A Team at Microsoft is Helping Make Python Faster
    What area of .net? If you mean the c# compiler, yeah, it's changed. https://github.com/dotnet/roslyn. Source: over 3 years ago
  • Using Roslyn Analyzers for static code analysis
    Roslyn is the name of the C# (and VB) compiler, which is developed primarily by Microsoft as an open source project. The platform has been the default C# compiler since Visual Studio 2015 and is actually written in C# itself โ€” in contrast to the first generation of C# compiler which was written in C++. - Source: dev.to / over 3 years ago
  • Why is Microsoft's C# not taught in most universities and Java is instead?
    No, talking about C#, the language and it's accompanying runtime and class libraries, is completely open source now. The compiler Roslyn, (https://github.com/dotnet/roslyn) is open source and the language specification is now community driven (https://github.com/dotnet/csharplang). Source: over 3 years ago
  • Is .NET open? MS pushing a proprietary extension to replace OmniSharp
    Ah come on! It's more complicated than that. Most of the heavy lifting in OmniSharp is done by Roslyn [0]. Roslyn is the open source C# compiler and code analysis library maintained by MS. You cannot overstate how much effort has gone into Roslyn, and how much money MS has invested to make it work. OmniSharp is essentially a wrapper[1] around Roslyn (before Roslyn it was Mono), and while the OmniSharp team did a... - Source: Hacker News / almost 4 years ago
  • Lisp, Smalltalk, and the Power of Symmetry
    For me there was a huge divide between those who were supplying Smalltalk and worked that side of the fence, and the customers who were trying to solve problems. I saw that as why Smalltalk lost to simpler/arguably stupider tech like Java. I have sometimes pondered whether to try making a system that kind of rhymed with Smalltalk, but using Roslyn[0] instead. Although I envisage it as being a kind of playground... - Source: Hacker News / about 4 years ago
  • Actix Web v4.0 (Rust)
    Clearly nobody ever manages to use this Go thing with over 700: https://github.com/golang/go/issues. Or .net, over 5000 issues for the compiler alone: https://github.com/dotnet/roslyn. I'd guess stuff like Java, glibc would be similar if they used github. - Source: Hacker News / over 4 years ago
  • nix-channel --update just hangs
    There are currently 1.7k issued opened on the Nix's GitHub (for comparison - both https://github.com/rust-lang/rust and https://github.com/dotnet/roslyn have >5k), so tending to them all is just physically impossible - with limited time and resources, one has to choose; and apparently nix-channel --update simply isn't that much of an issue compared to the others. Source: over 4 years ago
  • The compiler
    Compilers are their own separate programs. In this case, you'll be compiling your code with Roslyn which comes included in Visual Studio. But you can also swap it out with another C# compiler if you'd like. Source: over 4 years ago

Do you know an article comparing Roslyn to other products?
Suggest a link to a post with product alternatives.

Suggest an article

Roslyn discussion

Log in or Post with

Is Roslyn good? This is an informative page that will help you find out. Moreover, you can review and discuss Roslyn here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.