On Friday, 27 December 2019 at 06:08:16 UTC, Marcone wrote:
import std;
import core.thread;
auto threading(lazy void fun){ return
task!fun().executeInNewThread(); }
void main(){
threading(writeln("Hello World!"));
}
I want to create a function threading() to run some function in
ot
import std;
import core.thread;
auto threading(lazy void fun){ return
task!fun().executeInNewThread(); }
void main(){
threading(writeln("Hello World!"));
}
I want to create a function threading() to run some function in
other threading, but I get this error bellow. How can I get
su
On 12/24/19 5:18 AM, Russel Winder wrote:
On Mon, 2019-12-23 at 08:09 -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
[…]
No idea, I use vanilla vim (not even with syntax highlighting -- I'm
a
hardcore retro guy).
Surely a hardcore retro guy would be using vi not vim? Indeed wouldn't
a real
On Tue, 2019-12-24 at 09:52 -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
> On Tue, Dec 24, 2019 at 10:18:49AM +, Russel Winder via
> Digitalmars-d-learn wrote:
[…]
> Haha, well, a *real* hardcore retro guy would be using a magnet, a
> pin,
> and a *really* steady hand, to flip individual b
On 12/24/19 8:52 AM, MoonlightSentinel wrote:
On Tuesday, 24 December 2019 at 07:37:02 UTC, Rumbu wrote:
I am trying to create an array of functions inside a struct.
struct S {
void f1() {}
void f2() {}
alias Func = void function();
immutable Func[2] = [&f1, &f2]
}
What I got: Error:
On Thursday, 26 December 2019 at 10:32:10 UTC, Andre Pany wrote:
I am not sure wheter you talk about the same issue but the
explorer view was also the only reason VSC was totally unusable
for me. The lack of file/folder icons really questionable.
Recently I found out that it is possible to con
On Thursday, 26 December 2019 at 10:15:17 UTC, Ron Tarrant wrote:
On Wednesday, 25 December 2019 at 13:32:45 UTC, Mike Parker
wrote:
For a while, typing in VS Code was clunky compared to Sublime.
I gave it a spin every couple of months to see how it was
shaping up and eventually I stopped not
On Wednesday, 25 December 2019 at 13:32:45 UTC, Mike Parker wrote:
For a while, typing in VS Code was clunky compared to Sublime.
I gave it a spin every couple of months to see how it was
shaping up and eventually I stopped noticing the difference.
Ah! Good to know. Thanks, Mike. Once they ad