CoreCLR VS SharpLab

Compare CoreCLR vs SharpLab and see what are their differences.

CoreCLR

CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes. (by dotnet)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
CoreCLR SharpLab
22 106
12,786 2,554
- -
0.0 7.8
over 1 year ago 4 months ago
C#
- BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

CoreCLR

Posts with mentions or reviews of CoreCLR. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.
  • The Performance Impact of C++'s `final` Keyword
    6 projects | news.ycombinator.com | 22 Apr 2024
    Yes, that is true. I'm not sure about JVM implementation details but the reason the comment says "virtual and interface" calls is to outline the difference. Virtual calls in .NET are sufficiently close[0] to virtual calls in C++. Interface calls, however, are coded differently[1].

    Also you are correct - virtual calls are not terribly expensive, but they encroach on ever limited* CPU resources like indirect jump and load predictors and, as noted in parent comments, block inlining, which is highly undesirable for small and frequently called methods, particularly when they are in a loop.

    * through great effort of our industry to take back whatever performance wins each generation brings with even more abstractions that fail to improve our productivity

    [0] https://github.com/dotnet/coreclr/blob/4895a06c/src/vm/amd64...

    [1] https://github.com/dotnet/runtime/blob/main/docs/design/core... (mind you, the text was initially written 18 ago, wow)

  • How are stack machines optimized?
    1 project | /r/Compilers | 20 Jun 2023
  • Best .net/c# resources for senior engineer
    3 projects | /r/dotnet | 8 Mar 2023
    Sort of, some topic are not relevant anymore, consider this - https://github.com/dotnet/coreclr/tree/master/Documentation/botr
  • Is there a C# under the hood tutorial?
    1 project | /r/csharp | 29 Jan 2023
    Fairly advanced stuff but the Book Of The Runtime (BOTR) it's a invaluable resource
  • In depth learning of C#?
    1 project | /r/csharp | 3 Sep 2022
    After that you can check out the The Book of the Runtime, which is the CoreCLR version of the previous book.
  • .NET 6 is now in Ubuntu 22.04
    23 projects | news.ycombinator.com | 16 Aug 2022
    Technically the restrictions already exist, just as a part of the development experience.

    - .NET Hot Reload is only implemented on Windows. It requires support in the .NET runtime, which is technically possible to implement, but the team has not gotten around to implementing it for years. This doesn't have to do with the issue around MS removing the "dotnet watch" command, it's for the "Edit and Continue" feature in IDEs.[1][2]

    - MS was considering deprecating Omnisharp, the open-source language server that implements C# support for VS Code, and replacing it with a closed-source version. Since the announcement, commits to omnisharp-vscode have dropped off significantly. The lack of Omnisharp would mean there would be no real open-source C# development environment for Linux anymore, since MonoDevelop was abandoned a few years ago. [3]

    [1] https://youtrack.jetbrains.com/issue/RIDER-31366/EditContinu...

    [2] https://github.com/dotnet/coreclr/issues/23685

    [3] https://github.com/omnisharp/omnisharp-vscode/issues/5276

  • what a .NET specialist should know
    3 projects | /r/dotnet | 14 Aug 2022
    The next step is to realize everything you think you know about .NET is just an abstraction. Next step is to learn about what is going on behind all that syntax sugar and facades. 1st step might be https://github.com/dotnet/coreclr/tree/master/Documentation/botr then go down the rabbit hole and have fun
  • Trouble with random numbers
    1 project | /r/csharp | 23 May 2022
  • Is CLR via C# still good?
    2 projects | /r/dotnet | 14 Feb 2022
    Book of the Runtime
  • Understanding dotnet
    1 project | /r/csharp | 18 Jan 2022
    As for the books, back in the days I really enjoyed reading “CLR via C#" by Jeffrey Richter which helped a lot to understand what is under the hood. Other from that, try The Book of the Runtime

SharpLab

Posts with mentions or reviews of SharpLab. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Is .NET just miles ahead or am I delusional?
    4 projects | news.ycombinator.com | 13 Apr 2024
    Do these all compile to the exact same thing?

    https://sharplab.io/#v2:CYLg1APgAgTAjAWAFBQMwAJboMLoN7LpHoCW...

    Yes, so you are right.

  • Generating C# code programmatically
    4 projects | dev.to | 5 Apr 2024
    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 handler methods to my pre-generated DBSet-like classes for my ADO.NET experiment. You could now say: Use Roslyn and that's really fine if you look everything up in a website like SharpLab, which shows immediately the syntax tree of our C# code.
  • The One Billion Row Challenge – .NET Edition
    3 projects | news.ycombinator.com | 6 Jan 2024
    One results in MOVSX, the other in MOVZX [1]. The difference thus is sign/zero extension when moving to the larger register. However, they seem to perform pretty much identical if I'm reading Agner Fog's instruction tables correctly.

    [1] https://sharplab.io/#v2:C4LghgzgtgPgAgJgIwFgBQcDMACR2DC2A3ut...

  • Any programs or websites to practice programming?
    6 projects | /r/csharp | 8 Dec 2023
    If you don't have an IDE, you can use SharpLab.io or dotnet fiddle
  • Por debaixo do capô: async/await e as mágicas do compilador csharp
    3 projects | dev.to | 18 Oct 2023
  • C# Testing Playgrounds for old versions?
    3 projects | /r/dotnet | 26 Aug 2023
    The closest online tool I can think of would be SharpLab, but you can only choose between Roslyn's git branches instead of C# versions.
  • The combined power of F# and C#
    10 projects | news.ycombinator.com | 7 Aug 2023
  • TypeScript 5.2's New Keyword: 'using'
    18 projects | news.ycombinator.com | 19 Jun 2023
    Your code is destructuring two properties and discarding one of them. It doesn't work with a single property: https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYAMBYAUBgRj2Nw...

    I think that records don't generate a deconstruct method when they only have one property, but even if you manually define one you'll get an error on `var (varName) = ...`

  • Tips for entry-level .net developer?
    2 projects | /r/dotnet | 2 Jun 2023
    - LinqPad is great and I love, but, IMO, it is not the best tool to start with. It does not provide intellisense or debugger in the free version. Assuming you do not want to pay for this licence just to play a little with the language, I'd suggest https://sharplab.io/. It is not as powerfull as LinqPad, but at least it gives you suggestions.
  • Running a XUnit test with C#?
    3 projects | /r/csharp | 28 May 2023

What are some alternatives?

When comparing CoreCLR and SharpLab you can also consider the following projects:

.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

JITWatch - Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.

sdk - Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI

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

Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

referencesource - Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework

BenchmarkDotNet - Powerful .NET library for benchmarking

AspNetCore-Developer-Roadmap - Roadmap to becoming an ASP.NET Core developer in 2024

interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.

Windows UI Library - Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications

csharplang - The official repo for the design of the C# programming language