Re: How will std.allocator change how we program in D?

2015-10-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, October 02, 2015 23:54:15 Taylor Hillegeist via Digitalmars-d-learn wrote: > I do not come from a c++ background. but have looked at what > allocators do for c++. I know in D the standard for memory > management is garbage collection and if we want to manage it > ourselfs we have to do

Re: http://wiki.dlang.org/Building_DMD improvements

2015-10-03 Thread Atila Neves via Digitalmars-d
On Friday, 2 October 2015 at 11:06:52 UTC, Andrei Alexandrescu wrote: The Wiki page http://wiki.dlang.org/Building_DMD could be easily reorganized to make better. Currently it uses sections such as "Getting the sources", "Building the sources", etc. Within each seion there's a Posix section

[Issue 14782] Internal error: backend/cod1.c

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14782 Walter Bright changed: What|Removed |Added CC|

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Abdulhaq via Digitalmars-d
On Saturday, 3 October 2015 at 01:58:01 UTC, Jeremy DeHaan wrote: I know a lot of people wish they had new bindings for Qt, so I was going to give it a go soon. Is anyone currently working on such a thing? I'd rather help someone than compete with them. I got quite far for Qt4 with

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread Rikki Cattermole via Digitalmars-d-learn
On 04/10/15 1:09 AM, holo wrote: On Saturday, 3 October 2015 at 05:02:58 UTC, Rikki Cattermole wrote: On 03/10/15 6:01 PM, Rikki Cattermole wrote: On 03/10/15 4:54 PM, holo wrote: On Saturday, 3 October 2015 at 03:15:21 UTC, Rikki Cattermole wrote: You could implement it yourself, (it looks

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread Rikki Cattermole via Digitalmars-d-learn
On 04/10/15 1:49 AM, holo wrote: On Saturday, 3 October 2015 at 12:22:11 UTC, Rikki Cattermole wrote: On 04/10/15 1:09 AM, holo wrote: On Saturday, 3 October 2015 at 05:02:58 UTC, Rikki Cattermole wrote: On 03/10/15 6:01 PM, Rikki Cattermole wrote: On 03/10/15 4:54 PM, holo wrote: [...]

Re: Idioms you use

2015-10-03 Thread Marco Leise via Digitalmars-d
Am Mon, 28 Sep 2015 21:40:43 + schrieb Freddy : > Are any D idioms you use that you like to share? > Heres one of mine > --- > enum ctfe = > { > return 0xdead & 0xbad; > }(); > --- Yep, using that often, although I try to get my head around using functional

Re: http://wiki.dlang.org/Building_DMD improvements

2015-10-03 Thread Andrei Alexandrescu via Digitalmars-d
On 10/03/2015 06:38 AM, Atila Neves wrote: On Friday, 2 October 2015 at 11:06:52 UTC, Andrei Alexandrescu wrote: The Wiki page http://wiki.dlang.org/Building_DMD could be easily reorganized to make better. Currently it uses sections such as "Getting the sources", "Building the sources", etc.

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread yawniek via Digitalmars-d-learn
On Saturday, 3 October 2015 at 03:11:06 UTC, holo wrote: Hello I'm trying to contact AWS API with D according to documentation: [...] check https://github.com/yannick/vibe-aws it has v4 implemented

Re: How will std.allocator change how we program in D?

2015-10-03 Thread Rikki Cattermole via Digitalmars-d-learn
On 03/10/15 12:54 PM, Taylor Hillegeist wrote: I do not come from a c++ background. but have looked at what allocators do for c++. I know in D the standard for memory management is garbage collection and if we want to manage it ourselfs we have to do things like @nogc. I was just curious how the

[Issue 15142] New: @trusted ignored on alias declarations when specified as prefix

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15142 Issue ID: 15142 Summary: @trusted ignored on alias declarations when specified as prefix Product: D Version: D2 Hardware: x86_64 OS: Windows Status:

Re: C++ compiler vs D compiler

2015-10-03 Thread Cauterite via Digitalmars-d
On Saturday, 3 October 2015 at 10:45:29 UTC, Abdulhaq wrote: Perhaps the answer to this is obvious, but what's harder to write from scratch - a C++ compiler or a D compiler? :-) I suspect writing a C++ compiler would be more difficult, unless you takes some shortcuts. The language's grammar

Re: C++ compiler vs D compiler

2015-10-03 Thread Timon Gehr via Digitalmars-d
On 10/03/2015 12:45 PM, Abdulhaq wrote: Perhaps the answer to this is obvious, but what's harder to write from scratch - a C++ compiler or a D compiler? :-) We know Walter wrote a C++ compiler single handedly, does anyone else recall the C++ Grandmaster qualification, the free course where

Re: __simd_sto confusion

2015-10-03 Thread Marco Leise via Digitalmars-d-learn
This is a bug in overload resolution when __vector(void[16]) is involved. You can go around it by changing float4 to void16, only to run into an internal compiler error: backend/gother.c 988 So file a bug for both @ issues.dlang.org Also it looks like DMD wants you to use the return value of the

C++ compiler vs D compiler

2015-10-03 Thread Abdulhaq via Digitalmars-d
Perhaps the answer to this is obvious, but what's harder to write from scratch - a C++ compiler or a D compiler? :-) We know Walter wrote a C++ compiler single handedly, does anyone else recall the C++ Grandmaster qualification, the free course where participants get to write a complete C++

[Issue 15143] New: core.demangle: Superfluous * when demangling function pointers

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15143 Issue ID: 15143 Summary: core.demangle: Superfluous * when demangling function pointers Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Walter and I talk about D in Romania

2015-10-03 Thread Lionello Lunesu via Digitalmars-d-announce
On 02/10/15 19:25, Andrei Alexandrescu wrote: Walter and I will travel to Brasov, Romania to hold an evening-long event on the D language. There's been strong interest in the event with over 300 registrants so far. http://curiousminds.ro Scott Meyers will guest star in a panel following the

Re: Is Anything Holding you back?

2015-10-03 Thread ponce via Digitalmars-d
On Friday, 2 October 2015 at 18:56:32 UTC, deadalnix wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold

Re: Walter and I talk about D in Romania

2015-10-03 Thread Mengu via Digitalmars-d-announce
On Friday, 2 October 2015 at 11:25:44 UTC, Andrei Alexandrescu wrote: Walter and I will travel to Brasov, Romania to hold an evening-long event on the D language. There's been strong interest in the event with over 300 registrants so far. http://curiousminds.ro Scott Meyers will guest star

[Issue 15136] If we want toStringz to be fully correct, it needs to stop checking for '\0'

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15136 John Colvin changed: What|Removed |Added CC|

Which C runtime for MinGW and *BSD?

2015-10-03 Thread Kai Nacke via Digitalmars-d
Hi all! I am trying to compile D code for MinGW and *BSD. Of course, I am using LDC. The situation is a bit chaotic. For MinGW, the compiler defines the versions Windows, Win32 and MinGW. For *BSD, the compiler defines the *BSD version (FreeBSD/DragonFlyBSD/NetBSD/OpenBSD) and Posix. If

[Issue 15006] Compiling trivial program produces 400,000+ byte object file

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15006 --- Comment #4 from Martin Nowak --- Any update on that? Otherwise please close. --

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread holo via Digitalmars-d-learn
On Saturday, 3 October 2015 at 12:22:11 UTC, Rikki Cattermole wrote: On 04/10/15 1:09 AM, holo wrote: On Saturday, 3 October 2015 at 05:02:58 UTC, Rikki Cattermole wrote: On 03/10/15 6:01 PM, Rikki Cattermole wrote: On 03/10/15 4:54 PM, holo wrote: [...] By the looks of that error message

[Issue 15142] @trusted ignored on alias declarations when specified as prefix

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15142 Vladimir Panteleev changed: What|Removed |Added Hardware|x86_64 |All

[Issue 12527] Cannot make @system function/delegate alias in a @safe section

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12527 Vladimir Panteleev changed: What|Removed |Added See Also|

[Issue 12529] Function/delegate type alias picks up @safe attribute from surrounding scope

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12529 Vladimir Panteleev changed: What|Removed |Added See Also|

Re: How to use std.range.interfaces in pure @safe code

2015-10-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, October 02, 2015 19:45:05 Freddy via Digitalmars-d-learn wrote: > How do I use http://dlang.org/phobos/std_range_interfaces.html in > pure @safe code? You don't. None of the functions in those interfaces are marked with @safe or pure. One of the problems with classes is that you're

[Issue 15138] ICE with basic use of stdx.data.json

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15138 Marc Schütz changed: What|Removed |Added OS|Windows |All --- Comment #4 from

Re: Go, D, and the GC

2015-10-03 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 2 October 2015 at 07:32:02 UTC, Kagamin wrote: Low latency (also a synonym for fast) is required by interactive applications like client and server software Isn't a typical collection cycle's duration negligible compared to typical network latency?

Re: std.experimental.allocator

2015-10-03 Thread Nordlöw via Digitalmars-d
On Saturday, 3 October 2015 at 00:05:45 UTC, Andrei Alexandrescu wrote: Sticking to procedure, nothing more. Thanks Jonathan - allocator is now in. Enjoy! -- Andrei Superb! I'll spread the word, as usual 

[Issue 15141] New: Object.factory allows the creation of derived abstract classes

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15141 Issue ID: 15141 Summary: Object.factory allows the creation of derived abstract classes Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

Re: Walter and I talk about D in Romania

2015-10-03 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 2 Oct 2015 07:25:44 -0400 schrieb Andrei Alexandrescu : > Walter and I will travel to Brasov, Romania to hold an evening-long > event on the D language. There's been strong interest in the event with > over 300 registrants so far. > >

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread holo via Digitalmars-d-learn
On Saturday, 3 October 2015 at 12:50:58 UTC, Rikki Cattermole wrote: On 04/10/15 1:49 AM, holo wrote: On Saturday, 3 October 2015 at 12:22:11 UTC, Rikki Cattermole wrote: On 04/10/15 1:09 AM, holo wrote: [...] By the looks of things the problem is with SHA256, I'm guessing it doesn't have

Re: Multiple alias this redux

2015-10-03 Thread Andrei Alexandrescu via Digitalmars-d
On 10/03/2015 02:17 AM, deadalnix wrote: Anything, but please make this happen. Considering how alias this is implemented in the first place, I really doubt a simple implementation exists. Maybe a simpler one, I'm not familiar enough with the codebase to judge, but certainly not a simple one

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-03 Thread Manu via Digitalmars-d
On 1 October 2015 at 08:47, H. S. Teoh via Digitalmars-d wrote: > [...] > (D has seriously ruined my life; I simply can't bring myself to go back to > C++ anymore. At least not voluntarily.) OMG, this! Seriously, this is more true than I can express in words ;) My

Re: Looking for someone that could work on 32 bits support for SDC

2015-10-03 Thread ponce via Digitalmars-d
On Friday, 2 October 2015 at 22:35:51 UTC, BBasile wrote: Tu arrives encore à porter des boots ? au niveau des chevilles enflées ca passe encore ? Keep it civil please.

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread holo via Digitalmars-d-learn
On Saturday, 3 October 2015 at 05:02:58 UTC, Rikki Cattermole wrote: On 03/10/15 6:01 PM, Rikki Cattermole wrote: On 03/10/15 4:54 PM, holo wrote: On Saturday, 3 October 2015 at 03:15:21 UTC, Rikki Cattermole wrote: You could implement it yourself, (it looks pretty easy). Or go the route of

Re: http://wiki.dlang.org/Building_DMD improvements

2015-10-03 Thread Marco Leise via Digitalmars-d
Am Sat, 03 Oct 2015 10:38:51 + schrieb Atila Neves : > On Friday, 2 October 2015 at 11:06:52 UTC, Andrei Alexandrescu > wrote: > > The Wiki page http://wiki.dlang.org/Building_DMD could be > > easily reorganized to make better. > > > > Currently it uses sections such

__simd_sto confusion

2015-10-03 Thread Nachtraaf via Digitalmars-d-learn
I'm trying to create some linear algebra functions using simd intrinsics. I watched the dconf 2013 presentation by Manu Evans but i'm still confused about some aspects and the following piece of code doesn't work. I'm trying to copy the result of a dot product from the register to memory but

Re: Is Anything Holding you back?

2015-10-03 Thread karabuta via Digitalmars-d
On Friday, 2 October 2015 at 05:28:23 UTC, suliman wrote: On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D

Re: Go, D, and the GC

2015-10-03 Thread deadalnix via Digitalmars-d
On Saturday, 3 October 2015 at 13:35:19 UTC, Vladimir Panteleev wrote: On Friday, 2 October 2015 at 07:32:02 UTC, Kagamin wrote: Low latency (also a synonym for fast) is required by interactive applications like client and server software Isn't a typical collection cycle's duration negligible

[Issue 15147] New: std.random.uniform return value depends on integer size

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15147 Issue ID: 15147 Summary: std.random.uniform return value depends on integer size Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 15144] Bad operand size in asm { movdqa ... } produces bogus ubyte16 initializer error elsewhere.

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15144 --- Comment #1 from Marco Leise --- Ok, using `movdqa XMM0, csXMM;` it works when the `SSEFromString` is changed to declare the vector as __gshared instead of immutable. So DMD has trouble sorting things out when they are

[Issue 15146] New: std.file.dirEntries("") only works on Windows

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15146 Issue ID: 15146 Summary: std.file.dirEntries("") only works on Windows Product: D Version: D2 Hardware: All OS: Other Status: NEW Severity: enhancement

Re: Go, D, and the GC

2015-10-03 Thread deadalnix via Digitalmars-d
On Saturday, 3 October 2015 at 18:26:32 UTC, Vladimir Panteleev wrote: On Saturday, 3 October 2015 at 18:21:55 UTC, deadalnix wrote: On Saturday, 3 October 2015 at 13:35:19 UTC, Vladimir Panteleev wrote: On Friday, 2 October 2015 at 07:32:02 UTC, Kagamin wrote: Low latency (also a synonym for

Re: Looking for someone that could work on 32 bits support for SDC

2015-10-03 Thread deadalnix via Digitalmars-d
On Saturday, 3 October 2015 at 09:44:06 UTC, ponce wrote: On Friday, 2 October 2015 at 22:35:51 UTC, BBasile wrote: Tu arrives encore à porter des boots ? au niveau des chevilles enflées ca passe encore ? Keep it civil please. He knows, that's why he wrote in french. We'll know if he is

Re: Go, D, and the GC

2015-10-03 Thread welkam via Digitalmars-d
D gives users tools to avoid heap allocations and if it is necessary to allocate heap memory you have scoped memory management or ref counting so your GC heap is small or non existent. People fear manual memory management because they hear stories about C but for most part it can be easy and

[Issue 15144] Bad operand size in asm { movdqa ... } produces bogus ubyte16 initializer error elsewhere.

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15144 Marco Leise changed: What|Removed |Added Keywords||iasm, SIMD --

[Issue 15145] New: Array initializers for SIMD not working inside functions.

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15145 Issue ID: 15145 Summary: Array initializers for SIMD not working inside functions. Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Jeremy DeHaan via Digitalmars-d
On Saturday, 3 October 2015 at 08:25:25 UTC, Manu wrote: On 3 October 2015 at 11:58, Jeremy DeHaan via Digitalmars-d wrote: I know a lot of people wish they had new bindings for Qt, so I was going to> give it a go soon. Is anyone currently working on such a thing?

Re: std.experimental.allocator

2015-10-03 Thread Andrei Alexandrescu via Digitalmars-d
On 10/03/2015 12:31 PM, John Colvin wrote: On Friday, 2 October 2015 at 13:12:47 UTC, Andrei Alexandrescu wrote: It's been bitrotting for a while, I've rebased and it has passed tests now. Who will do the honors? https://github.com/D-Programming-Language/phobos/pull/3405 There are three pull

[Issue 15148] New: Linker error with packages

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15148 Issue ID: 15148 Summary: Linker error with packages Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: enhancement Priority: P1

Re: OT: interesting talk by Jane Street technical guy on why they used Ocaml

2015-10-03 Thread Mengu via Digitalmars-d-learn
On Saturday, 3 October 2015 at 01:41:55 UTC, Laeeth Isharc wrote: https://www.youtube.com/watch?v=hKcOkWzj0_s a little old but still relevant. talks about importance of brevity and strong types for readability (also avoiding boilerplate). two of the partners there committed to read every

[Issue 15138] ICE with basic use of stdx.data.json

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15138 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #5

[Issue 15144] New: Bad operand size in asm { movdqa ... } produces bogus ubyte16 initializer error elsewhere.

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15144 Issue ID: 15144 Summary: Bad operand size in asm { movdqa ... } produces bogus ubyte16 initializer error elsewhere. Product: D Version: D2 Hardware: x86_64 OS:

Re: OT: interesting talk by Jane Street technical guy on why they used Ocaml

2015-10-03 Thread Laeeth Isharc via Digitalmars-d-learn
On Saturday, 3 October 2015 at 15:58:38 UTC, Mengu wrote: On Saturday, 3 October 2015 at 01:41:55 UTC, Laeeth Isharc wrote: https://www.youtube.com/watch?v=hKcOkWzj0_s a little old but still relevant. talks about importance of brevity and strong types for readability (also avoiding

Re: std.experimental.allocator

2015-10-03 Thread John Colvin via Digitalmars-d
On Friday, 2 October 2015 at 13:12:47 UTC, Andrei Alexandrescu wrote: It's been bitrotting for a while, I've rebased and it has passed tests now. Who will do the honors? https://github.com/D-Programming-Language/phobos/pull/3405 There are three pull requests open against my fork, I invite

Re: Go, D, and the GC

2015-10-03 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 3 October 2015 at 18:21:55 UTC, deadalnix wrote: On Saturday, 3 October 2015 at 13:35:19 UTC, Vladimir Panteleev wrote: On Friday, 2 October 2015 at 07:32:02 UTC, Kagamin wrote: Low latency (also a synonym for fast) is required by interactive applications like client and server

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 3 October 2015 at 03:11:06 UTC, holo wrote: Last but not least, how to write such function in D: def sign(key, msg): return hmac.new(key, msg.encode("utf-8"), hashlib.sha256).digest() ? I can't find in standard libraryt hmac function, is it existing? The next version of D

[Issue 8047] important opcodes missing from core/simd.d

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8047 --- Comment #4 from Marco Leise --- //PMOVMSKB = 0x660FD7, has been commented out in core.simd. We may as well comment out all instructions returning non-XMM values until this is resolved. The ones I could find so far are:

Re: C++ compiler vs D compiler

2015-10-03 Thread Walter Bright via Digitalmars-d
On 10/3/2015 8:43 AM, Timon Gehr wrote: There are also some other, more minor issues. For example, when the language specification speaks about "memory safety", it is really unclear what this means, as the language designers seem to think it that it is fine to have undefined behaviour in a

[Issue 15146] std.file.dirEntries("") only works on Windows

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15146 Vladimir Panteleev changed: What|Removed |Added Keywords||pull ---

Re: C++ compiler vs D compiler

2015-10-03 Thread deadalnix via Digitalmars-d
On Saturday, 3 October 2015 at 19:43:13 UTC, Walter Bright wrote: On 10/3/2015 8:43 AM, Timon Gehr wrote: There are also some other, more minor issues. For example, when the language specification speaks about "memory safety", it is really unclear what this means, as the language designers

[Issue 15137] core.time: Support Duration/Duration and Duration%Duration

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15137 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/809b40a9b110b652ba4539679c292fbe068d5cab core.time:

[Issue 15137] core.time: Support Duration/Duration and Duration%Duration

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15137 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Idioms you use

2015-10-03 Thread Artur Skawina via Digitalmars-d
On 10/03/15 15:53, Marco Leise via Digitalmars-d wrote: > Am Mon, 28 Sep 2015 21:40:43 + > schrieb Freddy : > >> Are any D idioms you use that you like to share? >> Heres one of mine >> --- >> enum ctfe = >> { >> return 0xdead & 0xbad; >> }(); >> --- > > Yep,

buffered output to files

2015-10-03 Thread Gerald Jansen via Digitalmars-d-learn
In this great article [1] there is a brief section on buffered output to files. Also in this thread [2] I was advised to use explicitly buffered output for maximum performance. This left me perplexed: surely any high-level routines already use buffered IO, no? [1]

Re: C++ compiler vs D compiler

2015-10-03 Thread Walter Bright via Digitalmars-d
On 10/3/2015 12:49 PM, deadalnix wrote: On Saturday, 3 October 2015 at 19:43:13 UTC, Walter Bright wrote: On 10/3/2015 8:43 AM, Timon Gehr wrote: There are also some other, more minor issues. For example, when the language specification speaks about "memory safety", it is really unclear what

Re: C++ compiler vs D compiler

2015-10-03 Thread deadalnix via Digitalmars-d
On Sunday, 4 October 2015 at 01:26:53 UTC, Walter Bright wrote: Memory safety means no memory corruption is possible. Therefore, there can be no undefined behavior in @safe code. Overflowing an int is undefined behavior, but it is not memory corruption. Overflowing an int is defined

[Issue 15149] New: [2.068.2 regression] Linker error with separate compilation

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15149 Issue ID: 15149 Summary: [2.068.2 regression] Linker error with separate compilation Product: D Version: D2 Hardware: All OS: Linux Status: NEW

Re: Is Anything Holding you back?

2015-10-03 Thread deadalnix via Digitalmars-d
On Saturday, 3 October 2015 at 09:02:52 UTC, ponce wrote: On Friday, 2 October 2015 at 18:56:32 UTC, deadalnix wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D

Re: __simd_sto confusion

2015-10-03 Thread Nachtraaf via Digitalmars-d-learn
On Saturday, 3 October 2015 at 15:39:33 UTC, Marco Leise wrote: This is a bug in overload resolution when __vector(void[16]) is involved. You can go around it by changing float4 to void16, only to run into an internal compiler error: backend/gother.c 988 So file a bug for both @

[Issue 15149] [2.068.2 regression] Linker error with separate compilation

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15149 Walter Bright changed: What|Removed |Added CC|

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Manu via Digitalmars-d
On 4 October 2015 at 02:43, Jeremy DeHaan via Digitalmars-d wrote: > On Saturday, 3 October 2015 at 08:25:25 UTC, Manu wrote: >> >> On 3 October 2015 at 11:58, Jeremy DeHaan via Digitalmars-d >> wrote: >>> >>> I know a lot of people wish

Re: OT: interesting talk by Jane Street technical guy on why they used Ocaml

2015-10-03 Thread Mengu via Digitalmars-d-learn
On Saturday, 3 October 2015 at 16:33:38 UTC, Laeeth Isharc wrote: On Saturday, 3 October 2015 at 15:58:38 UTC, Mengu wrote: On Saturday, 3 October 2015 at 01:41:55 UTC, Laeeth Isharc wrote: https://www.youtube.com/watch?v=hKcOkWzj0_s a little old but still relevant. talks about importance of

Re: __simd_sto confusion

2015-10-03 Thread Marco Leise via Digitalmars-d-learn
Am Sat, 03 Oct 2015 23:42:22 + schrieb Nachtraaf : > I changed the type of result to void16 like this: > > float dot_simd1(float4 a, float4 b) > { > void16 result = __simd(XMM.DPPS, a, b, 0xFF); > float value; > __simd_sto(XMM.STOSS, value, result); >

[Issue 15057] std.string.indexOf and friends do not accept custom types with alias this to string

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15057 Walter Bright changed: What|Removed |Added CC|

Re: Walter and I talk about D in Romania

2015-10-03 Thread deadalnix via Digitalmars-d-announce
On Saturday, 3 October 2015 at 12:29:17 UTC, Marco Leise wrote: That's a lot of people. You must be some kind of programming national hero in Romania. Good luck and watch out for those C++ moroi in the audience! Time to get a Dman costume and some lycra costume !

[Issue 15110] pragma(inline) rarely works how I want it to

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15110 --- Comment #6 from Manu --- There are cases where it should be valid to fail inlining, but shouldn't be an error. For instance, if I take the address of the function, that kinda implies it needs to emit an instance of the

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Manu via Digitalmars-d
On 4 October 2015 at 10:24, Manu wrote: > On 4 October 2015 at 10:09, Manu wrote: >> On 4 October 2015 at 02:43, Jeremy DeHaan via Digitalmars-d >> wrote: >>> On Saturday, 3 October 2015 at 08:25:25 UTC, Manu wrote:

[Issue 15148] Linker error with packages

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15148 yazan.dab...@gmail.com changed: What|Removed |Added Severity|enhancement |normal --

Re: AWS API Dlang, hmac sha256 function.

2015-10-03 Thread Rikki Cattermole via Digitalmars-d-learn
On 04/10/15 2:31 AM, holo wrote: On Saturday, 3 October 2015 at 12:50:58 UTC, Rikki Cattermole wrote: On 04/10/15 1:49 AM, holo wrote: On Saturday, 3 October 2015 at 12:22:11 UTC, Rikki Cattermole wrote: On 04/10/15 1:09 AM, holo wrote: [...] By the looks of things the problem is with

Re: std.experimental.allocator

2015-10-03 Thread Andrei Alexandrescu via Digitalmars-d
On 10/03/2015 12:31 PM, John Colvin wrote: On Friday, 2 October 2015 at 13:12:47 UTC, Andrei Alexandrescu wrote: It's been bitrotting for a while, I've rebased and it has passed tests now. Who will do the honors? https://github.com/D-Programming-Language/phobos/pull/3405 There are three pull

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Manu via Digitalmars-d
On 4 October 2015 at 10:09, Manu wrote: > On 4 October 2015 at 02:43, Jeremy DeHaan via Digitalmars-d > wrote: >> On Saturday, 3 October 2015 at 08:25:25 UTC, Manu wrote: >>> >>> On 3 October 2015 at 11:58, Jeremy DeHaan via Digitalmars-d >>>

Re: Threading Questions

2015-10-03 Thread bitwise via Digitalmars-d-learn
On Tuesday, 29 September 2015 at 19:10:58 UTC, Steven Schveighoffer wrote: An object that implements the Monitor interface may not actually be a mutex. For example, a pthread_cond_t requires a pthread_mutex_t to operate properly. Right! I feel like I should have caught the fact that

Re: Cameleon: Stricter Alternative Implementation of VariantN

2015-10-03 Thread Nordlöw via Digitalmars-d-learn
On Monday, 21 September 2015 at 13:42:14 UTC, Nordlöw wrote: The code is here: https://github.com/nordlow/justd/blob/master/cameleon.d Moved to https://github.com/nordlow/justd/blob/master/vary.d Templates are no called: - FastVariant - PackedVariant

Re: OT: interesting talk by Jane Street technical guy on why they used Ocaml

2015-10-03 Thread Laeeth Isharc via Digitalmars-d-learn
On Sunday, 4 October 2015 at 00:45:16 UTC, Mengu wrote: i watched this talk by yaron last year when i was looking at alternatives for sml. i was taking the programming languages course on coursera by dan grossman. ocaml looked like it tooked off at the beginning of 2000s but then due to many

Re: http://wiki.dlang.org/Building_DMD improvements

2015-10-03 Thread Kapps via Digitalmars-d
On Saturday, 3 October 2015 at 12:41:36 UTC, Marco Leise wrote: Am Sat, 03 Oct 2015 10:38:51 + schrieb Atila Neves : Better yet would be to have a process so simple that it doesn't require a wiki. Atila You mean Posix: make && make install ? Sure, but what

[Issue 15150] New: [REG2.068.1] Public selective import causes conflict

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15150 Issue ID: 15150 Summary: [REG2.068.1] Public selective import causes conflict Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid

[Issue 15149] [2.068.2 regression] Linker error with separate compilation

2015-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15149 --- Comment #2 from yazan.dab...@gmail.com --- It does compile with -allinst as a workaround. This is a reduction of a project with multiple dependencies built using dub. My current workaround is using `dub --combined` to disable separate

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Suliman via Digitalmars-d
On Saturday, 3 October 2015 at 01:58:01 UTC, Jeremy DeHaan wrote: I know a lot of people wish they had new bindings for Qt, so I was going to give it a go soon. Is anyone currently working on such a thing? I'd rather help someone than compete with them. I tried to use

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Jeremy DeHaan via Digitalmars-d
On Saturday, 3 October 2015 at 06:33:32 UTC, Israel wrote: On Saturday, 3 October 2015 at 01:58:01 UTC, Jeremy DeHaan wrote: I know a lot of people wish they had new bindings for Qt, so I was going to give it a go soon. Is anyone currently working on such a thing? I'd rather help someone than

Re: Go, D, and the GC

2015-10-03 Thread Iain Buclaw via Digitalmars-d
On 2 Oct 2015 1:32 pm, "Tourist via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On Friday, 2 October 2015 at 06:53:56 UTC, Iain Buclaw wrote: >> >> On 1 Oct 2015 11:35 am, "Tourist via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: >>> >>> [...] >> >> good GC. And they keep

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Manu via Digitalmars-d
On 3 October 2015 at 11:58, Jeremy DeHaan via Digitalmars-d wrote: > I know a lot of people wish they had new bindings for Qt, so I was going to > give it a go soon. Is anyone currently working on such a thing? I'd rather > help someone than compete with them.

Re: Is Anything Holding you back?

2015-10-03 Thread Manu via Digitalmars-d
On 2 October 2015 at 12:25, Yaser via Digitalmars-d wrote: > Are there any critical frameworks or libraries that are holding you back in > fully investing in D? Obviously I think D is an awesome language, but some > frameworks/libraries hold me back, wish I could do

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Manu via Digitalmars-d
On 3 October 2015 at 11:58, Jeremy DeHaan via Digitalmars-d wrote: > I know a lot of people wish they had new bindings for Qt, so I was going to> > give it a go soon. Is anyone currently working on such a thing? I'd rather > help someone than compete with them. I've

Re: Multiple alias this redux

2015-10-03 Thread deadalnix via Digitalmars-d
Anything, but please make this happen. Considering how alias this is implemented in the first place, I really doubt a simple implementation exists. Maybe a simpler one, I'm not familiar enough with the codebase to judge, but certainly not a simple one (dug into the alias this code not so long

Re: Anyone working on updated Qt bindings?

2015-10-03 Thread Israel via Digitalmars-d
On Saturday, 3 October 2015 at 01:58:01 UTC, Jeremy DeHaan wrote: I know a lot of people wish they had new bindings for Qt, so I was going to give it a go soon. Is anyone currently working on such a thing? I'd rather help someone than compete with them. btw i see youve made some changes to