Hacker GitHub

← All repos

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

Mentions per year 335 mentions · busiest year 2024 (96)
20082026
  1. …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…
  2. …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
  3. 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
  4. ▲ 4
    AI creating dotnet PRs: Implement CompareInfo.Version for hybrid globalization
    story by SEJeff · 2025-05-21 · 3 comments
  5. 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
  6. https://github.com/dotnet/runtime/pull/115733 @copilot please remove all tests and start again writing fresh tests.
  7. …at MS, explaining that the maintainers are intentionally requesting these PRs to test Copilot: https://github.com/dotnet/runtime/pull/115762#issuecomment-2...
  8. I do love one bot asking another bot to sign a CLA! - https://github.com/dotnet/runtime/pull/115732#issuecomment-2...
    comment by Crosseye_Jack · 2025-05-21 · in Watching AI drive Microsoft employees insane
  9. …what you're telling them, and have 0 agency to understand what they're actually doing. Another PR: https://github.com/dotnet/runtime/pull/115732/files How are people reviewing that? 90% of the page height is taken up by "Check failure",…
  10. Unfortunately, those improvements don't work for Linq. Some notes on why this is so here: https://github.com/dotnet/runtime/blob/main/docs/design/core...
  11. I don't see why not: https://github.com/dotnet/runtime/pulls There's an official process for API change requests: https://github.com/dotnet/runtime/blob/main/docs/project/api...
  12. …algorithms.tech/a-sub-millisecond-gc-fo... Long discussion thread with many graphs with measurements: https://github.com/dotnet/runtime/discussions/115627 I don’t yet have hands-on experience with that Satori GC, though.
  13. Some example PRs if people want to look: https://github.com/dotnet/runtime/pull/115733 https://github.com/dotnet/runtime/pull/115732 https://github.com/dotnet/runtime/pull/115762
    comment by bencyoung · 2025-05-20 · in GitHub Copilot Coding Agent
  14. …(Linux leads with 77% of all systems invoking .NET CLI commands) https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... (first-class epoll/kqueue integration with async, much like the one Go has with goroutines via
    comment by neonsunset · 2025-05-18 · in Java at 30: Interview with James Gosling
  15. …state we are in. We will keep eye on wasm GC in the future." edit: found a more concrete statement https://github.com/dotnet/runtime/issues/94420
    comment by chris_pie · 2025-05-17 · in Popcorn: Run Elixir in WASM
  16. ▲ 2
    A Pauseless Garbage Collector for .NET
    story by bj-rn · 2025-05-17 · 0 comments
  17. …over the years to reduce the impact of this problem. The latest tweak that will be in .NET 10: https://github.com/dotnet/runtime/pull/112796 I’m not sure a thread pool implementation can immune to misuse (many tasks that synchronously…
    comment by MarkSweep · 2025-05-16 · in Java at 30: Interview with James Gosling
  18. …examples. HttpClient one prime example and you can see the back and forth here internally from MS: https://github.com/dotnet/runtime/issues/32125 This snippet of code or something like it has been used in countless libraries to try and…
  19. …compiler itself iff the asynchronous execution suspends, and will be otherwise practically free. https://github.com/dotnet/runtime/blob/main/docs/design/spec... Mind you, short-lived operations are much cheaper with stackless co-routine…
  20. …does not need it so you need to reach out for platform-specific intrinsics to work around it. [0]: https://github.com/dotnet/runtime/issues/108902
    comment by neonsunset · 2025-05-14 · in Flattening Rust’s learning curve
  21. …pause time without significantly damaging throughput The new GC is introduced in this comment: https://github.com/dotnet/runtime/issues/96213#issuecomment-...
    comment by algorithmsRcool · 2025-05-09 · in Pauseless Garbage Collector
  22. ▲ 6
    Pauseless Garbage Collector
    story by algorithmsRcool · 2025-05-09 · 2 comments
  23. …by the org or its culture in any way, if anything, it happens despite it. [0]: For example https://github.com/dotnet/runtime/issues/114024
    comment by neonsunset · 2025-04-17 · in The Atari 1200XL fiasco
  24. …that will wait for the GC to finish. The thread is then immediately resumed. See the details here: https://github.com/dotnet/runtime/blob/main/docs/design/core... > Now imagine multiple of those runtimes running in the same process. Can…
  25. …how far they are into the dragon's den until they need to start serializing their object graphs. https://github.com/dotnet/runtime/issues/29900
    comment by bob1029 · 2025-04-09 · in The best programmers I know
  26. …spends a bit of overhead in order to let it use that exact same call when feasible: https://github.com/dotnet/runtime/blob/v9.0.3/src/libraries/...
    comment by airybreath · 2025-04-02 · in Span<T>.SequenceEquals is faster than memcmp
  27. …lowest common denominator was chosen at the moment of publishing the application or library. Anyway https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...…
    comment by neonsunset · 2025-03-31 · in Span<T>.SequenceEquals is faster than memcmp
  28. …factors at play. Here's the document that roughly outlines the tiered compilation and DPGO flows: https://github.com/dotnet/runtime/blob/main/docs/design/feat... note that it may be slightly dated since the exact tuning is subject to…
    comment by neonsunset · 2025-03-31 · in Span<T>.SequenceEquals is faster than memcmp
  29. …it was an interaction between microbenchmark algorithm and tiered compilation and not a regression. https://github.com/dotnet/runtime/issues/114047#issuecomment...
    comment by neonsunset · 2025-03-31 · in Span<T>.SequenceEquals is faster than memcmp
  30. …comparable primitive i.e. int, long, char, etc. The logic which decides which path to use is here https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... and here https://github.com/dotnet/runtime/blob/main/src/coreclr/tool...…
    comment by neonsunset · 2025-03-30 · in Span<T>.SequenceEquals is faster than memcmp
  31. I did some digging, and found that SequenceEquals is heavily optimized for when T = Byte: https://github.com/dotnet/runtime/blob/454673e1d6da406775064... Does memcmp do all of these things? Is msvcrt.dll checking at runtime which…
    comment by OptionOfT · 2025-03-30 · in Span<T>.SequenceEquals is faster than memcmp
  32. No problem, I've raised the issue as https://github.com/dotnet/runtime/issues/114047 .
  33. …here is the distinct() implementation in the most abstraction-happy language that I know - C# https://github.com/dotnet/runtime/blob/main/src%2Flibraries%... It unconditionally uses a hashset regardless of input. Edit: found an example…
  34. …have RISC-V architecture support in some sense due to a pull request by a Samsung engineer. https://github.com/dotnet/runtime/pull/82382 From a technical standpoint, there's no reason Windows couldn't be brought to RISC-V in some form or…
    comment by p_ing · 2025-03-04 · in Windows NT for GameCube/Wii
  35. …least, speculation on types seems beneficial even if we're only right maybe 30% of the time. See eg https://github.com/dotnet/runtime/blob/main/docs/design/core... (where this is presented as a puzzle)....
    comment by andyayers · 2025-03-03 · in An Attempt to Catch Up with JIT Compilers
  36. …of the problems: https://github.com/WebAssembly/gc/issues/77 Further discussion can be found here: https://github.com/dotnet/runtime/issues/94420 Turning off destructors will not help even a little because the biggest pain points are…
    comment by neonsunset · 2025-02-25 · in Ask HN: A retrofitted C dialect?
  37. …then apply it to subsequent compilations, and also emit a guard when doing dispatch on those. [0]: https://github.com/dotnet/runtime/blob/main/docs/design/core... (note - subject to change)
    comment by neonsunset · 2025-02-03 · in Inheritance and Subtyping
  38. …defined at the bottom. [1]: https://blog.stephencleary.com/2022/10/modern-csharp-techniq... [2]: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
  39. …is source controlled side-by-side with most of the BCL, including almost all of System.**: https://github.com/dotnet/runtime/tree/main/src/libraries (There are some of Microsoft.Extensions that exist outside of dotnet/runtime in…
  40. …release, it will be able to inline F# lambdas even if expansion does not happen at IL level: https://github.com/dotnet/runtime/issues/110290 NB: auto-vectorization is extremely fragile even with LLVM and kicks in only in simple scenarios,…
    comment by neonsunset · 2024-12-12 · in The humble for loop in Rust
  41. …C# has not a complete SIMD support. See our request to support the SSE4.2 _mm_cmpistrm instruction https://github.com/dotnet/runtime/discussions/63332 , which we required for a vectorized intersection between two sorted 16-bit arrays. We…
  42. ….NET Framework. Modern .NET has a special case for passing a List<Task> and avoids the allocation: https://github.com/dotnet/runtime/blob/1f01bee2a41e0df97089f...
  43. …link above leads to old code from .NET Framework. The up-to-date .NET implementation lives here: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
  44. …and not require the users to write their own libraries to patch this out. For example: https://github.com/dotnet/runtime/pull/99508 (alternatively, the goroutine runtime could have been made auto-scalable which would have reduced the…
  45. If you're interested, here's the overview of planned compiler work for .NET 10: https://github.com/dotnet/runtime/issues/108988 Autovectorization is usually very fragile and in areas where you care about it hand-written implementation…
    comment by neonsunset · 2024-11-25 · in The two factions of C++
  46. …any performance (though sometimes you have to make different choices to make the compiler happy). https://github.com/dotnet/runtime/blob/main/docs/coding-guid...
    comment by neonsunset · 2024-11-25 · in The two factions of C++
  47. …could be very beneficial, including the EA which is why it is planned to work on it in .NET 10: - https://github.com/dotnet/runtime/issues/108931 IPA framework - https://github.com/dotnet/runtime/issues/104936 Stack allocation enhancements
  48. …[1] https://github.com/dotnet/aspnetcore/issues/36978#issuecomme... https://github.com/dotnet/runtime/issues/80807
  49. …be considered somewhat significant. https://learn.microsoft.com/en-us/dotnet/csharp/language-ref... https://github.com/dotnet/runtime/issues/34800 https://github.com/dotnet/runtime/issues/34812
    comment by bob1029 · 2024-11-13 · in .NET 9 Is Out
  50. ▲ 3
    Ask HN: Has Anyone Tried Single File Development with IDE Code Collapse?
    story by Decabytes · 2024-11-01 · 3 comments