News for hackers. Stuff that matters.
Re:Go Statement Considered Harmful (2018) by dragonwriter on Friday March 19, 2021 @03:22AM (#26510781)
> With nurseries, where do I create a nursery

One option would be to have main() create and pass the nursery when it initializes the asynchronous logger.

main() would have to wait for all logging to complete, but nothing else would.

Re:Go Statement Considered Harmful (2018) by Spivak on Friday March 19, 2021 @01:45PM (#26516221)
> main() would have to wait for all logging to complete

Which is presumably the desired behavior anyway as all objects fall out of scope during program termination.