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. …duration, this may be undesirable. It might be more useful to use OSU! approach as a reference: https://github.com/dotnet/runtime/issues/96213#issuecomment-... OSU! represents an extreme case where the main game loop runs at 1000hz, so for…
  2. …x86, x86_64, ARMv6, ARMv7, ARMv8/ARM64, s390x, WASM Notes: Mono as referred here means https://github.com/dotnet/runtime/tree/main/src/mono which is an actively maintained runtime flavor, alongside CoreCLR. - Application development…
  3. ….NET differs from the publish ECMA spec. Some of these differences represent new runtime features. https://github.com/dotnet/runtime/blob/main/docs/design/spec...
  4. …https://v8.dev/blog/wasm-gc-porting But languages like C# want more features in WasmGC: https://github.com/dotnet/runtime/issues/94420 No direct DOM access yet. You still have to use JavaScript glue code to get at the DOM.
  5. …I'm on the fence about whether I should learn Go or Rust while I am on a short employment break. 1. https://github.com/dotnet/runtime/issues/27761
    comment by Nuzzerino · 2024-10-23 · in Show HN: Rust Web Framework
  6. …safety issues like it happens in C/C++. You can read more on its low-level memory model here: https://github.com/dotnet/runtime/blob/main/docs/design/spec... > The same is true for async, which in C# is also a problem. Now, this one is…
    comment by neonsunset · 2024-10-14 · in Embedded Rust in Production?
  7. …object reference assignment having release semantics, so quite a few footguns are luckily avoided: https://github.com/dotnet/runtime/blob/main/docs/design/spec... '&' and '&mut', however, are your 'ref readonly' and 'ref' respectively.
  8. > RISC-V The work is underway: https://github.com/dotnet/runtime/pulls?q=label%3Aarch-riscv > Nvidia's PTX, AMD https://ilgpu.net/ and even https://github.com/m4rs-mt/ILGPU/blob/c3af8f368445d8e6443f36... While not PTX, there's also this…
    comment by neonsunset · 2024-10-10 · in My negative views on Rust (2023)
  9. …at ensuring that shortest way to express something is also the fastest whenever possible. [0]: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy... [1]: https://godbolt.org/z/srfWE9qcE (the >100x figure is not an exaggeration)
    comment by neonsunset · 2024-10-08 · in What's New in Ruby on Rails 8
  10. Also supported in .NET 9 * https://devblogs.microsoft.com/dotnet/performance-improvemen... * https://github.com/dotnet/runtime/pull/91227
  11. …makes sure its a NCName and makes sure its unique regardless, you can view the source here: https://github.com/dotnet/runtime/blob/c4d7f7c6f2e2f34f07e64...
  12. …(not exhaustive): High-level overview (it needs to be updated but is a good starting point): https://github.com/dotnet/runtime/blob/main/docs/design/core... Implementation (the 53612 line file): https://github.com/dotnet/runtime/blob/main/s…
    comment by neonsunset · 2024-09-19 · in Swift 6
  13. …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…
  14. …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
  15. …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
  16. …there might be a better optimization opportunity in the current bounded Channel<T> implementation: https://github.com/dotnet/runtime/discussions/104791#discuss...
  17. …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...
  18. …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…
  19. 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...
  20. …like multiple AppDomains have been removed from this fork. Here is an example pull request: https://github.com/dotnet/runtime/pull/47955
  21. Yes. https://github.com/dotnet/runtime/
  22. …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…
  23. …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…
  24. …?) 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…
  25. In C++ in one giant file: https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
  26. …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-...
  27. …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
  28. …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
  29. …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)
  30. …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
  31. …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
  32. …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…
  33. ▲ 3
    .NET Runtime: A Cross-Platform Framework for Cloud, Mobile, and IoT Apps
    story by CatalystCoder · 2024-08-08 · 1 comment
  34. …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…
  35. 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:…
  36. …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…
  37. …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
  38. …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…
  39. ▲ 2
    Introduction to Vectorization with Vector128 and Vector256
    story by algorithmsRcool · 2024-07-10 · 0 comments
  40. …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
  41. …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
  42. …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
  43. …+ 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…
  44. 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…
  45. …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
  46. …but dotnet/runtime does have an introductory guide that demonstrates their "basic" use-case: https://github.com/dotnet/runtime/blob/main/docs/coding-guid...
  47. …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...
  48. …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…
  49. …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
  50. …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