I still don't understand what you mean by distributed.
Spawning 50.000 tasks:
import vibe.core.core;
import std.stdio;
void main()
{
foreach (i; 0 .. 50_000)
runTask({
writefln(Hello, World!);
Am 07.05.2014 17:28, schrieb Bienlein:
Hello Sönke,
would it be possible in vibe.d to spawn a task the usual actor-style way
as it is done with kernel threads in D? What I mean is this:
void spawnedFunc(Tid tid)
{
receive(
(int i) { writeln(Received the number , i);}
);
}
auto
Am 07.05.2014 19:06, schrieb Sönke Ludwig:
Am 07.05.2014 17:28, schrieb Bienlein:
Hello Sönke,
would it be possible in vibe.d to spawn a task the usual actor-style way
as it is done with kernel threads in D? What I mean is this:
void spawnedFunc(Tid tid)
{
receive(
(int i) {
On Wednesday, 7 May 2014 at 17:13:07 UTC, Sönke Ludwig wrote:
The Tid handling is currently a little different, but apart
from that it
should work like this:
import vibe.core.core;
import vibe.core.concurrency;
void spawnedFunc(Tid tid)
{
receive(
(int i) {
Am 16.04.2014 16:43, schrieb Bienlein:
On Wednesday, 16 April 2014 at 14:21:03 UTC, Sönke Ludwig wrote:
I still don't understand what you mean by distributed. Spawning
50.000 tasks:
import vibe.core.core;
import std.stdio;
void main()
{
foreach (i; 0 .. 50_000)
Am 16.04.2014 20:34, schrieb Russel Winder via Digitalmars-d:
On Wed, 2014-04-16 at 16:06 +0200, Sönke Ludwig via Digitalmars-d wrote:
[…]
I agree, but I also wonder why you still keep ignoring vibe.d. It
achieves exactly that - right now! Integration with std.concurrency
would be great, but
On Wednesday, 16 April 2014 at 13:59:15 UTC, Bienlein wrote:
Being able to spawn as many thousand threads as needed without
caring about it seems to be an important aspect for being an
interesting offering for developing server-side software. It
would be nice if D could also play in that
When looking at the success of Go it seems to me that it is
caused to a large extend by the kind of multi-threading Go offers
which is something like spawn as many thousand threads as you
like.
Being able to spawn as many thousand threads as needed without
caring about it seems to be an
Am 16.04.2014 15:59, schrieb Bienlein:
When looking at the success of Go it seems to me that it is caused to a
large extend by the kind of multi-threading Go offers which is something
like spawn as many thousand threads as you like.
Being able to spawn as many thousand threads as needed without
On Wednesday, 16 April 2014 at 14:06:13 UTC, Sönke Ludwig wrote:
I agree, but I also wonder why you still keep ignoring vibe.d.
It achieves exactly that - right now! Integration with
std.concurrency would be great, but at least for now it has an
API compatible replacement that can be merged
Am 16.04.2014 16:16, schrieb Bienlein:
On Wednesday, 16 April 2014 at 14:06:13 UTC, Sönke Ludwig wrote:
I agree, but I also wonder why you still keep ignoring vibe.d. It
achieves exactly that - right now! Integration with std.concurrency
would be great, but at least for now it has an API
On Wednesday, 16 April 2014 at 14:21:03 UTC, Sönke Ludwig wrote:
I still don't understand what you mean by distributed.
Spawning 50.000 tasks:
import vibe.core.core;
import std.stdio;
void main()
{
foreach (i; 0 .. 50_000)
On Wednesday, 16 April 2014 at 14:16:30 UTC, Bienlein wrote:
On Wednesday, 16 April 2014 at 14:06:13 UTC, Sönke Ludwig wrote:
I agree, but I also wonder why you still keep ignoring vibe.d.
It achieves exactly that - right now! Integration with
std.concurrency would be great, but at least for
Am 16.04.2014 16:43, schrieb Bienlein:
On Wednesday, 16 April 2014 at 14:21:03 UTC, Sönke Ludwig wrote:
I still don't understand what you mean by distributed. Spawning
50.000 tasks:
import vibe.core.core;
import std.stdio;
void main()
{
foreach (i; 0 .. 50_000)
On Wed, 2014-04-16 at 13:59 +, Bienlein via Digitalmars-d wrote:
When looking at the success of Go it seems to me that it is
caused to a large extend by the kind of multi-threading Go offers
which is something like spawn as many thousand threads as you
like.
A critically important
On Wed, 2014-04-16 at 16:06 +0200, Sönke Ludwig via Digitalmars-d wrote:
[…]
I agree, but I also wonder why you still keep ignoring vibe.d. It
achieves exactly that - right now! Integration with std.concurrency
would be great, but at least for now it has an API compatible
replacement that
16 matches
Mail list logo