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
-
…external abstractions zero-cost. For example System.Numerics.Tensors which is pure C# BLAS package: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... combines two operators that are then statically dispatched as it's no…
comment by neonsunset · 2024-06-10 · in in Rust, methods should be object safe -
▲ 2
Core .NET engineer: why it takes longer to implement groundbreaking featuresstory by thunderbong · 2024-05-25 · 1 comment
-
…this, I'm holding my breath waiting for DistIL[1] to be production-ready which does just that. [0]: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... [1]: https://github.com/dubiousconst282/DistIL (I don't understand what you…
comment by neonsunset · 2024-05-22 · in Clever code is probably the worst code you could write (2023) -
…numeric types already. [0]: https://learn.microsoft.com/en-us/dotnet/standard/generics/m... [1]: https://github.com/dotnet/runtime/issues/64031
comment by neonsunset · 2024-05-21 · in Clever code is probably the worst code you could write (2023) -
…instance, in the vtable of some array class), but as far as their API is concerned, yeah, they do: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by nyssos · 2024-05-21 · in Clever code is probably the worst code you could write (2023) -
…NewtonSoft handles it fine. (Had wanted a quick-and-dirty debugging dump of properties) [0] https://github.com/dotnet/runtime/issues/43026
comment by ethbr1 · 2024-05-13 · in Statement on CVE-2024-27322 -
…Xamarin and Unity code, and allow cleanly merging the first two into overarching .NET ecosystem. https://github.com/dotnet/runtime/blob/main/LICENSE.TXT https://github.com/dotnet/runtime/blob/main/PATENTS.TXT Given that MSFT never sued…
comment by neonsunset · 2024-05-12 · in Microsoft's $1M Vote of Confidence in Rust's Future -
…work on modernizing the implementation details of async/await itself was very successful: Issue https://github.com/dotnet/runtime/issues/94620 Technical details https://github.com/dotnet/runtimelab/blob/feature/async2-exp... The result is…
comment by neonsunset · 2024-05-09 · in How to Use the Foreign Function API in Java 22 to Call C Libraries -
…the latest LTS to get best experience and performance. If you liked it, then I can strongly suggest https://github.com/dotnet/runtime/tree/main/docs/design/core... which covers .NET runtime internals. p.s.: if it's any consolation, the…
comment by neonsunset · 2024-05-08 · in The search for easier safe systems programming -
…for and are heavily used by F#. https://learn.microsoft.com/en-us/dotnet/api/system.reflecti... https://github.com/dotnet/runtime/blob/main/docs/design/feat...
comment by neonsunset · 2024-05-08 · in The search for easier safe systems programming -
…VB compiler suite, MIT license: https://github.com/dotnet/roslyn .NET virtual machine, MIT license: https://github.com/dotnet/runtime SDK, MIT license: https://github.com/dotnet/sdk You were saying?
comment by naasking · 2024-05-08 · in The search for easier safe systems programming -
…it compiles to all supported ISAs with their respective SIMD instructions for a given vector width: https://github.com/dotnet/runtime/blob/56e67a7aacb8a644cc6b8... (there is a lot of code because C# covers much wider range of scenarios and…
comment by neonsunset · 2024-05-08 · in Arena-based parsers -
…could just keep pushing it each decade, until it wraps again). Or they could use 4-digit years. [1] https://github.com/dotnet/runtime/issues/75148 [2] https://learn.microsoft.com/en-us/dotnet/core/compatibility/...
comment by Pyrodogg · 2024-04-28 · in Airline keeps mistaking 101-year-old woman for baby -
…language to offer it with an assurance to emit good codegen (unless you abuse it too hard). [0] https://github.com/dotnet/runtime/blob/main/docs/coding-guid... [1] https://github.com/U8String/U8String/blob/main/Sources/U8Str... [2]…
comment by neonsunset · 2024-04-27 · in Optimizing your programs for Arm platforms -
…if necessary. Reference: - https://learn.microsoft.com/en-us/dotnet/core/deploying/nati... - https://github.com/dotnet/runtime/blob/main/src/coreclr/nati... - https://github.com/dotnet/runtime/blob/5b4e770daa190ce69f402... (full list of…
comment by neonsunset · 2024-04-25 · in The software industry rapidly convergng on 3 languages: Go, Rust, and JavaScript -
…load predictors and, as noted in parent comments, block inlining, which is highly undesirable. [0] https://github.com/dotnet/runtime/blob/5111fdc0dc464f01647d6... [1] https://github.com/dotnet/runtime/blob/main/docs/design/core... (mind…
comment by neonsunset · 2024-04-23 · in The Performance Impact of C++'s `final` Keyword -
….NET Framework, while performing adequately, was still that slow compared to what we got today. [0] https://github.com/dotnet/runtime/tree/main/src/libraries/Sy...
comment by neonsunset · 2024-04-23 · in The Performance Impact of C++'s `final` Keyword -
…JIT and AOT) than Python or JVM). Also, Mono (not the Unity fork one) is now just a part of https://github.com/dotnet/runtime like CoreCLR and is used for targets which CoreCLR is not suitable for or does not support yet like WASM…
comment by neonsunset · 2024-04-17 · in Java 23: The New Features Are Officially Announced -
…but cross-platform abstractions stabilized since .NET 7 and an extensive guide to using those: https://github.com/dotnet/runtime/blob/69110bfdcf5590db1d32c... CoreLib and many new libraries are using it heavily to match performance of…
comment by neonsunset · 2024-04-17 · in Java 23: The New Features Are Officially Announced -
…Also, here is another implementation of this algorithm in C#, used in .NET: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by MarkSweep · 2024-04-12 · in BatBadBut: You can't securely execute commands on Windows -
…months working on a string library which has performant parsing as one of the project goals[1]. [0] https://github.com/dotnet/runtime/tree/main/src/libraries/Mi... [1] https://github.com/U8String/U8String
comment by neonsunset · 2024-04-11 · in World's Smallest CSV Parser (C#) -
…Microsoft .NET and ASP.NET feature tracking: Add support for Zstandard to System.IO.Compression: https://github.com/dotnet/runtime/issues/59591 Support zstd Content-Encoding: https://github.com/dotnet/aspnetcore/issues/50643
comment by qingcharles · 2024-04-01 · in Chrome Feature: ZSTD Content-Encoding -
…said state machine box pooling+ValueTask<T>[0] and may be entirely allocation-free. [0] Example: https://github.com/dotnet/runtime/blob/cc7bf831f02cad241547e...
comment by neonsunset · 2024-03-30 · in Garbage collection for systems programmers (2023) -
…depending on publish contents) If you're interested, here's the PR history for the feature: - https://github.com/dotnet/runtime/pull/77884 - https://github.com/dotnet/runtime/pull/79209 - https://github.com/dotnet/runtime/pull/78545 -…
comment by neonsunset · 2024-03-29 · in Monogon: A Linux userland in pure Go -
…here. It is one of the most convenient languages to write bespoke SIMD code in today. Examples: - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - https://github.com/dotnet/runtime/blob/b432fc66fe59873b2b2ad... -…
comment by neonsunset · 2024-03-26 · in Writing x86 SIMD using x86inc.asm (2017) -
Initial experiment issue: https://github.com/dotnet/runtime/issues/94620 Experiment results write-up: https://github.com/dotnet/runtimelab/blob/e69dda51c7d796b812... TLDR: The green threads experiment was a failure as it found (expected…
comment by neonsunset · 2024-03-25 · in Why choose async/await over threads? -
…changes. There is still a lot of questions unanswered, but initial tests look promising. Ref: https://github.com/dotnet/runtime/issues/94620
comment by asabla · 2024-03-25 · in Why choose async/await over threads? -
…individually (usually), which is what contributors also do. For example, you can clone and build https://github.com/dotnet/runtime and use the produced artifacts to execute .NET assemblies or build .NET binaries.
comment by neonsunset · 2024-03-21 · in Redis adopts dual source-available licensing -
…is now being worked on to be integrated in one of the future version of .NET (hopefully 10?) [0] https://github.com/dotnet/runtime/issues/11192 [1] https://github.com/dotnet/runtimelab/blob/feature/async2-exp...
comment by neonsunset · 2024-03-20 · in Garnet – A new remote cache-store from Microsoft Research -
Thank you, I missed the stack allocation design doc stating it’s on the roadmap. ( https://github.com/dotnet/runtime/blob/main/docs/design/core... ) Appreciate the detail about the stack allocated bits in .NET.
comment by astral303 · 2024-03-20 · in Garnet – A new remote cache-store from Microsoft Research -
…combo but it's very niche, the good debugger implementation is not OSS hence the remark. [0] https://github.com/dotnet/runtime/issues/97711 here's an example of a request driven by an interest from Azure team which was rejected because…
comment by neonsunset · 2024-03-14 · in "Using .net Cost Me My Job" (2020) -
…is written in C or C++[1] and you run the runtime on an OS that's largely written in C or C++. [1] https://github.com/dotnet/runtime
comment by nequo · 2024-02-10 · in Too dangerous for C++ -
…- https://github.com/nietras/1brc.cs/blob/main/src/Brc/BrcAccu... - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... (and many more if you search github for the uses of Vector128/256<byte> and the like!)
comment by neonsunset · 2024-01-23 · in From slow to SIMD: A Go optimization story -
…to implement C# vastly outweighs the amount in Rust's standard library. According to bing.com chat, https://github.com/dotnet/runtime has 3.5M LOC, and https://github.com/rust-lang/rust has 6M LOC. The right panel of…
comment by Const-me · 2024-01-15 · in OpenD, a D language fork that is open to your contributions -
…code that used to be proprietary specifically to make all the Mono bits to be legally sound. [0] https://github.com/dotnet/runtime/blob/main/LICENSE.TXT [1] https://github.com/dotnet/runtime/blob/main/PATENTS.TXT (I think there was another…
comment by neonsunset · 2024-01-11 · in Show HN: GodotOS – Fake operating system interface made in the Godot engine -
…IndexOfMatch, LastIndexOfMatch and GetMatchCount scenarios it is used for most of the time: - https://github.com/dotnet/runtime/pull/94472/files#diff-5824... (it's closed for now but I'm hoping to get back to it at some point) -…
comment by neonsunset · 2023-12-26 · in Ask HN: What's the fastest programming language with a large standard library? -
…https://doc.rust-lang.org/std/arch/index.html [2]: https://doc.rust-lang.org/std/simd/index.html [3]: https://github.com/dotnet/runtime/blob/72fae0073b35a404f03c3... [4]: https://github.com/dotnet/runtime/pull/88394#issuecomment-16... [5]:…
comment by burntsushi · 2023-12-26 · in Ask HN: What's the fastest programming language with a large standard library? -
…of examples is - Shared SIMD helper for Aho-Corasick, Rabin-Karp and other text search algorithms https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - Bloom filter https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...…
comment by neonsunset · 2023-12-26 · in Ask HN: What's the fastest programming language with a large standard library? -
…is really rudimentary. With that said, you can track support of various WASM features by .NET here: https://github.com/dotnet/runtime/issues/94351 I don’t understand how the logic of your post works however, WASM in .NET is already used in…
comment by neonsunset · 2023-12-11 · in Building a bare-metal bootable game for Raspberry Pi in C# -
…In fact, OSU! has been able to get consistently good frame times even back on .NET Framework. [0] https://github.com/dotnet/runtime/blob/main/docs/design/core... [1] https://maoni0.medium.com/dynamically-adapting-to-applicatio...
comment by neonsunset · 2023-12-09 · in Murder is a pixel art ECS game engine in C# -
…bypassing ObjC in the works (the motivation behind it is somewhat elusive to me but hey!) [0] https://github.com/dotnet/runtime/issues/93631
comment by neonsunset · 2023-11-30 · in Ask HN: How to create web, mobile, and desktop apps from a common code base? -
Yes, and go upvote this .NET feature so we can make portable .NET WASM libraries: https://github.com/dotnet/runtime/issues/86162 .NET WASM performance is actually very impressive, especially with AOT enabled.
comment by umvi · 2023-11-15 · in WASM by example -
…does this exact behavior. Sounds like gunicorn needs a pr to mimic, if they want to replicate this. https://github.com/dotnet/runtime/issues/8485
comment by status_quo69 · 2023-11-07 · in Go, Containers, and the Linux Scheduler -
- https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... - https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by neonsunset · 2023-11-05 · in Classes vs. structs in .NET: how not to teach about performance -
…This is absolutely not true. Where are you getting this from? Pray tell, what you think this is: https://github.com/dotnet/runtime
comment by whoknowsidont · 2023-11-04 · in Classes vs. structs in .NET: how not to teach about performance -
And to include .net: https://github.com/dotnet/runtime/blob/main/docs/design/spec...
comment by 3pm · 2023-10-28 · in Memory Models -
…looks ugly like in Rust, but you can easily fix it with a few extension methods[1]. [0]: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... [1]: https://github.com/U8String/U8String/blob/main/Sources/Compa...
comment by neonsunset · 2023-10-26 · in Was Rust Worth It?