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. …/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…
  2. …silly ways SslStream is implemented under the covers on macOS. There is more details in this issue: https://github.com/dotnet/runtime/issues/1979
  3. 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
  4. 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
  5. …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
  6. …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…
  7. 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
  8. …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
  9. 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
  10. …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++
  11. The .NET runtime GC is a 47k C++ file. https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
  12. 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
  13. …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#
  14. 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#
  15. …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#
  16. …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
  17. …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
  18. …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
  19. Look up the Microsoft Community/Open Specification Promise and their patent promise https://github.com/dotnet/runtime/blob/main/PATENTS.TXT .NET Core is open source, free, and comes with the guarantee of no litigation from Microsoft. As…
    comment by Salgat · 2022-03-13 · in .NET Myths Dispelled
  20. ok that is VERY encouraging to hear! thanks for letting me know about that EDIT: found it: https://github.com/dotnet/runtime/issues/61231
    comment by Shadonototra · 2022-02-21 · in Microsoft YARP
  21. You can find the Socket partial class files here: https://github.com/dotnet/runtime/tree/main/src/libraries/Sy... Socket.cs, Socket.Unix.cs, Socket.Windows.cs, etc... AFAIK, there are no parts of libuv left in .NET Core. That was mostly…
    comment by moogly · 2022-02-20 · in Microsoft YARP
  22. …(if ever) but it's not outside the realm of possibility. Edit: The proposal for anyone interested https://github.com/dotnet/runtime/issues/933
    comment by HideousKojima · 2022-02-08 · in How UTF-8 Works
  23. …an example of unstable benchmark performance caused by the lack of code alignment in .NET's JIT: https://github.com/dotnet/runtime/issues/43227
  24. ▲ 149
    Faster IndexOf for Substrings in .NET
    story by bob1029 · 2022-01-04 · 86 comments
  25. …added back to .NET 5 [2]. [1]: https://docs.microsoft.com/dotnet/csharp/programming-guide/t... [2]: https://github.com/dotnet/runtime/pull/33060 [3]: https://github.com/dotnet/runtime/issues/27790 [4]:…
  26. …example? To me it seems that the implementation for .Any actually uses .Count when available, see https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
    comment by luan42 · 2021-11-21 · in .NET 6 vs .NET 5 speedup
  27. …That sounds a bit absurd but it's been a long standing issue with challenges you wouldn't expect.. https://github.com/dotnet/runtime/pull/54253
    comment by Rapzid · 2021-11-21 · in .NET 6 vs .NET 5 speedup
  28. Do be warned that .Net 6 did cause some regressions, in reflection at least https://github.com/dotnet/runtime/issues/61486
    comment by Ygg2 · 2021-11-21 · in .NET 6 vs .NET 5 speedup
  29. Yes, it embeds the CLR in to the application see the PR at https://github.com/dotnet/runtime/issues/43072
    comment by sitharus · 2021-11-09 · in .NET 6 Released
  30. …can build self-contained, smaller executables, and shared libraries callable from say, C code. [1]: https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/... [2]: https://github.com/dotnet/runtime/issues/61231
    comment by jeswin · 2021-11-08 · in .NET 6 Released
  31. ▲ 9
    NativeAOT in .NET 7 Roadmap
    story by pjmlp · 2021-11-05 · 0 comments
  32. …in this context referring to 'platform abstraction layer') does the work for you behind the scenes: https://github.com/dotnet/runtime/blob/10eb1a9ff1c09de4a2a1f...
    comment by saulr · 2021-11-02 · in Anatomy of a Terminal Emulator
  33. ▲ 6
    The last remaining patches that enable FreeBSD on .NET have been merged upstream
    story by ghuntley · 2021-10-31 · 3 comments
  34. …you because some modern projects[1] still prefer to compile with symbols and strip afterward. [1] https://github.com/dotnet/runtime/blob/main/eng/native/funct...
    comment by ceztko · 2021-09-24 · in Inspecting coredumps like it's 2021
  35. …rust justification for the same: https://mail.mozilla.org/pipermail/rust-dev/2013-November/00... https://github.com/dotnet/runtime/issues/11084 They knowingly seem to have chosen a more complicated model for performance. For me, that…
    comment by throwaway13337 · 2021-09-24 · in Asynchronous Programming in C#
  36. but if we assume that it works fine? AFAIK there's ongoing and active work for FreeBSD https://github.com/dotnet/runtime/issues/14537
    comment by tester756 · 2021-09-15 · in FreeBSD SSH Hardening
  37. …full release in a couple months supports M1 Macs[1] as a build target just fine. So does MAUI[2] 1. https://github.com/dotnet/runtime/issues/43313 2. https://docs.microsoft.com/en-us/dotnet/maui/get-started/ins...
    comment by tracker1 · 2021-09-10 · in Containers Don't Solve Everything
  38. …another system that already supports .NET and copied to the target system. Some Details are here: https://github.com/dotnet/runtime/blob/main/docs/design/core... For building from source to satisfy requirements Linux distributions,…
    comment by MarkSweep · 2021-09-01 · in C# for Systems Programming
  39. …Random example of someone trying to leverage this capability to harden an app: https://github.com/dotnet/runtime/issues/40100 Random comment that has a bunch of semi-interesting info in it: https://news.ycombinator.com/item?id=26061230 (
  40. It's in the RID catalog: https://github.com/dotnet/runtime/blob/main/src/libraries/Mi...
  41. …of concept stage, if not beyond. https://sinclairinat0r.com/2020/02/05/compiling-net-core-for... https://github.com/dotnet/runtime/issues/36699
  42. …the FreeBSD .NET port is stumbling/regressing somewhat and could definitely use a little help: https://github.com/dotnet/runtime/issues/14537 (Better start at the end of that thread, rather than the start) Anything you could do to help (if…
  43. …other FreeBSD issues[2] that need to be solved for complete support. Or the same for NetBSD[3]. [1] https://github.com/dotnet/runtime/issues/14537 [2] https://github.com/dotnet/runtime/labels/os-freebsd [3]…
    comment by xvilka · 2021-06-18 · in .NET 6 Preview 5
  44. ▲ 2
    Hysteresis effect on threadpool hill-climbing
    story by susam · 2021-05-10 · 0 comments
  45. ▲ 2
    Hysteresis effect on threadpool hill-climbing
    story by algorithmsRcool · 2021-05-07 · 0 comments
  46. …Webkit and the JDK implement the same string optimization, while .NET unfortunately doesn't: https://github.com/dotnet/runtime/issues/6612
  47. …Progress is being tracked in these places: https://github.com/dotnet/source-build/issues/1139 https://github.com/dotnet/runtime/issues/14537
    comment by 1MachineElf · 2021-03-17 · in FreeBSD 13.0 – Full Desktop Experience
  48. …to C++. Currently, they don't support NEON on 32-bit ARM, and have performance issues in the JIT: https://github.com/dotnet/runtime/issues/13811
  49. Appears to be fixed by https://github.com/dotnet/runtime/commit/f27d33729518f5aa478...
  50. ▲ 2
    CVE-2021-26701 – .NET Core Remote Code Execution Vulnerability
    story by plasma · 2021-03-10 · 1 comment