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
-
Just checked it and I underestimated. Just before the split it was at 54k LOC: < https://github.com/dotnet/runtime/blob/b96f3cc738f7fca9474fb... > I’ve also read that a first version of the file came from a Common Lisp to C++ code…
comment by brewmarche · 2026-09-21 · in Microsoft agentically ports Copilot runtime to Rust for $120K -
…ever actually consulted with golang devs): https://github.com/WebAssembly/gc/issues/36 More links: https://github.com/dotnet/runtime/issues/94420 https://github.com/golang/go/issues/63904
comment by wasmperson · 2026-08-10 · in Windows 11's built-in Weather app wastes more than 1 GB of RAM -
…is not suitable for .NET: https://github.com/WebAssembly/gc/issues/77 What should be improved: https://github.com/dotnet/runtime/issues/94420
comment by jaen · 2026-07-25 · in GC and Exceptions in Wasmtime -
…took a long time and we still can't get aligned pinned allocs (have to manually pad instead) [2] - https://github.com/dotnet/runtime/discussions/115627
comment by to11mtm · 2026-07-13 · in Tune Code Before Your Garbage Collector -
…the modern .NET runtime, System.Random should come from here, which is updated somewhat regularly: https://github.com/dotnet/runtime/commits/main/src/libraries... . Although, whether any of these is a behavioral breaking change isn't…
comment by mellinoe · 2026-06-16 · in Correlated randomness in Slay the Spire 2 -
…never. The core libraries of .NET are written in C# and it's like a completely different language: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... One might not make use of it application code but these features a major…
comment by wvenable · 2026-05-24 · in Improving C# Memory Safety -
…calls used to here [2]. [1]: https://learn.microsoft.com/en-us/dotnet/api/system.runtime.... [2]: https://github.com/dotnet/runtime/blob/b6a3e784f0bb418fd2fa7...
comment by MarkSweep · 2026-02-27 · in Allocating on the Stack -
…is in particular universal in Microsoft documentation (but notably not actual Microsoft code; e.g. https://github.com/dotnet/runtime has plenty of cleanup gotos). In practice, well, the “of doom” part applies: two fallible functions on the…
comment by mananaysiempre · 2026-02-20 · in Defer available in gcc and clang -
…[2] https://dotnetfoundation.org/about/policies/.net-foundation-... [3] https://github.com/dotnet/runtime/blob/main/CONTRIBUTING.md [4] https://github.com/dotnet/sdk/issues/6145 [5] https://github.com/dotnet/sdk/issues/22247
comment by ptx · 2026-02-01 · in The history of C# and TypeScript with Anders Hejlsberg [video] -
…implementation is very close to what the article showcases, even 3-character limit is there: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by neonsunset · 2026-01-05 · in So, you want to chunk really fast? -
…APIs based on assumptions versus a 1:1 method that exposes managed code and hides unmanaged. [0] https://github.com/dotnet/runtime/pull/100824
comment by yndoendo · 2026-01-03 · in 2026 will be my year of the Linux desktop -
…alternative GC with ultra low pauses for .NET called Satori. It's primarly discussed here https://github.com/dotnet/runtime/discussions/115627 , and the GC itself can be found here https://github.com/VSadov/Satori
comment by mrsmrtss · 2025-12-29 · in Unity's Mono problem: C# code runs slower than it should -
…it telling they don't list one of the more public LLM adoptions being forced fed to MSFT workers: https://github.com/dotnet/runtime/pull/115762
comment by shimman · 2025-12-23 · in A year of vibes -
https://github.com/dotnet/runtime/pull/120637#discussion_r24... lmao. They had an AI create a PR, then a human to review it, but then the human ended up using another AI to review the original AI.
comment by gruez · 2025-12-02 · in After Windows Update, Password icon invisible, click where it used to be -
…In the dotnet repos you can see MS employees constantly fighting it across hundreds of PRs: https://github.com/dotnet/runtime/pull/120637
comment by LiamPowell · 2025-12-02 · in After Windows Update, Password icon invisible, click where it used to be -
…in January 2024. See: - https://www.freshports.org/lang/dotnet/ - https://wiki.freebsd.org/.NET - https://github.com/dotnet/runtime/issues/14537 Currently it looks like it's currently just 9.0.10
comment by SirGiggles · 2025-11-13 · in A brief look at FreeBSD -
…check out the JIT section of https://devblogs.microsoft.com/dotnet/performance-improvemen... and or https://github.com/dotnet/runtime/blob/main/docs/design/core...
comment by andyayers · 2025-10-09 · in Ask HN: Who is hiring? (October 2025) -
…nice optimizations but can complicate things for the JIT. Some details here if you're curious: https://github.com/dotnet/runtime/blob/main/docs/design/core...
comment by andyayers · 2025-10-07 · in What .NET 10 GC changes mean for developers -
…These optimizations are mostly about reducing the various LINQ patterns into simple for loops. [1] https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by mrcsharp · 2025-10-06 · in What .NET 10 GC changes mean for developers -
…AFAIK WASM GC was designed with only JavaScript in mind so that's what everyone is stuck with. [1] https://github.com/dotnet/runtime/issues/94420
comment by Rohansi · 2025-10-05 · in What .NET 10 GC changes mean for developers -
…if you really wanted to: https://learn.microsoft.com/en-us/dotnet/core/runtime-config... https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
comment by bob1029 · 2025-10-05 · in What .NET 10 GC changes mean for developers -
…aware of WasmGC [0], and they have provided their remarks when WasmGC was being designed [1]. [0] https://github.com/dotnet/runtime/issues/94420 [1] https://github.com/WebAssembly/gc/issues/77
comment by Kwpolska · 2025-10-05 · in What .NET 10 GC changes mean for developers -
…seems like also Dart/Flutter uses WasmGC: https://developer.chrome.com/blog/wasmgc#kotlin_wasm https://github.com/dotnet/runtime/issues/94420 has some notes on why C# can't use WasmGC (yet?).
comment by wffurr · 2025-09-19 · in WASM 3.0 Completed -
…super low latency pauses, but there are interesting development going on recently regarding this - https://github.com/dotnet/runtime/discussions/115627 .
comment by mrsmrtss · 2025-09-09 · in AMD claims Arm ISA doesn't offer efficiency advantage over x86 -
…in .NET to be compelling. For example, a Vector<T> type is specifically handled by the JIT: https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/... https://learn.microsoft.com/en-us/dotnet/api/system.numerics...
comment by bob1029 · 2025-08-10 · in Why do we even need SIMD instructions? -
At work, we use the .editorconfig of the .NET runtime, with slight modifications: https://github.com/dotnet/runtime/blob/main/.editorconfig
comment by graboid · 2025-08-08 · in How we enforce .NET coding standards to improve productivity -
…far more palatable (e.g. 250ms -> 5ms) [2]. [1] https://www.youtube.com/watch?v=tzt36EGKEZo [2] https://github.com/dotnet/runtime/discussions/115627#discuss...
comment by perennialmind · 2025-07-31 · in .NET 10 Preview 6 brings JIT improvements, one-shot tool execution -
…code? Edit: answering myself, this seems to be (at least partially) merged into the dotnet itself https://github.com/dotnet/runtime/pull/102655
comment by omgtehlion · 2025-07-25 · in RE#: High performance derivative-based regular expression matching (2024) -
There's a documented memory model ( https://github.com/dotnet/runtime/blob/main/docs/design/spec... ), does that not address this concern?
comment by ameliaquining · 2025-07-24 · in There is no memory safety without thread safety -
…for everything, and does not account for "FAT", "NTFS", "HPFS", and even "OpenVMS". Or ZIP64. (-: * https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... * https://github.com/mihula/ProDotNetZip/blob/main/src/Zip/Zip...
comment by JdeBP · 2025-07-06 · in Yet Another Zip Trick -
This is funny, but unfortunately .NET went all in on the AI coding assistant kool-aid. https://github.com/dotnet/runtime/pull/115762 https://github.com/dotnet/runtime/pull/115743 https://github.com/dotnet/runtime/pull/115733…
comment by greenavocado · 2025-07-03 · in Introducing tmux-rs -
…fine. It works to report this way too, via .NET maintainers. It is very common to do this as well. https://github.com/dotnet/runtime/issues/117233#issuecomment... You’re quoting a community contributor and this is not a firm stance held by…
comment by jug · 2025-07-02 · in Math.Pow(-1, 2) == -1 in Windows 11 Insider build -
No need to exaggerate. They also got PRs which were ok and got merged https://github.com/dotnet/runtime/pull/116987 so it's not "only hallucinations".
comment by viraptor · 2025-06-28 -
https://github.com/dotnet/runtime/pull/115733 https://github.com/dotnet/runtime/pull/115732
comment by delduca · 2025-06-28 -
…it the copilot agent PRs on GitHub and the interactions of their employees with it are hilarious. https://github.com/dotnet/runtime/pull/115762 https://github.com/dotnet/runtime/pull/115743
comment by 42lux · 2025-06-28 · in Microsoft pushes staff to use internal AI tools more -
There are some ongoing experiments regarding this, this is one of them: https://github.com/dotnet/runtime/pull/115762
comment by achempion · 2025-06-27 · in Ask HN: Why can't AI fix all open source issues on GitHub? -
…chiefs learn a harsh lesson when they are ejected for forcing stupidity across the org. [1] https://github.com/dotnet/runtime/pull/115762
comment by bwfan123 · 2025-06-26 · in AI Improves at Improving Itself Using an Evolutionary Trick -
…unlikely to reflect a "system rethink". Is this, from elsewhere in the thread, a system rethink, https://github.com/dotnet/runtime/pull/36715/files ? I've worked on a product that reinvented parts of the standard library in confusing and…
comment by cess11 · 2025-06-26 · in -2000 Lines of code (2004) -
…case today). This was a breaking change. We realized we had one chance to do this and took it. [1] https://github.com/dotnet/runtime/pull/36715/files
comment by runfaster2000 · 2025-06-26 · in -2000 Lines of code (2004) -
…a cult. Whatever it is, outside the distortion bubble, this whole thing looks pretty bad to me. [1] https://github.com/dotnet/runtime/pulls [2] https://github.com/dotnet/aspnetcore/pulls
comment by bytefish · 2025-06-20 · in Andrej Karpathy: Software in the era of AI [video] -
C# has implemented some SIMD for IndexOf: https://github.com/dotnet/runtime/pull/63285
comment by mwsherman · 2025-06-14 · in SIMD-friendly algorithms for substring searching (2016) -
…a fully interpreted mode in 10 or 11 so I wonder if they'll switch to that for things like this https://github.com/dotnet/runtime/issues/112748
comment by bencyoung · 2025-05-29 · in Run a C# file directly using dotnet run app.cs -
…an entire workday's worth of hours into babysitting this PR, still having to say "fix whitespace": https://github.com/dotnet/runtime/pull/115826
comment by insin · 2025-05-21 · in Watching AI drive Microsoft employees insane -
…BACK to the open source community? The @stephentoub MS user suggests this is an experiment ( https://github.com/dotnet/runtime/pull/115762#issuecomment-2... ). If this is using open source developers to learn how to build a better AI…
comment by ncr100 · 2025-05-21 · in Watching AI drive Microsoft employees insane -
…then he'll write a blog post I'll get to enjoy. Anyway, this is his public, stated opinion on this: https://github.com/dotnet/runtime/pull/115762#issuecomment-2...
comment by square_usual · 2025-05-21 · in Watching AI drive Microsoft employees insane -
Some other funny ones: https://github.com/dotnet/runtime/pull/115743 https://github.com/dotnet/runtime/pull/115733 https://github.com/dotnet/runtime/pull/115732
comment by SEJeff · 2025-05-21 · in AI creating dotnet PRs: Implement CompareInfo.Version for hybrid globalization -
This comment on that PR is pure gold. The bots are talking to each other: https://github.com/dotnet/runtime/pull/115732#issuecomment-2...
comment by prossercj · 2025-05-21 · in Watching AI drive Microsoft employees insane -
https://github.com/dotnet/runtime/pull/115733 @copilot please remove all tests and start again writing fresh tests.
comment by shultays · 2025-05-21 · in Watching AI drive Microsoft employees insane -
…at MS, explaining that the maintainers are intentionally requesting these PRs to test Copilot: https://github.com/dotnet/runtime/pull/115762#issuecomment-2...
comment by Philpax · 2025-05-21 · in Watching AI drive Microsoft employees insane