D and Async I/O
Russel Winder
russel at winder.org.uk
Thu May 14 09:42:10 UTC 2020
On Tue, 2020-05-12 at 20:05 +0200, Jacob Carlborg via Digitalmars-d-learn
wrote:
> On 2020-05-12 11:23, Russel Winder wrote:
>
> > As far as I can tell D has no futures…
>
> Future and async in vibe.d [1]. Future in Mecca [2].
>
> [1] https://vibed.org/api/vibe.core.concurrency/async
> [2]
> https://github.com/weka-io/mecca/blob/0593a35dd1a9978855d7db349fc1172f04cf8013/src/mecca/reactor/sync/future.d#L23
D needs something at the language level on which Vibe.d and Mecca build. This
is a lesson from Rust, Kotlin, Python, etc. worth taking up.
Unfortunately, I can't see D changing because it seems not enough people with
interest in developing the language have the resource/interest in this. :-(
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20200514/1de10ba9/attachment.sig>
More information about the Digitalmars-d-learn
mailing list