On Monday, 5 November 2018 at 02:51:19 UTC, Fred wrote:
i'd like to give d a try.
Why do you need to convert it to javascript? D can serve up web
stuff by itself too.
On Monday, 5 November 2018 at 03:01:43 UTC, Dennis wrote:
Does anybody know what the problem is? I'm using Windows 10 and
Git Bash.
Sounds like the problem comes from the differences in shell
syntax (quoting style) for the two shells here. When you run the
command in Git Bash, the syntax
I am debugging a case where operator overloading seems to break
when I define the opBinary templates in a mixin template. On my
own simple test-case it worked fine, so I'm trying to reduce my
current code with dustmite.
The file tree is simply:
myproject/
q16.d
And the command I run is:
hi,
my javascript skill is bad.
but i want to host some nodejs app
i am aware that there is converter to js like dtojs. but it is
out of date.
i'd like to give d a try. is there any other converter available.
a decent one.
On Sunday, 4 November 2018 at 19:06:22 UTC, Mark Moorhen wrote:
Another Windows challenge:
I'm trying to get the title of the active window even if it is
from an external application. This is what I've come up with so
far:
import std.stdio;
import core.sys.windows.windows;
extern
On Saturday, 3 November 2018 at 14:26:02 UTC, dwdv wrote:
Hi there,
the task is simple: count word occurrences from stdin (around
150mb in this case) and print sorted results to stdout in a
somewhat idiomatic fashion.
Now, d is quite elegant while maintaining high performance
compared to
Another Windows challenge:
I'm trying to get the title of the active window even if it is
from an external application. This is what I've come up with so
far:
import std.stdio;
import core.sys.windows.windows;
extern (Windows)
void main()
{
HWND foreground = GetForegroundWindow();
Assoc array allocations?
Yup. AAs do keep their memory around (supposedly for reuse). [...]
Why it consumes so much is a question to the implementation.
[...] I guess built-in AAs just love to hoard.
What a darn shame. This way I'm missing out on all those slick internet
benchmark points.
On Sunday, 4 November 2018 at 13:19:45 UTC, Jacob Carlborg wrote:
You cannot overload the the "is" operator. Use "==" if you want
to overload it.
Ok, thanks.
On 2018-11-04 12:49, Per Nordlöw wrote:
At
https://github.com/nordlow/phobos-next/blob/master/src/sso_string.d
I would like to override the behaviour of
`x is y`
for `x` and `y` being instances of `SSOString`.
to always mean
`x[] is y[]`
How do I do this?
Is this the
At
https://github.com/nordlow/phobos-next/blob/master/src/sso_string.d
I would like to override the behaviour of
`x is y`
for `x` and `y` being instances of `SSOString`.
to always mean
`x[] is y[]`
How do I do this?
Is this the recommended behaviour in D for small-size-optimized
On Sunday, 4 November 2018 at 01:17:01 UTC, Luigi wrote:
I need to call a function that can create a function from an
array of functions and calls them in reverse order. I am
learning D any help would be
That sounds a lot like std.functional.compose
12 matches
Mail list logo