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
-
…makes sure its a NCName and makes sure its unique regardless, you can view the source here: https://github.com/dotnet/runtime/blob/c4d7f7c6f2e2f34f07e64...
comment by SigmundA · 2024-09-20 · in Ruby-SAML pwned by XML signature wrapping attacks -
…more hands-on interaction with GC like dynamically switching GC behaviopr depending on scenario: https://github.com/dotnet/runtime/issues/96213#issuecomment-... This, however, would be true with any language with automatic memory…
comment by neonsunset · 2024-09-13 · in Ergo: Erlang-inspired event driven actor framework in Go -
…two are used by Kestrel (and everything else). There is Http.sys integration for Windows though. https://github.com/dotnet/runtime/blob/ac663e44b907618c631ed...
comment by neonsunset · 2024-08-31 · in Sisk – Lightweight .NET Web Framework -
…HTTP 2. It might not be as high performance as Kestrel (the default web server in ASP.NET Core). https://github.com/dotnet/runtime/issues/63941#issuecomment-... So the authors of the framework might want to consider longer term whether…
comment by MarkSweep · 2024-08-31 · in Sisk – Lightweight .NET Web Framework -
…there might be a better optimization opportunity in the current bounded Channel<T> implementation: https://github.com/dotnet/runtime/discussions/104791#discuss...
comment by neonsunset · 2024-08-30 · in Calendar Queues: A Fast O(1) Priority Queue Implementation (1988) -
…from the product that eventually ended up being named COM+. For example, see the top comment in https://github.com/dotnet/runtime/blob/main/src/coreclr/vm/o...
comment by kgeist · 2024-08-28 · in Microsoft donates the Mono Project to the Wine team -
…of their product Microsoft's implementation is also open source, and has been for almost a decade: https://github.com/dotnet/runtime > that's not competing with them anymore Sure. Mono is only useful for legacy purposes. Microsoft's own…
comment by ryukoposting · 2024-08-28 · in Microsoft donates the Mono Project to the Wine team -
I never claimed that the .NET Core runtime is a fork of Mono but it certainly contains one: https://github.com/dotnet/runtime/blob/main/src/mono/mono/mi...
comment by 3np · 2024-08-28 · in Microsoft donates the Mono Project to the Wine team -
…like multiple AppDomains have been removed from this fork. Here is an example pull request: https://github.com/dotnet/runtime/pull/47955
comment by MarkSweep · 2024-08-28 · in Microsoft donates the Mono Project to the Wine team -
Yes. https://github.com/dotnet/runtime/
comment by NlightNFotis · 2024-08-27 · in Microsoft donates the Mono Project to the Wine team -
…and I don't believe was actively used. Please correct me if I'm wrong. Mono that lives in https://github.com/dotnet/runtime/tree/main/src/mono . This is the Mono that got merged into .NET, becoming the building block for multiple…
comment by neonsunset · 2024-08-27 · in Microsoft donates the Mono Project to the Wine team -
…correctly, what I mentioned is correct? On the website (where my quote comes from) it links to https://github.com/dotnet/runtime/tree/main/src/mono which is a mono within what you linked too. So this is a case of 2 different mono's? Sorry…
comment by nerdjon · 2024-08-27 · in Microsoft donates the Mono Project to the Wine team -
…?) years ago while microsoft published the windows .net runtime Since then, microsoft supports https://github.com/dotnet/runtime , which is MIT licensed Mono has no reason to live anymore, hence the lack of commits and contributions It is…
comment by JackSlateur · 2024-08-27 · in Microsoft donates the Mono Project to the Wine team -
In C++ in one giant file: https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
comment by mpawelski · 2024-08-25 · in Techniques for safe garbage collection in Rust -
…clear whether `async2` was expected to be a real keyword in the final language, it's not[0]. 0 - https://github.com/dotnet/runtime/issues/94620#issuecomment-...
comment by kodablah · 2024-08-22 · in Async2 – The .NET Runtime Async experiment concludes -
…avoiding actual vector operations. There's a new-ish guide on vectorization if you're interested: https://github.com/dotnet/runtime/blob/main/docs/coding-guid...
comment by neonsunset · 2024-08-22 · in SIMD Matters: Graph Coloring -
…tests, FWIW.) > .NET framework from Microsoft .NET absolutely has unit tests, here's one example: https://github.com/dotnet/runtime/blob/ebabdf94973a90b833925... > Many of the C++ Boost libraries All the ones I recall ever seeing have unit…
comment by dataflow · 2024-08-19 · in Algorithms we develop software by -
…for this is the up-to-date Mono (that keeps up on runtime features and library support) lives here: https://github.com/dotnet/runtime/tree/main/src/mono After .NET became what it is today, many Mono components simply became part of the…
comment by neonsunset · 2024-08-18 · in The Vala Language (2017) -
…fixed[1], but I think the parent comment author may have had scenarios like these in mind. [0]: https://github.com/dotnet/runtime/pull/92768 [1]: https://github.com/dotnet/runtime/pull/105695
comment by neonsunset · 2024-08-11 · in AMD's Strix Point: Zen 5 Hits Mobile -
…heuristic optimizations", but people certainly micro-optimize for both arm and x86. For arm, see https://github.com/dotnet/runtime/pull/106191/files as an example. Of course optimizations will vary for different ISAs and…
comment by clamchowder · 2024-08-11 · in AMD's Strix Point: Zen 5 Hits Mobile -
…for object escape analysis unrelated to this. Here's the rough timeline of the work: Initial issue https://github.com/dotnet/runtime/issues/11192 was submitted in 2018 and concerns general research direction on feasibility and…
comment by neonsunset · 2024-08-10 · in Ladybird browser to start using Swift language this fall -
…this Mono flavour as it is still outdated. If possible, please use the Mono runtime that lives in https://github.com/dotnet/runtime/tree/main/src/mono Ideally, CoreCLR will give you much better performance, ability to AOT compile your…
comment by neonsunset · 2024-07-29 · in Pallene: A statically compiled companion language for Lua -
Actually, there's three: C#: https://github.com/dotnet/runtime/blob/main/docs/coding-guid... (and full family of other types: Vector2/3/4, Matrix3x2/4x4 and upcoming Tensor<T>), vector similarity I was talking about is this:…
comment by neonsunset · 2024-07-28 · in Show HN: Semantic Grep – A Word2Vec-powered search tool -
…and .Min are the same as they were just significantly faster through the use of SIMD: https://github.com/dotnet/runtime/blob/ebbebaca1184940f06df6... You could implement a similar (and simpler) fast path for types with contiguous memory by…
comment by neonsunset · 2024-07-26 · in My Favorite Algorithm: Linear Time Median Finding (2018) -
…pretty much has to use the same techniques as realtime systems that utilize GC-based language: https://github.com/dotnet/runtime/issues/96213#issuecomment-...
comment by neonsunset · 2024-07-16 · in I Hope Rust Does Not Oxidize Everything -
…implementation in this kind of language looks like, take a look at C#'s cross-platform Vector API: https://github.com/dotnet/runtime/blob/main/docs/coding-guid... https://lemire.me/blog/2024/07/05/scan-html-faster-with-simd... (uses…
comment by neonsunset · 2024-07-13 · in Summing ASCII encoded integers on Haswell at almost the speed of memcpy -
…competent codegen for AdvSimd, SSE2/4.2/AVX1/2/AVX512, WASM's Packed SIMD and, in .NET 9, SVE1/2: https://github.com/dotnet/runtime/blob/main/docs/coding-guid... Here's an example of "checked" sum over a span of integers that uses…
comment by neonsunset · 2024-07-01 · in Using SIMD for Parallel Processing in Rust -
…with "this surely shouldn't take this much space", it might be a good idea to submit it to either https://github.com/dotnet/runtime or to the repo of the GUI framework depending on where you think the fault lies - without feedback it's…
comment by neonsunset · 2024-06-30 · in Writing GUI apps for Windows is painful -
…lead me to an old comment of mine about it, and Dan Roth mentioned this is their discussion on it https://github.com/dotnet/runtime/issues/94420
comment by zengid · 2024-06-27 · in Google Sheets ported its calculation worker from JavaScript to WasmGC -
…+ dotnet-trace a try. If you are still seeing the issue with memory and GC, you can submit it to https://github.com/dotnet/runtime/issues especially if you are doing something that is expected to just work(tm). * difficult as in retrieving…
comment by neonsunset · 2024-06-27 · in CriticGPT: Finding GPT-4's mistakes with GPT-4 -
Mono is alive and well in https://github.com/dotnet/runtime/tree/main/src/mono . It serves Android, iOS, WASM and s390x targets, maybe some other too. It is generally much slower than CoreCLR, but besides supporting more platforms, has…
comment by neonsunset · 2024-06-26 · in Microsoft breached antitrust rules by bundling Teams and Office, EU says -
…of a small amount of metadata and they write fast." It seems there is a MacOS implementation: https://github.com/dotnet/runtime/pull/79243 But it seems that this is .Net specific and not something that would speed up other build systems?…
comment by bhouston · 2024-06-24 · in Copy-on-write performance and debugging -
…but dotnet/runtime does have an introductory guide that demonstrates their "basic" use-case: https://github.com/dotnet/runtime/blob/main/docs/coding-guid...
comment by neonsunset · 2024-06-21 · in Validating gigabytes of Unicode strings per second in C#? -
…Lemire and colleague have certainly improved on that algorithm if it's only 30 lines long. https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
comment by kristianp · 2024-06-21 · in Validating gigabytes of Unicode strings per second in C#? -
…if you like SIMD and C#, dotnet/runtime now has an introductory guide to Vector128/256/512<T> API: https://github.com/dotnet/runtime/blob/main/docs/coding-guid... Now, the default syntax can still be a bit more wordy with byref arithmetics…
comment by neonsunset · 2024-06-13 · in Scan HTML faster with SIMD instructions – Chrome edition -
…take any* source of memory? You can easily do that in C#, it's impossible to do it in Java alone. https://github.com/dotnet/runtime/blob/7cd8459e7bd3883f0aa86... (it uses portable SIMD and monomorphized generics to express negation to…
comment by neonsunset · 2024-06-10 · in in Rust, methods should be object safe -
…interest has a more specific instruction, and these still consume the same vector types). Example: https://github.com/dotnet/runtime/blob/7ffb9a44ab32cd96d5684... Even higher level abstraction can be built on top of that, e.g. Triton or…
comment by neonsunset · 2024-06-10 · in Deep Dive into Ownership in Mojo -
…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 -
…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