SharpLab
CoreCLR
DISCONTINUED
Our great sponsors
SharpLab | CoreCLR | |
---|---|---|
104 | 21 | |
2,524 | 12,786 | |
- | - | |
7.8 | 0.0 | |
3 months ago | about 1 year ago | |
C# | ||
BSD 2-clause "Simplified" License | - |
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.
SharpLab
-
The One Billion Row Challenge – .NET Edition
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?
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
-
C# Testing Playgrounds for old versions?
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#
-
TypeScript 5.2's New Keyword: 'using'
> C# doesn't allow you to destructure a single property and as far as I can tell
https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYAMBYAUBgRj2Nw...
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?
- 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#?
-
C# courses that take a look at how the language runs under the hood?
And you should checkout https://sharplab.io/ to see what IL, assembly is generated for whatever code.
CoreCLR
-
Best .net/c# resources for senior engineer
Sort of, some topic are not relevant anymore, consider this - https://github.com/dotnet/coreclr/tree/master/Documentation/botr
-
.NET 6 is now in Ubuntu 22.04
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
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
-
Is CLR via C# still good?
Book of the Runtime
CLR via C# is about the internals of the .NET Framework through the lens of C#. It's a good book for that purpose. I read that book early on in my .NET career to do just that - learn the insides of the framework I was using. The closest equivalent is the Book of the Runtime for .NET Core/5/6.
-
New .NET 6 APIs driven by the developer community
Looks like maybe this one, but I'm not sure:
-
Do you want to see a magic trick?
They switched the JIT from using IVMaps to using Virtual Stub Dispatch.
-
.NET 6 Preview 5
Use perfcollect for Linux: https://github.com/dotnet/coreclr/blob/master/Documentation/...
-
"Did you know...?" infographics - #6 List capacity and internal array
Nitpicking terminology a bit - the capacity for List (and all of the collections in System.Collections.Generic IIRC) isn't a hint or encouragement. If you specify a capacity in the constructor the internal array will be initialized to that size. Likewise if you set the Capacity property the internal array will be resized to the value you specify.
- What is the code inside common methods?
What are some alternatives?
.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.
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
BenchmarkDotNet - Powerful .NET library for benchmarking
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.
sdk - Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
csharplang - The official repo for the design of the C# programming language
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
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.
FStar - A Proof-oriented Programming Language
JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.