On Mon, 2020-05-18 at 11:56 +, Sebastiaan Koppe via Digitalmars-d-learn
wrote:
> On Thursday, 14 May 2020 at 09:36:33 UTC, Russel Winder wrote:
> > Whilst C frameworks use callbacks and trampolines, high level
> > languages seem to be basing things on futures – or things that
> > are effectiv
On Thursday, 14 May 2020 at 09:36:33 UTC, Russel Winder wrote:
Whilst C frameworks use callbacks and trampolines, high level
languages seem to be basing things on futures – or things that
are effectively isomorphic to futures.
What I find most lacking is proper cancellation. Also, futures
are
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]
> h
On Tue, 2020-05-12 at 09:57 +, Sebastiaan Koppe via Digitalmars-d-learn
wrote:
[…]
>
> Yeah it is a shame, but you see it in almost every language.
> Probably means concurrency and io isn't a fully solved problem
> yet.
Whilst C frameworks use callbacks and trampolines, high level languages
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/syn
On Tuesday, 12 May 2020 at 09:23:40 UTC, Russel Winder wrote:
On Mon, 2020-05-11 at 19:34 +0200, Jacob Carlborg via
Digitalmars-d-learn wrote:
On 2020-05-11 16:44, Russel Winder wrote:
> Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1] https://github.com/we
On Mon, 2020-05-11 at 19:34 +0200, Jacob Carlborg via Digitalmars-d-learn
wrote:
> On 2020-05-11 16:44, Russel Winder wrote:
>
> > Crickey, a third option. This wil increase my dithering! ;-)
>
> Forth: Mecca [1] :)
>
> [1] https://github.com/weka-io/mecca
Hummm… it seems everyone who needed as
On Monday, 11 May 2020 at 15:02:59 UTC, bauss wrote:
On Monday, 11 May 2020 at 14:02:54 UTC, Russel Winder wrote:
OK, so I need to create an asynchronous TCP server (not HTTP
or HTTPS, this is
a real server ;-) ).
I think the normal response is "Use Vibe.d". However, recently
I see Hunt is an
On Monday, 11 May 2020 at 21:15:28 UTC, Steven Schveighoffer
wrote:
On 5/11/20 3:46 PM, ikod wrote:
On Monday, 11 May 2020 at 17:34:41 UTC, Jacob Carlborg wrote:
On 2020-05-11 16:44, Russel Winder wrote:
Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1] h
On 5/11/20 3:46 PM, ikod wrote:
On Monday, 11 May 2020 at 17:34:41 UTC, Jacob Carlborg wrote:
On 2020-05-11 16:44, Russel Winder wrote:
Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1] https://github.com/weka-io/mecca
And probably more. At least I also
On Monday, 11 May 2020 at 17:34:41 UTC, Jacob Carlborg wrote:
On 2020-05-11 16:44, Russel Winder wrote:
Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1] https://github.com/weka-io/mecca
And probably more. At least I also have my async library for
networ
On 2020-05-11 16:44, Russel Winder wrote:
Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1] https://github.com/weka-io/mecca
--
/Jacob Carlborg
On Monday, 11 May 2020 at 14:02:54 UTC, Russel Winder wrote:
OK, so I need to create an asynchronous TCP server (not HTTP or
HTTPS, this is
a real server ;-) ).
I think the normal response is "Use Vibe.d". However, recently
I see Hunt is an alternative. Has anyone any way of choosing
between
On Mon, 2020-05-11 at 16:36 +0200, Daniel Kozak via Digitalmars-d-learn wrote:
> On Mon, May 11, 2020 at 4:03 PM Russel Winder via Digitalmars-d-learn
> wrote:
> > ...
> > I notice that Hunt uses it's own library eschewing all of Phobos. Is this
> > an
> > indicator that Phobos is not suitable for
On Mon, 2020-05-11 at 15:02 +0100, Russel Winder wrote:
> OK, so I need to create an asynchronous TCP server (not HTTP or HTTPS, this
> is
> a real server ;-) ).
>
> I think the normal response is "Use Vibe.d". However, recently I see Hunt is
> an alternative. Has anyone any way of choosing betwee
On Mon, May 11, 2020 at 4:03 PM Russel Winder via Digitalmars-d-learn
wrote:
>
> ...
> I notice that Hunt uses it's own library eschewing all of Phobos. Is this an
> indicator that Phobos is not suitable for networking activity?
Vibe-d do that too, But https://code.dlang.org/packages/async use
pho
OK, so I need to create an asynchronous TCP server (not HTTP or HTTPS, this is
a real server ;-) ).
I think the normal response is "Use Vibe.d". However, recently I see Hunt is
an alternative. Has anyone any way of choosing between the two?
I notice that Hunt uses it's own library eschewing all o
17 matches
Mail list logo