Hi Jason. I don’t think I was clear. I think a parser implementation is a natural fit for a generator - a generator being a specialization of a coroutine. The message I was responding to was the request to open the co routine facility that powers it. That’s what I was going against. I agree that managing the go routines for a generator case would be a pain - which is why I’ve come to agree with its inclusion. For the general concurrency case I think Go routines provide everything needed and co routines are unnecessary. As for structured concurrency, I think the wiki gives a decent overview https://en.m.wikipedia.org/wiki/Structured_concurrency And for more in-depth, this is a great read (in Java but it’s fairly generic) exceptions make it a little more complex than needed in go. https://openjdk.org/jeps/453 On Feb 25, 2025, at 5:57 AM, Jason E. Aten <j.e.a...@gmail.com> wrote: -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/F90571DB-277A-443A-BDE4-0D7A614CF2F1%40ix.netcom.com. |
- [go-nuts] Exposing newcoro/coroswitch Nuno Cruces
- [go-nuts] Re: Exposing newcoro/corosw... Jason E. Aten
- Re: [go-nuts] Re: Exposing newcor... Robert Engels
- Re: [go-nuts] Re: Exposing ne... Jason E. Aten
- Re: [go-nuts] Re: Exposin... Robert Engels
- Re: [go-nuts] Re: Ex... Robert Engels
- Re: [go-nuts] Re... Robert Engels
- [go-nuts] Re: Exposing newcoro/co... Nuno Cruces
- [go-nuts] Re: Exposing newcor... Jason E. Aten
- Re: [go-nuts] Re: Exposin... Nuno Cruces
- Re: [go-nuts] Re: Ex... Aston Motes
- Re: [go-nuts] Re... Jason E. Aten
- Re: [go-nuts... Nuno Cruces
- Re: [go-nuts] Re: Ex... Ian Lance Taylor
- Re: [go-nuts] Re... 'Brian Candler' via golang-nuts