Re:The Lobster Programming Language
by anonymoushn on Wednesday April 03, 2019 @09:45PM
(#19568687)
Are the coroutines copyable? This is useful if you want to use time-travel netcode (like ggpo) and coroutines attached to game objects in the same game.
[ Parent
| on HN ]
I'm afraid they currently aren't, but there's no reason this couldn't be implemented. There's a "copy" function for reference types that currently errors on co-routines.
Re:The Lobster Programming Language
by anonymoushn on Thursday April 04, 2019 @08:05PM
(#19578377)
That sounds great :)
I found it a bit strange that the coroutines run until the first yield at the time they are created, but otherwise I quite like the system.