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
-
…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
comment by bearzdev · 2023-03-22 · in Understanding the .NET ecosystem: The evolution of .NET into .NET 7 -
I have fixed this exact typo before. The visual similarity is annoying. https://github.com/dotnet/runtime/commit/1f4835129630f12008d...
comment by MarkSweep · 2023-03-11 · in Disambiguating Arm, Arm ARM, ARMv9, ARM9, ARM64, AArch64, A64, A78, ... -
…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...
comment by osaariki · 2023-03-07 · in Show HN: Regex Derivatives (Brzozowski Derivatives) -
…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 -
…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 -
…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 -
…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.
comment by HideousKojima · 2023-01-04 · in Google wants RISC-V to be a “tier-1” Android architecture -
…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 -
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 -
…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 -
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...
comment by easton · 2022-11-08 · in CS quotes found while browsing Notepad++'s code -
…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…
comment by jiripospisil · 2022-10-31 · in Ask HN: What piece of code/codebase blew your mind when you saw it? -
…well are written in their respective language. https://github.com/golang/go/tree/master/src/runtime https://github.com/dotnet/runtime
comment by Thaxll · 2022-10-26 · in Oracle Contributing GraalVM Community Edition Java Code to OpenJDK -
…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? -
…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...
comment by piaste · 2022-10-20 · in That Shouldn't Happen – UnreachableException in .NET 7 -
…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/
comment by nikeee · 2022-10-12 · in JDK 20 will introduce float16 conversion methods -
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 -
…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
comment by 9wzYQbTYsAIc · 2022-08-28 · in Ask HN: Is doing .NET development on a Mac viable today? -
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 -
…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 -
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 -
…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 -
…ConcurrentDictionary today. [1] https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-... [2] https://github.com/dotnet/runtime/blob/c22f7f8c73766830b3262...
comment by Genbox · 2022-08-09 · in A quick and practical “MSI” hash table -
…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 -
…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
comment by fuglede_ · 2022-08-07 · in Original source of `(seed * 9301 and 49297) % 233280` random algorithm? (2014) -
…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 -
…(~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 -
…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…
comment by neonsunset · 2022-06-20 · in C#: IEnumerable, yield return, and lazy evaluation -
…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…
comment by neonsunset · 2022-06-18 · in C#: IEnumerable, yield return, and lazy evaluation -
Regarding .NET, https://github.com/dotnet/runtime/issues/12221
comment by pjmlp · 2022-06-03 · in On Java/JVM: Loom and Thread Fairness -
…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 -
…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]…
comment by Genbox · 2022-05-29 · in Make formal verification and provably correct software practical and mainstream -
…/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