Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2020-06

Pas2js Digest, Vol 28, Issue 3

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

mister highball

This is indeed a good addition for sure!
And Michael, while its not baked into the language, ezthreads comes close by offering "await" functionality as well as some other niceties (thread pool for parallel, events, etc...) https://github.com/mr-highball/ezthreads

cheers 🍻,
-highball

________________________________

Earlier message 59 lines
From: Pas2js on behalf of Sent: Wednesday, June 3, 2020 6:00:02 AM To: Subject: Pas2js Digest, Vol 28, Issue 3 Send Pas2js mailing list submissions to To subscribe or unsubscribe via the World Wide Web, visit https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js or, via email, send a message with subject or body 'help' to You can reach the person managing the list at When replying, please edit your Subject line so it is more specific than "Re: Contents of Pas2js digest..." Today's Topics: 1. Re: Async, AWait (Michael Schnell) 2. Re: Async, AWait (Michael Schnell) ---------------------------------------------------------------------- Message: 1 Date: Tue, 2 Jun 2020 09:58:21 +0000 From: Michael Schnell To: pas2js discussions Subject: Re: [Pas2js] Async, AWait Message-ID: Content-Type: text/plain; charset="utf-8" Great ! I seem to remember that functions like that are available in Oxygen (inherited from C#) but supposedly with different names and usage conventions. It would be great if the "Desktop fpc would have this, as well to allow for "asynchronous loops" (making use of multiple CPUs) and similar stuff, and if the Pascal dialects could allow for writing compatible code for all of them. -Michael ------------------------------ Message: 2 Date: Tue, 2 Jun 2020 10:07:08 +0000 From: Michael Schnell To: pas2js discussions Subject: Re: [Pas2js] Async, AWait Message-ID: Content-Type: text/plain; charset="utf-8" From the top of my head: Among other stuff, Oxygen features "parallel loop" and "future" variable for such purpose. -Michael ------------------------------ Subject: Digest Footer

Reply by email