[fpc-pascal] Candidate for crowd-funding

Sven Barth pascaldragon at googlemail.com
Wed Dec 19 14:21:10 CET 2018

Am Mi., 19. Dez. 2018, 13:18 hat Ryan Joseph <ryan at thealchemistguild.com>

> > On Dec 19, 2018, at 6:35 PM, Ryan Joseph <ryan at thealchemistguild.com>
> wrote:
> >
> > How does that work? I’ve been interested in coroutines for a while now
> but I don’t understand how they function in the language. They would need
> to manage stack states and push/restore stacks, which is something a
> library can’t do right?
> I already discussed this on length a while ago it seems. :)
> http://free-pascal-general.1045716.n5.nabble.com/Coroutines-and-VirtualAlloc-td5728274.html
> There was no conclusion on how this would be implemented, let alone in a
> library form, but there was an old link which showed an implementation
> using assembly mixed in. I don’t know assembly though so it doesn’t inform
> me too much.
> http://www.festra.com/wwwboard/messages/12899.html

I never said that it would be easy, but it's definitely possible as there
also exist C/C++ libraries for coroutines.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181219/3828e6af/attachment.html>

More information about the fpc-pascal mailing list