News for hackers. Stuff that matters.
Re:Performance Improvements in .NET 7 by bestinterest on Wednesday August 31, 2022 @01:05PM (#32665171)
I think this post has the best information on it as I am also learning here https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...

It is not just `magic` syntax imo, it is viral to your codebase. The blog post does way more justice than I can explain.

Re:Performance Improvements in .NET 7 by whoisthemachine on Wednesday August 31, 2022 @02:56PM (#32666759)
Yes I understand the function coloring "problem" (oh no functions need to specify in their signature whether they return results immediately or eventually). Regardless, I still don't understand how this prevents green threads a la Project Loom, if you have a function that returns a `CompletableFuture` in Java, it also needs to change its signature.
Re:Performance Improvements in .NET 7 by metaltyphoon on Wednesday August 31, 2022 @01:32PM (#32665591)
For what it's worth, there is experimentation of green thread in C# happening.