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
-
…/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…
comment by jiggawatts · 2022-05-27 · in Today’s JavaScript, from an outsider’s perspective (2020) -
…silly ways SslStream is implemented under the covers on macOS. There is more details in this issue: https://github.com/dotnet/runtime/issues/1979
comment by billyhoffman · 2022-05-26 · in Ask HN: Current state of coding .NET code on non-Windows machines? -
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 -
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 -
…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 -
…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…
comment by GiorgioG · 2022-05-17 · in Shopify invests in research for Ruby at scale -
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 -
…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 -
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 -
…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++ -
The .NET runtime GC is a 47k C++ file. https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
comment by m1ckey · 2022-04-03 · in A project with a single 11,000-line code file -
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 -
…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# -
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# -
…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# -
…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 -
…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 -
…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 -
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 -
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 -
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 -
…(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 -
…an example of unstable benchmark performance caused by the lack of code alignment in .NET's JIT: https://github.com/dotnet/runtime/issues/43227
comment by mibsl · 2022-02-06 · in Java BitSet performance-flicker mystery -
▲ 149
Faster IndexOf for Substrings in .NETstory by bob1029 · 2022-01-04 · 86 comments
-
…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]:…
comment by MarkSweep · 2021-12-11 · in Interview with Anders Hejlsberg on Delphi (1995) -
…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 -
…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 -
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 -
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 -
…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 -
▲ 9
NativeAOT in .NET 7 Roadmapstory by pjmlp · 2021-11-05 · 0 comments
-
…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 -
▲ 6
The last remaining patches that enable FreeBSD on .NET have been merged upstreamstory by ghuntley · 2021-10-31 · 3 comments
-
…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 -
…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# -
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 -
…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 -
…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 -
…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 (
comment by exikyut · 2021-07-08 · in Undocumented x86 instructions to control the CPU at the microarchitecture level [pdf] -
It's in the RID catalog: https://github.com/dotnet/runtime/blob/main/src/libraries/Mi...
comment by pjc50 · 2021-06-29 · in ARM64EC: Building Native and Interoperable Apps for Windows 11 on ARM -
…of concept stage, if not beyond. https://sinclairinat0r.com/2020/02/05/compiling-net-core-for... https://github.com/dotnet/runtime/issues/36699
comment by neogodless · 2021-06-29 · in ARM64EC: Building Native and Interoperable Apps for Windows 11 on ARM -
…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…
comment by josteink · 2021-06-19 · in State of the Windows: How many layers of UI inconsistencies are in Windows 10? -
…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 -
▲ 2
Hysteresis effect on threadpool hill-climbingstory by susam · 2021-05-10 · 0 comments
-
▲ 2
Hysteresis effect on threadpool hill-climbingstory by algorithmsRcool · 2021-05-07 · 0 comments
-
…Webkit and the JDK implement the same string optimization, while .NET unfortunately doesn't: https://github.com/dotnet/runtime/issues/6612
comment by esprehn · 2021-04-13 · in The complete guide to working with strings in modern JavaScript -
…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 -
…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
comment by Const-me · 2021-03-14 · in Experimental Nintendo Switch Emulator written in C# -
Appears to be fixed by https://github.com/dotnet/runtime/commit/f27d33729518f5aa478...
comment by plasma · 2021-03-10 · in CVE-2021-26701 – .NET Core Remote Code Execution Vulnerability -
▲ 2
CVE-2021-26701 – .NET Core Remote Code Execution Vulnerabilitystory by plasma · 2021-03-10 · 1 comment