Hacker GitHub

← All repos

dotnet/runtimelab

View on GitHub ↗ ★ 1,626

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.

45 mentions on Hacker News by 33 people: 6 stories, 39 comments · first 2020-11-05 · latest 2026-10-26

Mentions per year 45 mentions · busiest year 2023 (16)
20082026
  1. …so that we can have a properly optimized AOT. But I'm not sure if it will end up with less quirks. https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-...
    comment by feldrim · 2026-10-26 · in C vs. C#: racing VLC's Gaussian blur
  2. It starts with the experiment, https://github.com/dotnet/runtimelab/issues/2398 Which ended with, > We have chosen to place the green threads experiment on hold and instead keep improving the existing (async/await) model for developing…
    comment by pjmlp · 2026-05-24 · in .NET (OK, C#) finally gets union types
  3. It actually looks like they have decided not to add virtual threads to .Net: https://github.com/dotnet/runtimelab/issues/2398
  4. I am holding out hope for NativeAOT-LLVM https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-...
    comment by jasonthorsness · 2025-03-11 · in A 10x Faster TypeScript
  5. …emit state machines instead, allowing to pay the cost only at "true" suspend points. Reference: https://github.com/dotnet/runtimelab/blob/feature/async2-exp...
    comment by neonsunset · 2024-10-08 · in Gleam Is Pragmatic
  6. …there with a grain of salt as they are an interpretation of the notes written down here: https://github.com/dotnet/runtimelab/blob/feature/async2-exp... It is difficult to draw conclusions at the present moment on e.g. memory consumption…
  7. …to GC & memory usage and the experiment writeup leaves some open-ended questions here[0]. [0]: https://github.com/dotnet/runtimelab/blob/feature/async2-exp...
  8. …is massive and will bring performance of computation heavy async paths in line with sync ones: https://github.com/dotnet/runtimelab/blob/feature/async2-exp... Note that you were trivially able to have millions of scheduled tasks even…
    comment by neonsunset · 2024-07-17 · in Java Virtual Threads: A Case Study
  9. …model. Microsoft did work on green threads a while ago and decided against continuing. Links: https://github.com/dotnet/runtimelab/issues/2398 https://github.com/dotnet/runtimelab/blob/feature/green-thre...
    comment by peteri · 2024-07-17 · in Java Virtual Threads: A Case Study
  10. …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 such that regardless of p/invoke existence green threads would…
  11. …the design of native interop has significantly impacted that of user-mode threads (or lack thereof: https://github.com/dotnet/runtimelab/issues/2398 ) in both .NET and Go, and we weren't willing to make such tradeoffs in either performance…
  12. There was a "green thread" experiment for dotnet a while ago, here is the conclusion: https://github.com/dotnet/runtimelab/issues/2398
    comment by martindevans · 2024-04-13 · in Is .NET just miles ahead or am I delusional?
  13. 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?
  14. …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...
  15. Unlike these folks from dotnet, which tested directly on ASP for real workload https://github.com/dotnet/runtimelab/issues/2398
    comment by metaltyphoon · 2024-02-25 · in Java virtual threads hit with pinning issue
  16. …threads and decided it's not worth the switch now and async-await that they have is good enough. https://github.com/dotnet/runtimelab/issues/2398 > Some of the languages it gets compared too aren't even that old yet. C# is more than old…
  17. I just saw in the dotnet-labs project they've been building FreeBSD support. https://github.com/dotnet/runtimelab/tree/feature/FreeBSD
    comment by majora2007 · 2023-11-14 · in .NET 8
  18. It was tried and the dotnet team decided to drop it: https://github.com/dotnet/runtimelab/issues/2398
    comment by valcron1000 · 2023-11-14 · in .NET 8
  19. Technical details here: https://github.com/dotnet/runtimelab/blob/feature/green-thre...
    comment by generichuman · 2023-10-24 · in .NET Green Thread Experiment Results
  20. ….NET ended a green threading experiment, mainly because the overhead it adds to FFI was too high: https://github.com/dotnet/runtimelab/issues/2398 Rust had green threads until late 2014, and they were removed because of their impact on…
    comment by withoutboats3 · 2023-10-06 · in Thread-per-core
  21. Another recent example of this problem: https://github.com/dotnet/runtimelab/issues/2398
    comment by steveklabnik · 2023-09-28 · in The State of Async Rust: Runtimes
  22. …https://twitter.com/davidfowl/status/1532880744732758018?lan... https://github.com/dotnet/runtimelab/issues/2057 https://github.com/dotnet/runtimelab/issues/2398
    comment by pjmlp · 2023-09-25 · in The State of Async Rust: Runtimes
  23. …threads are nice, but they won't add virtual threads due to async/await being too established): https://github.com/dotnet/runtimelab/issues/2398
    comment by bad_user · 2023-09-19 · in JDK 21 Release Notes
  24. Here, https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b... https://github.com/dotnet/runtimelab/issues/2398
    comment by pjmlp · 2023-09-17 · in Java 21 makes me like Java again
  25. The Twitter post linked list links to this Github issue, which has the actual discussion: https://github.com/dotnet/runtimelab/issues/2398 . Could we get the link changed to point there?
  26. Green Threads Experiment if anyone is interested in what they've done in .NET: https://github.com/dotnet/runtimelab/issues/2057 Personally Asyc/Await is the only thing keeping me from the C# ecosystem.
  27. …are experimenting with green threads now. Would be... hilarious? If it landed in .NET before Java. https://github.com/dotnet/runtimelab/tree/feature/green-thre...
    comment by thatnerdyguy · 2023-03-15 · in Guide to Java Virtual Threads
  28. …It really needs to be used more. And needless to say: .NET is open-source and cross-platform. [1]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-...
    comment by delta_p_delta_x · 2023-02-14 · in What is .NET, and why should you choose it?
  29. …in the future; there are already some efforts to compile it to WebAssembly with LLVM [0]. [0]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-...
    comment by delta_p_delta_x · 2022-06-17 · in C#: IEnumerable, yield return, and lazy evaluation
  30. …file (or as close as we can get) as soon as any sort of meaningful AOT compilation is available: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT https://github.com/dotnet/runtimelab/issues/248 There is a "PublishSingleFile"…
    comment by bob1029 · 2022-03-02 · in Single binary executable packages
  31. …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
  32. …Perhaps even reinvention? [1] https://docs.microsoft.com/en-us/dotnet/core/deploying/ready... [2] https://github.com/dotnet/runtimelab/tree/feature/NativeAOT [3] https://www.techempower.com/benchmarks/#section=test&runid=5...
    comment by ewjt · 2021-10-12 · in AWS Lambda Cold Start Times
  33. …dotnet-script: https://github.com/filipw/dotnet-script For native code your best bet is NativeAOT: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT I'm not aware of anything that combines the two. As to why: it's not so much…
  34. …[1] - https://github.com/dotnet/corert/issues/8233#issuecomment-65... [2] - https://github.com/dotnet/runtimelab/tree/feature/NativeAOT
    comment by csharptwdec19 · 2021-03-18 · in A curated list of .NET performance resources
  35. …AOT and report great performance? Also you're dramatically overstating how mature AOT is for dotnet https://github.com/dotnet/runtimelab/tree/feature/NativeAOT >This repo is for experimentation and exploring new ideas that may or may not…
    comment by anon_tor_12345 · 2021-03-18 · in A curated list of .NET performance resources
  36. …it's still experimental. [0]: https://docs.microsoft.com/en-us/dotnet/core/deploying/ready... [1]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT
  37. …like RyuJIT have now been moved to the new project called NativeAOT which has high priority. https://github.com/dotnet/runtimelab/tree/feature/NativeAOT
    comment by manigandham · 2021-01-15 · in My preferred .NET console stack
  38. …can experiment with native AOT form factor" is a priority-zero (highest priority) epic for .NET 6: https://github.com/dotnet/runtimelab/issues/248
    comment by ripley12 · 2021-01-15 · in My preferred .NET console stack
  39. …code and WASM (without the baggage you mentioned above) with C# can give Go a run for its money. 1: https://github.com/dotnet/runtimelab/