On Monday, 24 September 2012 at 22:38:59 UTC, Jason Spencer wrote:
On Monday, 24 September 2012 at 16:32:45 UTC, monarch_dodra
wrote:
On Monday, 24 September 2012 at 15:05:54 UTC, Jason Spencer
wrote:
I imagine there's a slick way to do this, but I'm not seeing
it.
I have a string of hex digi
Dmitry Olshansky:
Analyzing asm dump should help.
In this case it's a good amount of asm code.
But either way zip-sort heavily relies on proper inlining and I
suspect it's not fully "unrolled".
I don't know if that's enough.
Did you try DMD or other compilers?
In past I have used LDC
Hello,
I try to make for example some small library called libX. In
C/C++ I can make libX.h(pp) and libX.c(xx), where libX.h will
contain only interface for implementation from libX.c.
How can I achive this in D2?
When I trak dmd -o- -op -H libX.d it will generate libX.di, but
this file al
On 2012-09-25 13:39, Daniel Kozak wrote:
Hello,
I try to make for example some small library called libX. In C/C++ I can
make libX.h(pp) and libX.c(xx), where libX.h will contain only interface
for implementation from libX.c.
How can I achive this in D2?
When I trak dmd -o- -op -H libX.d it w
Yes, it works. Thanks a lot.
However I still dont get it, why dmd generates all sources
instead of just public symbols and functions declarations
On Tuesday, 25 September 2012 at 11:39:56 UTC, Jacob Carlborg
wrote:
On 2012-09-25 13:39, Daniel Kozak wrote:
Hello,
I try to make for example
On 2012-09-25 13:58, Daniel Kozak wrote:
Yes, it works. Thanks a lot.
However I still dont get it, why dmd generates all sources instead of
just public symbols and functions declarations
The source code is included to be able to inline the functions. It's
probably has something to do with the
On 2012-09-21 16:33, Martin Drasar wrote:
Hi,
I am using the std.concurrency module and I would like to send an
associative array to another thread.
If I try this:
string[string] aa;
someThread.send(aa);
I get: Aliases to mutable thread-local data not allowed.
And if I try to use this:
immu
Dne 25.9.2012 18:19, Jacob Carlborg napsal(a):
BTW, why do you need to use std.currency at all if it's immutable, just
share it as a global. The whole point of immutable is that it can be
freely shared among threads without any risks.
It is not some single piece of data.
I have a queue of task
On Tuesday, September 25, 2012 13:58:00 Daniel Kozak wrote:
> Yes, it works. Thanks a lot.
>
> However I still dont get it, why dmd generates all sources
> instead of just public symbols and functions declarations
A number of features do not work if not all of the source is available. In
particu
On Tue, 25 Sep 2012 03:25:37 +0200, TJB wrote:
>> Since you're already set up with the Stream interface, try creating a
>> MemoryStream instead of a BufferedFile. Write to the stream just as
>> you are now, then use the .data() property (on MemoryStream's
>> superclass,
>> TArrayStream) to get an
On 25-Sep-12 15:23, bearophile wrote:
Dmitry Olshansky:
Analyzing asm dump should help.
In this case it's a good amount of asm code.
This sounds like you are not interested in the cause of this at all ;)
I've dig it and it looks mostly fine. However for a small number of
elements it will
Is there an event that I can hook into which is called when the runtime
is terminated?
--
/Jacob Carlborg
On Tuesday, 25 September 2012 at 18:08:44 UTC, Justin Whear wrote:
I wrote up a quick example program and pasted it here:
http://dpaste.dzfl.pl/f1699d07
Hope that helps you out.
Justin,
Thanks so much! Very helpful!!!
TJB
On Tue, 25 Sep 2012 18:08:44 +, Justin Whear wrote:
> On Tue, 25 Sep 2012 03:25:37 +0200, TJB wrote:
>
>>> Since you're already set up with the Stream interface, try creating a
>>> MemoryStream instead of a BufferedFile. Write to the stream just as
>>> you are now, then use the .data() prope
Hello,
I'm wondering if there is any library for making a GUI with D.
If not, what would you recommend for that? Could I just use c++
libraries?
Thank you,
Matt
On Tuesday, 25 September 2012 at 18:08:44 UTC, Justin Whear wrote:
I wrote up a quick example program and pasted it here:
http://dpaste.dzfl.pl/f1699d07
Hope that helps you out.
OK, I think I am working this out. Let's say I want to write the
data to a gzipped file that will be inter-oper
Al 25/09/12 23:52, En/na Matthew Turner ha escrit:
> Hello,
>
> I'm wondering if there is any library for making a GUI with D. If not, what
> would you recommend for that? Could I just use c++ libraries?
>
https://github.com/gtkd-developers/GtkD
--
Jordi Sayol
On Sep 25, 2012, at 12:44 PM, Jacob Carlborg wrote:
> Is there an event that I can hook into which is called when the runtime is
> terminated?
A shared static dtor?
On 2012-09-26 07:37, Sean Kelly wrote:
A shared static dtor?
Didn't think of that. When exactly are those run? I'm looking for
something corresponding to this Java method:
http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Runtime.html#addShutdownHook%28java.lang.Thread%29
--
/Jacob Ca
On 2012-09-25 23:52, Matthew Turner wrote:
Hello,
I'm wondering if there is any library for making a GUI with D. If not,
what would you recommend for that? Could I just use c++ libraries?
https://github.com/d-widget-toolkit/dwt
I think using C++ libraries would be quite hard and limited.
--
20 matches
Mail list logo