dotnet/runtime
View on GitHub ↗ ★ 18,406 C#
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
335 mentions on Hacker News by 195 people: 30 stories, 305 comments · first 2019-12-06 · latest 2026-09-21
20082026
-
…language to offer it with an assurance to emit good codegen (unless you abuse it too hard). [0] https://github.com/dotnet/runtime/blob/main/docs/coding-guid... [1] https://github.com/U8String/U8String/blob/main/Sources/U8Str... [2]…
comment by neonsunset · 2024-04-27 · in Optimizing your programs for Arm platforms -
…if necessary. Reference: - https://learn.microsoft.com/en-us/dotnet/core/deploying/nati... - https://github.com/dotnet/runtime/blob/main/src/coreclr/nati... - https://github.com/dotnet/runtime/blob/5b4e770daa190ce69f402... (full list of…
comment by neonsunset · 2024-04-25 · in The software industry rapidly convergng on 3 languages: Go, Rust, and JavaScript -
…load predictors and, as noted in parent comments, block inlining, which is highly undesirable. [0] https://github.com/dotnet/runtime/blob/5111fdc0dc464f01647d6... [1] https://github.com/dotnet/runtime/blob/main/docs/design/core... (mind…
comment by neonsunset · 2024-04-23 · in The Performance Impact of C++'s `final` Keyword -
….NET Framework, while performing adequately, was still that slow compared to what we got today. [0] https://github.com/dotnet/runtime/tree/main/src/libraries/Sy...
comment by neonsunset · 2024-04-23 · in The Performance Impact of C++'s `final` Keyword -
…JIT and AOT) than Python or JVM). Also, Mono (not the Unity fork one) is now just a part of https://github.com/dotnet/runtime like CoreCLR and is used for targets which CoreCLR is not suitable for or does not support yet like WASM…
comment by neonsunset · 2024-04-17 · in Java 23: The New Features Are Officially Announced -
…but cross-platform abstractions stabilized since .NET 7 and an extensive guide to using those: https://github.com/dotnet/runtime/blob/69110bfdcf5590db1d32c... CoreLib and many new libraries are using it heavily to match performance of…
comment by neonsunset · 2024-04-17 · in Java 23: The New Features Are Officially Announced -
…Also, here is another implementation of this algorithm in C#, used in .NET: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by MarkSweep · 2024-04-12 · in BatBadBut: You can't securely execute commands on Windows -
…months working on a string library which has performant parsing as one of the project goals[1]. [0] https://github.com/dotnet/runtime/tree/main/src/libraries/Mi... [1] https://github.com/U8String/U8String
comment by neonsunset · 2024-04-11 · in World's Smallest CSV Parser (C#) -
…Microsoft .NET and ASP.NET feature tracking: Add support for Zstandard to System.IO.Compression: https://github.com/dotnet/runtime/issues/59591 Support zstd Content-Encoding: https://github.com/dotnet/aspnetcore/issues/50643
comment by qingcharles · 2024-04-01 · in Chrome Feature: ZSTD Content-Encoding -
…said state machine box pooling+ValueTask<T>[0] and may be entirely allocation-free. [0] Example: https://github.com/dotnet/runtime/blob/cc7bf831f02cad241547e...
comment by neonsunset · 2024-03-30 · in Garbage collection for systems programmers (2023) -
…depending on publish contents) If you're interested, here's the PR history for the feature: - https://github.com/dotnet/runtime/pull/77884 - https://github.com/dotnet/runtime/pull/79209 - https://github.com/dotnet/runtime/pull/78545 -…
comment by neonsunset · 2024-03-29 · in Monogon: A Linux userland in pure Go -
…here. It is one of the most convenient languages to write bespoke SIMD code in today. Examples: - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - https://github.com/dotnet/runtime/blob/b432fc66fe59873b2b2ad... -…
comment by neonsunset · 2024-03-26 · in Writing x86 SIMD using x86inc.asm (2017) -
Initial experiment issue: https://github.com/dotnet/runtime/issues/94620 Experiment results write-up: https://github.com/dotnet/runtimelab/blob/e69dda51c7d796b812... TLDR: The green threads experiment was a failure as it found (expected…
comment by neonsunset · 2024-03-25 · in Why choose async/await over threads? -
…changes. There is still a lot of questions unanswered, but initial tests look promising. Ref: https://github.com/dotnet/runtime/issues/94620
comment by asabla · 2024-03-25 · in Why choose async/await over threads? -
…individually (usually), which is what contributors also do. For example, you can clone and build https://github.com/dotnet/runtime and use the produced artifacts to execute .NET assemblies or build .NET binaries.
comment by neonsunset · 2024-03-21 · in Redis adopts dual source-available licensing -
…is now being worked on to be integrated in one of the future version of .NET (hopefully 10?) [0] https://github.com/dotnet/runtime/issues/11192 [1] https://github.com/dotnet/runtimelab/blob/feature/async2-exp...
comment by neonsunset · 2024-03-20 · in Garnet – A new remote cache-store from Microsoft Research -
Thank you, I missed the stack allocation design doc stating it’s on the roadmap. ( https://github.com/dotnet/runtime/blob/main/docs/design/core... ) Appreciate the detail about the stack allocated bits in .NET.
comment by astral303 · 2024-03-20 · in Garnet – A new remote cache-store from Microsoft Research -
…combo but it's very niche, the good debugger implementation is not OSS hence the remark. [0] https://github.com/dotnet/runtime/issues/97711 here's an example of a request driven by an interest from Azure team which was rejected because…
comment by neonsunset · 2024-03-14 · in "Using .net Cost Me My Job" (2020) -
…is written in C or C++[1] and you run the runtime on an OS that's largely written in C or C++. [1] https://github.com/dotnet/runtime
comment by nequo · 2024-02-10 · in Too dangerous for C++ -
…- https://github.com/nietras/1brc.cs/blob/main/src/Brc/BrcAccu... - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... (and many more if you search github for the uses of Vector128/256<byte> and the like!)
comment by neonsunset · 2024-01-23 · in From slow to SIMD: A Go optimization story -
…to implement C# vastly outweighs the amount in Rust's standard library. According to bing.com chat, https://github.com/dotnet/runtime has 3.5M LOC, and https://github.com/rust-lang/rust has 6M LOC. The right panel of…
comment by Const-me · 2024-01-15 · in OpenD, a D language fork that is open to your contributions -
…code that used to be proprietary specifically to make all the Mono bits to be legally sound. [0] https://github.com/dotnet/runtime/blob/main/LICENSE.TXT [1] https://github.com/dotnet/runtime/blob/main/PATENTS.TXT (I think there was another…
comment by neonsunset · 2024-01-11 · in Show HN: GodotOS – Fake operating system interface made in the Godot engine -
…IndexOfMatch, LastIndexOfMatch and GetMatchCount scenarios it is used for most of the time: - https://github.com/dotnet/runtime/pull/94472/files#diff-5824... (it's closed for now but I'm hoping to get back to it at some point) -…
comment by neonsunset · 2023-12-26 · in Ask HN: What's the fastest programming language with a large standard library? -
…https://doc.rust-lang.org/std/arch/index.html [2]: https://doc.rust-lang.org/std/simd/index.html [3]: https://github.com/dotnet/runtime/blob/72fae0073b35a404f03c3... [4]: https://github.com/dotnet/runtime/pull/88394#issuecomment-16... [5]:…
comment by burntsushi · 2023-12-26 · in Ask HN: What's the fastest programming language with a large standard library? -
…of examples is - Shared SIMD helper for Aho-Corasick, Rabin-Karp and other text search algorithms https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - Bloom filter https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...…
comment by neonsunset · 2023-12-26 · in Ask HN: What's the fastest programming language with a large standard library? -
…is really rudimentary. With that said, you can track support of various WASM features by .NET here: https://github.com/dotnet/runtime/issues/94351 I don’t understand how the logic of your post works however, WASM in .NET is already used in…
comment by neonsunset · 2023-12-11 · in Building a bare-metal bootable game for Raspberry Pi in C# -
…In fact, OSU! has been able to get consistently good frame times even back on .NET Framework. [0] https://github.com/dotnet/runtime/blob/main/docs/design/core... [1] https://maoni0.medium.com/dynamically-adapting-to-applicatio...
comment by neonsunset · 2023-12-09 · in Murder is a pixel art ECS game engine in C# -
…bypassing ObjC in the works (the motivation behind it is somewhat elusive to me but hey!) [0] https://github.com/dotnet/runtime/issues/93631
comment by neonsunset · 2023-11-30 · in Ask HN: How to create web, mobile, and desktop apps from a common code base? -
Yes, and go upvote this .NET feature so we can make portable .NET WASM libraries: https://github.com/dotnet/runtime/issues/86162 .NET WASM performance is actually very impressive, especially with AOT enabled.
comment by umvi · 2023-11-15 · in WASM by example -
…does this exact behavior. Sounds like gunicorn needs a pr to mimic, if they want to replicate this. https://github.com/dotnet/runtime/issues/8485
comment by status_quo69 · 2023-11-07 · in Go, Containers, and the Linux Scheduler -
- https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by neonsunset · 2023-11-05 · in Classes vs. structs in .NET: how not to teach about performance -
…This is absolutely not true. Where are you getting this from? Pray tell, what you think this is: https://github.com/dotnet/runtime
comment by whoknowsidont · 2023-11-04 · in Classes vs. structs in .NET: how not to teach about performance -
And to include .net: https://github.com/dotnet/runtime/blob/main/docs/design/spec...
comment by 3pm · 2023-10-28 · in Memory Models -
…looks ugly like in Rust, but you can easily fix it with a few extension methods[1]. [0]: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... [1]: https://github.com/U8String/U8String/blob/main/Sources/Compa...
comment by neonsunset · 2023-10-26 · in Was Rust Worth It? -
Microsoft dropped its patch details here: https://github.com/dotnet/runtime/issues/93303
comment by qingcharles · 2023-10-10 · in The novel HTTP/2 'Rapid Reset' DDoS attack -
…support various platforms. Somewhat arbitrary example, there is also a project to support RISC-V ( https://github.com/dotnet/runtime/issues/84834 ).
comment by neonsunset · 2023-09-17 · in Java 21 makes me like Java again -
…yourself, 90% of what makes .NET run is below. Almost all development happens in the open: https://github.com/dotnet/runtime https://github.com/dotnet/installer https://github.com/dotnet/roslyn https://github.com/dotnet/aspnetcore Could…
comment by neonsunset · 2023-09-17 · in Java 21 makes me like Java again -
…accepting HTTP/2 connections with TLS impossible. Fortunately, support will be added in .NET 8 with https://github.com/dotnet/runtime/pull/79434 .
comment by halter73 · 2023-07-12 · in Istio moved to CNCF Graduation stage -
…using the Mono WASM runtime that's part of the .NET core repo now. This is what underpins Blazor. https://github.com/dotnet/runtime/tree/main/src/mono/wasm Example C# app running in a browser: https://github.com/dotnet/runtime/blob/main/src…
comment by gavinray · 2023-06-21 · in Microsoft rewrote Q# compiler in Rust -
…to support that as a Vector256 implementation to get that code working with no other changes. [0]: https://github.com/dotnet/runtime/blob/2a1b52a1b691c42a7f407...
comment by Kipters · 2023-05-31 · in AVX512 intrinsics for JDK’s Arrays.sort methods -
…some incompatibility, a warning should be generated. If there isn't that's likely a bug on us ( https://github.com/dotnet/runtime ). But conversely, if there are no warnings, you should be guaranteed that the app should be AOT-compatible.
comment by andygocke · 2023-05-26 · in Native AOT Overview -
Just as Microsoft forked .NET Framework to make CoreCLR, they forked Mono. Both live in the http://github.com/dotnet/runtime repository. Both share most of the same C# code base for their runtime libraries. Mono is used for Blazor (WASM),…
comment by MarkSweep · 2023-05-18 · in Ask HN: Contradicting licensing information on .NET / Visual Studio libraries -
…float types, including `Decimal32` and `Decimal64` which will allow atomic reads/writes. [0]: https://github.com/dotnet/runtime/issues/81376 [1]: https://github.com/dotnet/runtime/issues/79004
comment by colejohnson66 · 2023-04-15 · in Aztec monks with 1/55 HP no longer die when picking up or dropping a relic -
…to me like TPL and friends are just executing tasks on thread pools until completion. (see e.g., https://github.com/dotnet/runtime/issues/50796 for some discussion)
comment by foota · 2023-04-12 · in Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency -
As far as I've been there was some effort in .NET for BSD https://github.com/dotnet/runtime/issues/14537 700 comments https://github.com/dotnet/runtime/blob/main/docs/workflow/re... https://github.com/dotnet/runtime/issues/71338…
comment by tester756 · 2023-04-10 · in OpenBSD 7.3 -
…[2] https://learn.microsoft.com/en-us/dotnet/api/system.span-1 [3] https://github.com/dotnet/runtime/issues/35773
comment by jiggawatts · 2023-04-09 · in Building a Database in the 2020s (2022) -
…is a significant timesaver for my projects, to the point where I find it hard to work without it. https://github.com/dotnet/runtime/issues/12409 So the most efficient C# development solution for me is going back to Windows and Visual…
comment by nonbirithm · 2023-03-22 · in Understanding the .NET ecosystem: The evolution of .NET into .NET 7