On Sunday, 17 May 2020 at 22:30:22 UTC, a beginner wrote:
I have searched online for some info, indeed I found something,
but not being familiar with the tools it hasn't been terribly
useful. Only it confirms that windows support is somewhat
disappointing in general, xp or not.
I've been
Hi,
I have some issues, the get this program working on ubuntu:
``` Dockerfile
FROM ubuntu:focal
RUN apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -y build-essential
ldc dub zlib1g-dev
COPY app.d /tmp/
RUN dub build --single /tmp/app.d -v
```
```
It isn't just about the OS.
Dmd and ldc's codegen haven't stood still for 10 years. They both will
be emitting instructions your cpu cannot handle. Hence crashes.
On Sunday, 17 May 2020 at 22:30:22 UTC, a beginner wrote:
[...]
You could try grabbing a newer dub release binary from here:
https://github.com/dlang/dub/releases
There are two versions (installer + zip archive). It looks like
you're better off with the zip archive.
Alternatively, if you
It might seem unbelievable, but windows xp is still widely used
(did you know it runs most bank cash machines by the way?).
As it happens, in my case I've been away from computing a long
while, and my old box with xp-sp2 is all I have available at the
moment. I had a very old dmd version which
On Sunday, 17 May 2020 at 10:19:38 UTC, Russel Winder wrote:
I am experimenting with using manual control of the Glib event
loop using the pending and iteration methods on the default
MainContext within each unit- threaded test. The alternative of
running a GTK application and then putting the
17.05.2020 17:35, Vinod K Chandran пишет:
It worked. Thanks :) I have one more question. Which is better, to
include all the switch cases inside a single try catch or write separate
try catch for each switch cases ?
all the switch cases inside a single try catch is better
On Sun, 2020-05-17 at 11:19 +0100, Russel Winder wrote:
[…]
>
> Of course now there is jin.go which is a synchronous multi-tasking approach
> with channels rather than an asynchronous approach available in D.
Had I checked I would have seen this was a four years ago package that has
been left
On Sunday, 17 May 2020 at 14:21:41 UTC, Vinod K Chandran wrote:
On Sunday, 17 May 2020 at 09:50:00 UTC, Olivier Pisano wrote:
On Sunday, 17 May 2020 at 09:27:40 UTC, Vinod K Chandran wrote:
Hi all,
I am trying to create a win32 based gui in dlang. So far so
good. I can create and display my
On Sunday, 17 May 2020 at 09:50:00 UTC, Olivier Pisano wrote:
On Sunday, 17 May 2020 at 09:27:40 UTC, Vinod K Chandran wrote:
Hi all,
I am trying to create a win32 based gui in dlang. So far so
good. I can create and display my window on screen. But for
handling messages, i planned to write
On 2020-05-17 11:32, John Colvin wrote:
On Saturday, 16 May 2020 at 19:14:51 UTC, John Colvin wrote:
What's the best way to implement an Objective C protocol in D?
I see mention here
https://dlang.org/changelog/2.085.0.html#4_deprecated_objc_interfaces
but it's not clear where things are
On Sunday, 17 May 2020 at 11:39:30 UTC, kinke wrote:
DMD v2.091:
* dmd -m64 -O -release -boundscheck=off -run ..\speed.d aa bbc:
~11 μs
I forgot `-inline` for DMD; that reduces the speed, yielding ~16
μs.
On Sunday, 17 May 2020 at 03:30:57 UTC, Adnan wrote:
In my machine, if you feed "aa" and "bbc" to the function, ldc
generated code takes around 400 microseconds. I don't have an
access to gdc in my machine.
https://imgshare.io/image/NN8Xmp
Full code:
D : https://run.dlang.io/is/vLj7BC
On Saturday, 16 May 2020 at 19:14:51 UTC, John Colvin wrote:
What's the best way to implement an Objective C protocol in D?
I see mention here
https://dlang.org/changelog/2.085.0.html#4_deprecated_objc_interfaces but it's not clear where things are these days.
I did it throught the Obj-C
On Sat, 2020-05-16 at 11:37 +, Cogitri via Digitalmars-d-learn wrote:
> On Saturday, 16 May 2020 at 10:51:07 UTC, Russel Winder wrote:
> > Has anyone got any D code using the Glib event loop, usually
> > GtkD code I'd guess, that is well tested using Unit_Threaded?
>
> I always had a hard
On Sunday, 17 May 2020 at 09:27:40 UTC, Vinod K Chandran wrote:
Hi all,
I am trying to create a win32 based gui in dlang. So far so
good. I can create and display my window on screen. But for
handling messages, i planned to write something like message
crackers in c++. But since, my WndProc
On Sunday, 17 May 2020 at 03:30:57 UTC, Adnan wrote:
Hello, I am trying to examine what causes my similar D solution
to lag behind performance.
In the link, they don't have ldc or gdc but according to my
machine, the dmd generated code isn't really far behind ldc
generated code.
On Saturday, 16 May 2020 at 19:14:51 UTC, John Colvin wrote:
What's the best way to implement an Objective C protocol in D?
I see mention here
https://dlang.org/changelog/2.085.0.html#4_deprecated_objc_interfaces but it's not clear where things are these days.
Based on some experimentation,
Hi all,
I am trying to create a win32 based gui in dlang. So far so good.
I can create and display my window on screen. But for handling
messages, i planned to write something like message crackers in
c++. But since, my WndProc function is a "nothrow" function, i
cannot use any function
I think is works with older versions of DMD.
D:\jpro\dpro2\SpellIt>dub
Performing "debug" build using D:\jpro\dmd2\windows\bin\dmd.exe
for x86_64.
bindbc-loader 0.3.0: target for configuration "noBC" is up to
date.
bindbc-sdl 0.18.0: target for configuration "dynamic" is up to
date.
spellit
20 matches
Mail list logo