Click here to Skip to main content
15,893,508 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: BinaryFormatter a malware nest ? so, it comes to this ? Pin
BillWoodruff19-Dec-21 6:31
professionalBillWoodruff19-Dec-21 6:31 
GeneralRe: BinaryFormatter a malware nest ? so, it comes to this ? Pin
Gerry Schmitz19-Dec-21 8:06
mveGerry Schmitz19-Dec-21 8:06 
GeneralThe magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
Super Lloyd18-Dec-21 12:18
Super Lloyd18-Dec-21 12:18 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
honey the codewitch18-Dec-21 16:56
mvahoney the codewitch18-Dec-21 16:56 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
Super Lloyd18-Dec-21 17:02
Super Lloyd18-Dec-21 17:02 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
honey the codewitch18-Dec-21 17:05
mvahoney the codewitch18-Dec-21 17:05 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
Super Lloyd18-Dec-21 17:09
Super Lloyd18-Dec-21 17:09 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
honey the codewitch18-Dec-21 17:34
mvahoney the codewitch18-Dec-21 17:34 
This feels to me like something they'll have a better pattern for in .NET 8.

Still, it's cool. I've been looking for an application of IAsyncEnumerable, but I have yet to come up with much that's very compelling. Most of the time, since it's sequential and I can't return items in parallel anyway, each item depends on completing the previous one, no? If so, you only really get the benefit of the asynchronocity on the final item, unless I'm missing something - which I probably am.

If I'm reading a forward only stream for example, the next byte i read depends on me first having fetched the previous byte, which means i'm waiting on each element. Again, unless I'm missing something.

So I'm still trying to wrap my head around the async foreach.
Real programmers use butterflies

GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
Super Lloyd18-Dec-21 17:58
Super Lloyd18-Dec-21 17:58 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
honey the codewitch18-Dec-21 18:03
mvahoney the codewitch18-Dec-21 18:03 
GeneralRe: The magic of IAsyncEnumerable and IObservable in action (code show off, sorry) Pin
Super Lloyd18-Dec-21 18:16
Super Lloyd18-Dec-21 18:16 
GeneralIt had to happen at some point Pin
honey the codewitch18-Dec-21 11:18
mvahoney the codewitch18-Dec-21 11:18 
GeneralRe: It had to happen at some point Pin
Super Lloyd18-Dec-21 11:57
Super Lloyd18-Dec-21 11:57 
GeneralRe: It had to happen at some point Pin
honey the codewitch18-Dec-21 11:58
mvahoney the codewitch18-Dec-21 11:58 
GeneralRe: It had to happen at some point PinPopular
PIEBALDconsult18-Dec-21 12:12
mvePIEBALDconsult18-Dec-21 12:12 
GeneralRe: It had to happen at some point Pin
Super Lloyd18-Dec-21 12:21
Super Lloyd18-Dec-21 12:21 
GeneralRe: It had to happen at some point Pin
enhzflep19-Dec-21 10:19
enhzflep19-Dec-21 10:19 
GeneralRe: It had to happen at some point Pin
Randor 18-Dec-21 22:44
professional Randor 18-Dec-21 22:44 
GeneralRe: It had to happen at some point Pin
honey the codewitch19-Dec-21 0:16
mvahoney the codewitch19-Dec-21 0:16 
GeneralRe: It had to happen at some point Pin
Randor 19-Dec-21 0:48
professional Randor 19-Dec-21 0:48 
GeneralRe: It had to happen at some point Pin
honey the codewitch19-Dec-21 1:05
mvahoney the codewitch19-Dec-21 1:05 
GeneralRe: It had to happen at some point Pin
Randor 19-Dec-21 1:24
professional Randor 19-Dec-21 1:24 
GeneralRe: It had to happen at some point Pin
honey the codewitch19-Dec-21 1:51
mvahoney the codewitch19-Dec-21 1:51 
GeneralRe: It had to happen at some point Pin
Randor 19-Dec-21 2:00
professional Randor 19-Dec-21 2:00 
GeneralRe: It had to happen at some point Pin
honey the codewitch19-Dec-21 2:38
mvahoney the codewitch19-Dec-21 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.