|about 9 hours ago||1 day ago|
|MIT License||GNU General Public License v3.0 or later|
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.
Method overloading error in 2022 and I don't know why.
2 projects | reddit.com/r/csharp | 23 May 2022
Local functions do not support overloading
Why does foreach on arrays and strings get lowered into a while loop that ignores IEnumerable, even though both classes implement it?
1 project | reddit.com/r/csharp | 11 May 2022
Honestly, I don't have a clue why these would be different. I found the relevant Roslyn code here. You can see on line 719 that this is definitely intentional:
.Net 6.0 - The new Program.cs "flat" style - too implicit/magic?
6 projects | reddit.com/r/csharp | 30 Mar 2022
Why is Python so popular?
3 projects | reddit.com/r/Python | 27 Mar 2022
How to call a variable from a string, if that make sense lol
2 projects | reddit.com/r/csharp | 24 Mar 2022
Why not use Roslyn Scripting…you can pretty much do any kind of dynamic evaluation with this and it does not require any reflection. https://github.com/dotnet/roslyn/blob/main/docs/wiki/Scripting-API-Samples.md you can add the support via a Nuget.
What’s the maximum number of arguments for method in C# and in .NET?
1 project | reddit.com/r/dotnet | 7 Mar 2022
It was discussed at one point: https://github.com/dotnet/roslyn/issues/5058
What parsing techniques do you use to support a good language server?
10 projects | reddit.com/r/ProgrammingLanguages | 1 Mar 2022
It must be a fairly large echo chamber since it has room for Clang, GCC, V8, OpenJDK, Roslyn, etc. (The Zend parser for PHP seems to use some flavor of YACC, but given PHP, I don't know if that strengthens or weakens my point.)
Why is no-one using Roslyn token-based code generation with Source Generators?
5 projects | reddit.com/r/dotnet | 28 Feb 2022
I'm planning to rewrite all of our company's old T4-based codegen tools into Source Generators. I've been looking at how other Source Generators are implemented and what surprised me is that everyone seems to assemble the output code manually as text with string builders or at best some simple templating engine (eg. Scriban). I expected that I would see a lot of projects assembling their output code from Roslyn tokens and then using Roslyn's formatter to produce the actual code that can be emitted into the output file(s), like this article demonstrates. No-one seem to be doing that though. Why?5 projects | reddit.com/r/dotnet | 28 Feb 2022
Actix Web v4.0 (Rust)
10 projects | news.ycombinator.com | 25 Feb 2022
ASP.NET 6 - Rate limit injected SMS service
3 projects | reddit.com/r/dotnet | 22 May 2022
Question about the decimal type in C# and the IEEE 754 standard.
2 projects | reddit.com/r/csharp | 19 May 2022
To have decimal128, a proposal has to be fledged out. You can read Tanner's comment here for more info: https://github.com/dotnet/runtime/issues/33126
A package to pretty print trees to the console
3 projects | reddit.com/r/csharp | 19 May 2022
Most projects I have seen just use the Microsoft standards, which in my opinion is rather excellent.
.NET 7 introduces Native AOT
Check the docs out: https://github.com/dotnet/runtime/blob/main/src/coreclr/nati...
Seems to be the case that you just need to install the Microsoft.DotNet.ILCompiler package, and then `dotnet publish...` with the desired target.
Thanks for the feedback! If you have some details and want to post them on https://github.com/dotnet/runtime, we can include them in planning. As you might have guessed, this is a pretty huge long-term project and many things basically need to be rebuilt from scratch in order to be supported.
Debugging is one area where the form factor will likely demand different behavior vs. JIT, so it will be an evolving scenario. It would be great to know what you would expect vs. what you saw, and importantly what you expect to be different from a traditional native debugging experience (like in C++).
This produces a self-unpacking executable that drops all the assemblies somewhere and then runs it. There can be surprising side effects. https://github.com/dotnet/runtime/issues/59715
And check the small print on your platform as to whether it's really single file not requiring any other dependencies alongside it.
Unity's plan to migrate from Mono to .NET CoreCLR
dotnet/runtime has a document describing the changes to ECMA-335.
Here is the doc I'm talking about. These are not just "C# features".
Your language inserting casts is not the same as the spec and runtime supporting covariant return types. You can read about some of the challenges with covariant return types in this document.
Question: Native Exports .NET 5/6 with DNNE
2 projects | reddit.com/r/dotnet | 17 May 2022
What are some alternatives?
Mono-basic - Visual Basic Compiler and Runtime
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Ryujinx - Experimental Nintendo Switch Emulator written in C#
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp
WASI - WebAssembly System Interface
MSBuild - The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
SharpLab - .NET language playground
vgpu_unlock - Unlock vGPU functionality for consumer grade GPUs.
ClojureCLR - A port of Clojure to the CLR, part of the Clojure project
runtimelab - This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.