Re: final switch and straight integers

2016-04-21 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Wednesday, 20 April 2016 at 17:42:03 UTC, Basile Burg wrote: On Wednesday, 20 April 2016 at 10:19:17 UTC, Dominikus Dittes Scherkl wrote: Anyway, something need to be changed. a) allow Range Cases (nice for ints but bad idea for enums) b) require also non-enum types to explicitly state all

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Johan Engelen via Digitalmars-d
On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: The question here is also, which compiler should be the default (which IMHO would be the most complete, most bug-free actively maintained one ^^). Is performance of the outputted code a criterium? Or the number of supported

Re: Shallow copy object when type is know

2016-04-21 Thread Marc Schütz via Digitalmars-d-learn
On Wednesday, 20 April 2016 at 19:58:15 UTC, Tofu Ninja wrote: How does D not have shallow copy? Seems like a very basic functionality... You could implement a `dup()` method. `dup` is already used for shallow copying of arrays, why not reuse it for classes (as a convention)?

Re: Shallow copy object when type is know

2016-04-21 Thread Rene Zwanenburg via Digitalmars-d-learn
On Wednesday, 20 April 2016 at 19:58:15 UTC, Tofu Ninja wrote: To implement a copy/paste/duplicate functionality in a game editor. I have an entity-component system, to duplicate an entity, all it's components need to be duplicated. I have many many components, I don't want to rely on manually

Re: Distributor's whishlist and questions for D

2016-04-21 Thread John Colvin via Digitalmars-d
On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: ## How complete are the free compilers? ## Why is every D compiler shipping an own version of Phobos? These two can be answered at once. LDC and GDC share the same frontend code as DMD, but not the glue layer and backend

Re: Blog post: PGO: Optimizing D's virtual calls

2016-04-21 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 20 April 2016 at 22:10:53 UTC, Marco Leise wrote: 7% is quite a bit more than any other option like -cpu=native could achieve. If feasible I'd enjoy if ldc2 shipped with a pgo configuration option. If you use the compiler in a lot of edit/compile cycles it will pay off. This

Re: Gnome Builder IDE

2016-04-21 Thread Russel Winder via Digitalmars-d
On Wed, 2016-04-20 at 17:21 +, Karabuta via Digitalmars-d wrote: > […] > > Works well for Fedora 23 in software centre. I will recommended  > Fedora 24 for 3.20 I have submitted a bug report for the failure on Fedora Rawhide. -- Russel.

[Issue 15943] New: wrong code for extern(C++) thread local variables

2016-04-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15943 Issue ID: 15943 Summary: wrong code for extern(C++) thread local variables Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Keywords: wrong-code

Re: DConf Lightning talk submissions

2016-04-21 Thread Walter Bright via Digitalmars-d
On 4/20/2016 5:08 AM, Atila Neves wrote: I have an idea already, are they being accepted or only in Berlin? Since we may get to 150 people attending, we have to be a little more organized about this than usual :-) An awful lot of the attendees have names I don't recognize, so they may not

<    1   2