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. …7 .NET 8 LTS FreeBSD support has been in the works for a while: - https://wiki.freebsd.org/.NET - https://github.com/dotnet/runtime/issues/14537
  2. I have fixed this exact typo before. The visual similarity is annoying. https://github.com/dotnet/runtime/commit/1f4835129630f12008d...
  3. …for a good write-up. [1]: https://www.microsoft.com/en-us/research/uploads/prod/2019/0... [2]: https://github.com/dotnet/runtime/tree/main/src/libraries/Sy...
  4. …big github issues of folks converting from C++/CLI to other ways.. Actually this survey from 2020 - https://github.com/dotnet/runtime/issues/40484
    comment by malkia · 2023-02-09 · in Update to the .NET language strategy
  5. …i.e. System.Drawing and all Desktop GUIs, otherwise it's a first class cross-platform runtime. [1] https://github.com/dotnet/runtime/issues/27727
    comment by mythz · 2023-02-08 · in Update to the .NET language strategy
  6. …to thrive on it, though, and manage to get impressive results - see, eg. Marc Gravell's blog. [1] https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
    comment by omnicognate · 2023-02-05 · in Stride – Open-source C# Game Engine
  7. …willing to go through messy and poorly documented build processes you can build CoreCLR on RISC-V: https://github.com/dotnet/runtime/issues/36748 So proper support is likely coming soonish, I'd guess by the time .NET 8 or 9 comes out.
  8. …most recent generation of its HTTP client (SocketsHttpHandler), .NET also sets NoDelay by default. https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
    comment by iofiiiiiiiii · 2022-12-30 · in Golang disables Nagle's Algorithm by default
  9. Feel free to open an issue for this over at github.com/dotnet/runtime, if you have code you can share.
    comment by andyayers · 2022-11-09 · in .NET 7 is Available Today
  10. …much more favoring non-blocking implementation without any regressions discussed in the PR. [0] https://github.com/dotnet/runtime/pull/50337
    comment by neonsunset · 2022-11-08 · in LiteDB: A .NET embedded NoSQL database
  11. There’s one of those for C++ too, say hello to the .NET garbage collector: https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
  12. …on your hands when GitHub refuses to show you a highlighted version of a hand written C++ file ( https://github.com/dotnet/runtime/blob/98984ccad55362a66b7fd... ). Other than that, I remember my mind was blown a few times while watching…
  13. …well are written in their respective language. https://github.com/golang/go/tree/master/src/runtime https://github.com/dotnet/runtime
  14. …sure it should be considered deprecated at this point. The runtime and core libraries are now at https://github.com/dotnet/runtime , kinda weird that this is not directly linked in the home page repo.
    comment by dubiousconst281 · 2022-10-25 · in Ask HN: Examples of Top C# Code?
  15. …or stuff some extra data in the exception, you can still inherit from UnreachableException. [0] https://github.com/dotnet/runtime/pull/63922/files#diff-588c...
  16. …would already be a thing. [1]: https://devblogs.microsoft.com/dotnet/introducing-the-half-t... [2]: https://github.com/dotnet/runtime/blob/d783badaa38596beedefd... [3]: https://devblogs.microsoft.com/dotnet/dotnet-7-generic-math/
  17. Unfortunately looks like still no compact strings like Java or JS: https://github.com/dotnet/runtime/issues/6612 You can work around it, but it's nice in languages where common text doesn't take double the memory (because of utf8 or…
    comment by esprehn · 2022-08-31 · in Performance Improvements in .NET 7
  18. …able to make encrypted connections to TLS 1.3-only services/servers is by far the bigger issue.” https://github.com/dotnet/runtime/issues/1979
  19. Microsoft publishes a patent promise here, though: https://github.com/dotnet/runtime/blob/main/PATENTS.TXT
    comment by omajid · 2022-08-16 · in .NET 6 is now in Ubuntu 22.04
  20. …working like hell to make it happen since 2015 and at this point we have regular unofficial builds: https://github.com/dotnet/runtime/issues/14537 About 2 months ago they crushed hopes that official FreeBSD support will happen anytime soon…
    comment by throy939849500 · 2022-08-16 · in .NET 6 is now in Ubuntu 22.04
  21. Folks are working on FreeBSD support: https://github.com/dotnet/runtime/pull/71486
    comment by runfaster2000 · 2022-08-16 · in .NET 6 is now in Ubuntu 22.04
  22. …times each day and have a bot that creates GitHub issues whenever a benchmark regresses (e.g. https://github.com/dotnet/runtime/issues/73630 ). It also makes looking at specific changes interesting, such as JIT improvements and where they…
    comment by ygra · 2022-08-12 · in Asdf Performance
  23. …ConcurrentDictionary today. [1] https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-... [2] https://github.com/dotnet/runtime/blob/c22f7f8c73766830b3262...
  24. …loss, although the probability of data loss can be well controlled by choice of table size. [1] https://github.com/dotnet/runtime/blob/4017327955f1d8ddc4398...
    comment by xnorswap · 2022-08-09 · in A quick and practical “MSI” hash table
  25. …simple form for their PRNG. Except for some reason they messed up and used Xn-34 instead of Xn-24: https://github.com/dotnet/runtime/issues/23198
  26. …solutions available. [0] https://docs.microsoft.com/en-us/dotnet/api/system.windows.w... [1] https://github.com/dotnet/runtime/issues/18645
    comment by olvy0 · 2022-07-30 · in Reference count, don't garbage collect
  27. …(~95%) developed by Oracle and is about the same in its openness and community participation as https://github.com/dotnet/runtime/ is. Or maybe you meant OpenJ9? FWIW I also use Linux exclusively, develop (and host) dotnet applications on…
    comment by 5e92cb50239222b · 2022-07-25 · in The Case for C# and .NET
  28. …proposal prototype implementation which the runtime team decided to put away for better times: https://github.com/dotnet/runtime/issues/11192 It is never enabled and will not work the way you expect it to even if you try. Huh, now that I…
  29. …type with stack-allocated inline buffer. If you want this, you have to write it manually. See: https://github.com/dotnet/runtime/blob/57bfe474518ab5b7cfe6b... The last but not least, if the method signature accepts an argument by its…
  30. Regarding .NET, https://github.com/dotnet/runtime/issues/12221
    comment by pjmlp · 2022-06-03 · in On Java/JVM: Loom and Thread Fairness
  31. …a result, "good enough" sometimes is chosen unless the language relies on LLVM/GCC logic. Alloc/GC: https://github.com/dotnet/runtime/blob/main/docs/design/core... Reg alloc: https://github.com/dotnet/runtime/blob/main/docs/design/core...
    comment by neonsunset · 2022-05-30 · in Graviton 3: First Impressions
  32. …ttps://www.microsoft.com/en-us/research/project/code-contra... [2] https://github.com/Z3Prover/z3 [3] https://github.com/dotnet/runtime/issues/20006 [4] https://docs.microsoft.com/en-us/dotnet/csharp/nullable-refe... [5]…
  33. …/packages/Microsoft.Extensions.Configur... Links to " https://dot.net " as the Project Website, and " https://github.com/dotnet/runtime " as the repository. This couldn't be more useless. Where is the Git hash for the specific change that…
  34. …silly ways SslStream is implemented under the covers on macOS. There is more details in this issue: https://github.com/dotnet/runtime/issues/1979
  35. 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…
    comment by andygocke · 2022-05-21 · in .NET 7 introduces Native AOT
  36. 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.
    comment by smcl · 2022-05-20 · in .NET 7 introduces Native AOT
  37. …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…
    comment by pjc50 · 2022-05-19 · in .NET 7 introduces Native AOT
  38. …criticisms. - "It's practically open source in name only" - Here is the base class library source: https://github.com/dotnet/runtime/tree/main/src/libraries or https://github.com/dotnet/corefx/releases (depending on what version you're…
  39. https://github.com/dotnet/runtime/issues/6612 is the more directly comparable proposal.
    comment by WorldMaker · 2022-04-14 · in Java 18 is UTF-8 by Default
  40. …of moving .NET to using UTF-8 string representations internally (rather than UTF-16): https://github.com/dotnet/runtime/issues/6612 It would potentially slow down platform invokes (C/C++ DLLs) and COM calls, especially on Windows, but…
    comment by WorldMaker · 2022-04-14 · in Java 18 is UTF-8 by Default
  41. It's certainly possible in .net, and has been seriously proposed. https://github.com/dotnet/runtime/issues/933
    comment by recursive · 2022-04-14 · in Java 18 is UTF-8 by Default
  42. …AoT compilation to a single EXE, but there were a lot of limitations. The latest attempt is a WIP: https://github.com/dotnet/runtime/issues/61231 I would argue that libraries especially need highly restricted language subsets. E.g.: an…
    comment by jiggawatts · 2022-04-08 · in TypeScript as fast as Rust: TypeScript++
  43. The .NET runtime GC is a 47k C++ file. https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
  44. Uh, .NET is free open-source software. Have a look at this 1500-line package-lock.json: https://github.com/dotnet/runtime/blob/main/src/mono/wasm/ru... And even if you ignore that: what about the browser you use to install it? The library…
    comment by samhw · 2022-03-19 · in My entire PC got wiped Do not download
  45. …right below it int StreamReader.Read() int StreamReader.Read(char[] buffer, int index, int count) https://github.com/dotnet/runtime/blob/1ba0394d71a4ea6bee7f6...
    comment by h3h3 · 2022-03-17 · in Yes, PHP is faster than C#
  46. The C# version only makes a syscall if the buffer is empty: https://github.com/dotnet/runtime/blob/1ba0394d71a4ea6bee7f6... To read in binary, you open with 'rb' and not just 'r'
    comment by withinboredom · 2022-03-16 · in Yes, PHP is faster than C#
  47. …with, “but we’re not reading it byte-by-byte in the C# version either!” C# also reads in 4K chunks: https://github.com/dotnet/runtime/blob/1ba0394d71a4ea6bee7f6...
    comment by notRobot · 2022-03-16 · in Yes, PHP is faster than C#
  48. …source generator. You can read the development discussion and syntax reasoning in the GitHub issue: https://github.com/dotnet/runtime/issues/44676
    comment by X-Cubed · 2022-03-16 · in .NET 7 Preview 2
  49. …and data does not preclude your work from being poked-and-prodded, questioned and criticized. [0] https://github.com/dotnet/runtime/blob/main/docs/design/spec... [1] I am furthermore not sure if you run the same CLR/IL; the mono-3 vs…
    comment by rndgermandude · 2022-03-13 · in .NET Myths Dispelled
  50. …roadmap for net7 which is good but very minimal support. For instance asp.net mvc is a non-goal ( https://github.com/dotnet/runtime/issues/61231 ), so probably another 3 or 4 years before it's well supported.
    comment by ledgerdev · 2022-03-13 · in .NET Myths Dispelled