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
20082026
-
…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 -
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 -
It actually looks like they have decided not to add virtual threads to .Net: https://github.com/dotnet/runtimelab/issues/2398
comment by arethuza · 2025-08-21 · in Data, objects, and how we're railroaded into poor design (2018) -
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 -
…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 -
…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…
comment by neonsunset · 2024-08-22 · in Async2 – The .NET Runtime Async experiment concludes -
…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...
comment by bob1029 · 2024-08-22 · in Async2 – The .NET Runtime Async experiment concludes -
…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 -
…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 -
…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…
comment by neonsunset · 2024-05-09 · in How to Use the Foreign Function API in Java 22 to Call C Libraries -
…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…
comment by pron · 2024-05-08 · in How to Use the Foreign Function API in Java 22 to Call C Libraries -
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? -
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? -
…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 -
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 -
…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…
comment by marwis · 2024-01-25 · in JEP Draft – Derived Record Creation (Preview) -
Technical details here: https://github.com/dotnet/runtimelab/blob/feature/green-thre...
comment by generichuman · 2023-10-24 · in .NET Green Thread Experiment Results -
….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 -
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 -
…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 -
…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 -
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 -
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?
comment by DylanSp · 2023-09-10 · in An update on the green thread experiment for .NET -
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.
comment by vips7L · 2023-06-12 · in A compact overview of JDK 21’s “frozen” feature list -
…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 -
…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? -
…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 -
…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 -
…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 -
…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 -
…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…
comment by scott00 · 2021-03-31 · in C# 9 top-level programs and target-typed expressions -
…[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 -
…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 -
…it's still experimental. [0]: https://docs.microsoft.com/en-us/dotnet/core/deploying/ready... [1]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT
comment by Kipters · 2021-02-22 · in Why Discord is switching from Go to Rust (2020) -
…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 -
…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 -
…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/
comment by jeswin · 2020-11-05 · in Uno: Single-Codebase for Windows, WebAssembly, iOS, macOS, Android and Linux