rpzrpz...@gmail.com wrote:
Maybe look at the coroutine implementation in Go (Golang).

Maybe a better refrence.  Maybe an optional switch in compiler so
you are not required to have all CPU architectures working on day 1.

Intel and ARM seem nice...

The issue isn't the syntax, it's that proper implementation of coroutines means switching stacks which is highly architecture-specific; adding something like that to the RTL is a non-starter.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to