[Issue 5995] string append negative integer causes segfault

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 erict...@gmail.com changed: What|Removed |Added CC||erict...@gmail.com --- Comment #13 from

[Issue 14425] New: Indirect template instantiation within is expression causes missing linker symbols

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14425 Issue ID: 14425 Summary: Indirect template instantiation within is expression causes missing linker symbols Product: D Version: D2 Hardware: All OS: All

[Issue 14426] New: Segfault for missing extern variable

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14426 Issue ID: 14426 Summary: Segfault for missing extern variable Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: blocker

[Issue 10492] Illegal Instruction for mixin template with scope declarations

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10492 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ee243b618c48d3e99dc6af861cbc89c5c5f1b461 fix Issue 10492 - Illegal

[Issue 14249] Loose error check for incorrect template mixin

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

[Issue 14243] mixin template scope inconsistency?

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14243 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f54862eb0e4a9af4265042f35972bf6e91d1eaf1 fix Issue 14243 - mixin

[Issue 14401] typeid(shared X).init is empty for class types

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14401 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/94f725f3f56df4257647e348184586a1661f60cf fix root/rmem.d to follow

[Issue 14428] New: Link all book formats available from dlang.org

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14428 Issue ID: 14428 Summary: Link all book formats available from dlang.org Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement

[Issue 14425] Indirect template instantiation within is expression causes missing linker symbols

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14425 Sönke Ludwig slud...@outerproduct.org changed: What|Removed |Added Hardware|All |x86_64

[Issue 14243] mixin template scope inconsistency?

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

[Issue 14249] Loose error check for incorrect template mixin

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14249 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdc92c7c244398a361261369c3f59daccaa62664 fix Issue 14249 - Loose

[Issue 14427] New: Regression: navigation for phobos documentation has disappeared

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14427 Issue ID: 14427 Summary: Regression: navigation for phobos documentation has disappeared Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 14427] Regression: navigation for phobos documentation has disappeared

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14427 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added CC||and...@erdani.com

[Issue 12971] Missing REX prefix for 8 bit register access

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

[Issue 12971] Missing REX prefix for 8 bit register access

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12971 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c056b9dd2dfb6f03e0a3cb0c98c0c85b64dfe5d8 Fix issue 12971 - Missing

Implementing Iterator to support foreach

2015-04-08 Thread tcak via Digitalmars-d-learn
I am planning to implement Iterator class. But looking at foreach statement, it takes a range only. So is there any way other than returning an array from a function that is to be passed foreach statement? So I could write like that: Iterator iter = new MyList(); foreach(item; iter){ }

Re: DMD AST Docs/Reference or Dumper?

2015-04-08 Thread Kai Nacke via Digitalmars-d
On Tuesday, 7 April 2015 at 15:58:49 UTC, bitwise wrote: I'm trying to add some compile-time function generation to dmd, but wasn't sure exactly how to click all the little legos together. Is there any documentation or reference for the DMD AST? Or maybe some examples somewhere of what an

Re: Implementing Iterator to support foreach

2015-04-08 Thread Ali Çehreli via Digitalmars-d-learn
On 04/07/2015 10:59 PM, tcak wrote: I am planning to implement Iterator class. But looking at foreach statement, it takes a range only. The other option is to overload opApply(): http://ddili.org/ders/d.en/foreach_opapply.html#ix_foreach_opapply.opApply Ali

DDMD is now in the master branch

2015-04-08 Thread Daniel Murphy via Digitalmars-d
Several hours ago, Walter merged my DDMD branch into master. This means that an additional 'ddmd' target is available in the makefiles, and the autotester will check that it builds. The make target converts the C++ frontend source to D, and then compiles with the host dmd. The converter is

Re: D Code list should be tag/hierarchical based

2015-04-08 Thread extrawurst via Digitalmars-d
On Wednesday, 8 April 2015 at 00:21:08 UTC, Jeff Jones wrote: http://code.dlang.org/ Who wants to scroll 3 500 packages? What i like about the current layout is the possibility to rapidly try different keyword searches using the browser find-functionality.

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 8 April 2015 at 09:58:31 UTC, Sönke Ludwig wrote: That's what we have the review thread for. The library is now in a state that everyone can easily try out. If it were a Phobos PR, that would be much more difficult (or I'd have to maintain two versions in parallel). from

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Sönke Ludwig via Digitalmars-d
Am 08.04.2015 um 09:14 schrieb Iain Buclaw via Digitalmars-d: On 8 Apr 2015 00:05, tcha via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote: Out of curiosity I tried to use this lib in lately discussed benchmark [1] Original values on my machine (dmd

Re: Future of contract-based programming in D

2015-04-08 Thread Pierre Krafft via Digitalmars-d
On Wednesday, 8 April 2015 at 11:26:38 UTC, Kagamin wrote: BTW, what do you think about this problem: http://forum.dlang.org/post/cokicokwqnscaktxi...@forum.dlang.org ? That's a great feature! Don't inherit if it's not the right tool, and it almost never is. We have interfaces and alias this

Re: Future of contract-based programming in D

2015-04-08 Thread Kagamin via Digitalmars-d
On Wednesday, 8 April 2015 at 12:07:18 UTC, Pierre Krafft wrote: Except for the syntax I can't come up with a problem that would be better solved using inheritance than using composition. How would you interate a collection of widgets without polymorphism, i.e. any generic handling?

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 12:00:35 UTC, Kagamin wrote: http://stackoverflow.com/research/developer-survey-2015#tech-tabsspaces heh Yeah :) huh must be younger devs?

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 10:34:19 UTC, Jens Bauer wrote: On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: From StackOverflow's 2015 Developer Survey [1]: Mac appears to have overtaken the Linuxes among active Stack Overflow devs.

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot your favorite $editor. http://goo.gl/forms/MmsuInzDL0 thanks : ) voted for VisualD

Re: DDMD is now in the master branch

2015-04-08 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-08 08:26, Daniel Murphy wrote: Several hours ago, Walter merged my DDMD branch into master. This means that an additional 'ddmd' target is available in the makefiles, and the autotester will check that it builds. The make target converts the C++ frontend source to D, and then

Re: Why I'm Excited about D

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Tuesday, 7 April 2015 at 22:22:35 UTC, Andrei Alexandrescu wrote: On 4/7/15 11:42 AM, Martin Nowak wrote: What's still missing is a faster AST interpreter for CTFE though. A JIT would be nice. -- Andrei Maxine understood the point, see http://dconf.org/2013/talks/chevalier_boisvert.pdf

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Wednesday, 8 April 2015 at 07:14:32 UTC, Iain Buclaw wrote: With this lib it gets to [2]: D - 7.48s, 1794.0Mb Gdc and Ldc cannot build it with release (debug works) [3] and [4] Have you tried to use the pull/stream parser?

Re: Fun project - faster associative array algorithm

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Tuesday, 7 April 2015 at 23:38:21 UTC, Andrei Alexandrescu wrote: Ah, I thought the array embeds KeyValue directly. Thx! -- Andrei It should if they are relatively small compared to the pointer, or at least store the key inline. As we recently discussed about the freeing bug in the AA, it

Re: Why I'm Excited about D

2015-04-08 Thread Idan Arye via Digitalmars-d
On Wednesday, 8 April 2015 at 08:35:52 UTC, ixid wrote: On Tuesday, 7 April 2015 at 19:46:07 UTC, Ary Borenszweig wrote: On 4/7/15 3:34 PM, deadalnix wrote: On Tuesday, 7 April 2015 at 18:01:53 UTC, Ary Borenszweig wrote: On 4/7/15 2:16 PM, deadalnix wrote: On Tuesday, 7 April 2015 at

Re: Which D IDE do you use?(survey)

2015-04-08 Thread wobbles via Digitalmars-d
On Wednesday, 8 April 2015 at 00:14:54 UTC, weaselcat wrote: On Wednesday, 8 April 2015 at 00:10:57 UTC, Dicebot wrote: On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Wednesday, 8 April 2015 at 09:58:31 UTC, Sönke Ludwig wrote: Initial numbers that I just collected have not been as good as expected. I'll have to take a closer look at the compiler output. I made a note, will see if I time to help with that. Algebraic might be a problem as it's based on

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Jens Bauer via Digitalmars-d
On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: From StackOverflow's 2015 Developer Survey [1]: Mac appears to have overtaken the Linuxes among active Stack Overflow devs. [1]http://stackoverflow.com/research/developer-survey-2015 If they wanted to have some more reliable

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread via Digitalmars-d
On Tuesday, 7 April 2015 at 16:37:15 UTC, Sönke Ludwig wrote: Anyone up to this? The issues of the previous discussion [1] have all been addressed now more or less, so the package is ready for a more thorough review. Code: https://github.com/s-ludwig/std_data_json Docs:

Re: Which D IDE do you use?(survey)

2015-04-08 Thread JN via Digitalmars-d
Eclipse DDT and Code::Blocks for me.

Re: Generating all combinations of length X in an array

2015-04-08 Thread bearophile via Digitalmars-d-learn
wobbles: While trying to generate all combinations of length X in an array, I came across the question on stackoverflow. [1] Theres a couple good answers there, but one that caught my eye shows a C# code snippet that is quite nice and short: Often short code is not the best code. Take a

Re: Creating a microcontroller startup file

2015-04-08 Thread Mike via Digitalmars-d-learn
On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote: Question number 2: Is it possible to change the VectorFunc to be a real function pointer, rather than a void* ? I did something along these lines (modified to match your example) and it worked fine for me: alias VectorFunc =

Re: Generating all combinations of length X in an array

2015-04-08 Thread wobbles via Digitalmars-d-learn
On Wednesday, 8 April 2015 at 11:08:00 UTC, wobbles wrote: On Wednesday, 8 April 2015 at 10:54:45 UTC, bearophile wrote: wobbles: While trying to generate all combinations of length X in an array, I came across the question on stackoverflow. [1] Theres a couple good answers there, but one

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Kagamin via Digitalmars-d
http://stackoverflow.com/research/developer-survey-2015#tech-tabsspaces heh

function shadowed

2015-04-08 Thread ddos via Digitalmars-d-learn
i got two modules opengvg.d and vg.d vg.d contains calls to external c functions openvg.d should wrap and simplify some of those calls in openvg.d i make public import of submodule vg.d such that if openvg.d is imported the functions in vg.d can be called, this works as intended. but as soon

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Sönke Ludwig via Digitalmars-d
Am 08.04.2015 um 11:05 schrieb Robert burner Schadek: IMO this should be a PR for phobos so all comments to the code can be collected in one location. Where is the benchmark against std.json and rapidjson? That's what we have the review thread for. The library is now in a state that

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Jens Bauer via Digitalmars-d
I voted for nano+uCode (my own IDE, which is still pre-alpha). uCode is designed for microcontroller and SPLD/CPLD use. nano, because it's the only editor on a Mac, I can be sure of handling Unicode well. (TextEdit messes up unicode files, Xcode 2.5 seems to work with Unicode, but Xcode 3.x

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: http://goo.gl/forms/MmsuInzDL0 Emacs

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread tcha via Digitalmars-d
On Wednesday, 8 April 2015 at 07:14:32 UTC, Iain Buclaw wrote: I assume you cleared your dub cache and didn't try linking a dmd built library to a gdc/ldc application. :) Iain. I tried it with dub clean, dub --force, even removed std_data_json package to clone it again, but no success.

Re: Future of contract-based programming in D

2015-04-08 Thread Kagamin via Digitalmars-d
On Tuesday, 7 April 2015 at 12:51:45 UTC, Delirius wrote: I read a thread here where he wrote you should get rid of those in/out contracts and replace them with assert()s in the function body. That was only because contracts with Allman style increase line count. BTW, what do you think

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Pierre Krafft via Digitalmars-d
Any editor using DCD will be great, and I think most D editors are. I use Sublime exclusively since it's easy to setup and effective for me to use.

Re: DDMD is now in the master branch

2015-04-08 Thread Walter Bright via Digitalmars-d
On 4/8/2015 2:45 AM, Daniel Murphy wrote: The backend is still in C++ and the license is unchanged. And most likely will never change. Also, translating code to another language creates a derived work and does not obviate the copyright or license.

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Sönke Ludwig via Digitalmars-d
Am 08.04.2015 um 10:24 schrieb Andrea Fontana: Any plan to support functions like these? http://forum.dlang.org/thread/lrknjl$co7$1...@digitalmars.com?page=4#post-bcszdbasnjzmbwzdgeqy:40forum.dlang.org There is opt() [1], which takes a path and returns a `Nullable!JSONValue`. get is

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Jens Bauer via Digitalmars-d
On Wednesday, 8 April 2015 at 10:43:43 UTC, Dmitri Makarov wrote: On Wednesday, 8 April 2015 at 10:29:44 UTC, Jens Bauer wrote: nano, because it's the only editor on a Mac, I can be sure of handling Unicode well. Emacs provides complete Unicode support. True - and I do like Emacs, but I

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread thedeemon via Digitalmars-d
On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: From StackOverflow's 2015 Developer Survey [1]: Interestingly, from the Text editor question we learn that most used ones are NotePad++ and Sublime Text (and not Visual Studio) which I know are favs among webdevelopers that

Re: Which D IDE do you use?(survey)

2015-04-08 Thread John Colvin via Digitalmars-d
On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot your favorite $editor. http://goo.gl/forms/MmsuInzDL0 thanks : ) Vim. I would happily use a full IDE, but only if

Generating all combinations of length X in an array

2015-04-08 Thread wobbles via Digitalmars-d-learn
Hi folks, While trying to generate all combinations of length X in an array, I came across the question on stackoverflow. [1] Theres a couple good answers there, but one that caught my eye shows a C# code snippet that is quite nice and short: public static IEnumerableIEnumerableT

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Dmitri Makarov via Digitalmars-d
On Wednesday, 8 April 2015 at 10:29:44 UTC, Jens Bauer wrote: nano, because it's the only editor on a Mac, I can be sure of handling Unicode well. Emacs provides complete Unicode support.

Re: Generating all combinations of length X in an array

2015-04-08 Thread wobbles via Digitalmars-d-learn
On Wednesday, 8 April 2015 at 10:54:45 UTC, bearophile wrote: wobbles: While trying to generate all combinations of length X in an array, I came across the question on stackoverflow. [1] Theres a couple good answers there, but one that caught my eye shows a C# code snippet that is quite

Re: Why I'm Excited about D

2015-04-08 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-07 19:53, deadalnix wrote: https://www.destroyallsoftware.com/talks/wat That is mostly for JavaScript. -- /Jacob Carlborg

Re: Creating a microcontroller startup file

2015-04-08 Thread Johannes Pfau via Digitalmars-d-learn
Am Tue, 07 Apr 2015 20:38:52 + schrieb Jens Bauer doc...@who.no: On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote: Question number 1: How can a C subroutine be made optional, so it's called only if it linked ? Question 1 might be answered by the following thread:

Re: Why I'm Excited about D

2015-04-08 Thread deadalnix via Digitalmars-d
On Wednesday, 8 April 2015 at 05:03:03 UTC, Andrei Alexandrescu wrote: On 4/7/15 7:33 PM, deadalnix wrote: On Wednesday, 8 April 2015 at 01:30:02 UTC, Andrei Alexandrescu wrote: Not really when you think about it. CPU instruction is a bytecode like another, with provided hardware interpreter

Re: DDMD is now in the master branch

2015-04-08 Thread Daniel Murphy via Digitalmars-d
Martin Nowak wrote in message news:ucmrojmbjdaubdzqj...@forum.dlang.org... That would be great, though being able to compile ddmd with ldc and/or gdc is necessary IMO to make it releasable. What's missing to make that work? Not sure, but they will most likely need to be updated to 2.067.

Re: Why I'm Excited about D

2015-04-08 Thread ixid via Digitalmars-d
On Tuesday, 7 April 2015 at 19:46:07 UTC, Ary Borenszweig wrote: On 4/7/15 3:34 PM, deadalnix wrote: On Tuesday, 7 April 2015 at 18:01:53 UTC, Ary Borenszweig wrote: On 4/7/15 2:16 PM, deadalnix wrote: On Tuesday, 7 April 2015 at 08:58:57 UTC, ixid wrote: Or to be more consistent with UFCS:

[Issue 14424] dmd crashes with __traits(getUnitTests)

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14424 Jacob Carlborg d...@me.com changed: What|Removed |Added CC||d...@me.com --- Comment #1 from

Re: Implementing Iterator to support foreach

2015-04-08 Thread bearophile via Digitalmars-d-learn
tcak: I am planning to implement Iterator class. But looking at foreach statement, it takes a range only. Unless you are just experimenting, it's better to not go against a language and its std lib. Bye, bearophile

Re: Why I'm Excited about D

2015-04-08 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-07 19:46, Ary Borenszweig wrote: It's true that Ruby is slow, but only because their priority is correctness. I don't think it's so much about the correctness, it's rather the complicated features it supports, like metaprogramming. eval and bindings are causing problems, also

Re: Creating a microcontroller startup file

2015-04-08 Thread Jens Bauer via Digitalmars-d-learn
On Wednesday, 8 April 2015 at 08:02:35 UTC, Johannes Pfau wrote: I actually saw these errors when I first tested your examples, but I thought that was a mistake in the example code. I didn't even know that extern weak symbols get default values in C ;-) Don't feel bad about that. I think I

Re: DDMD is now in the master branch

2015-04-08 Thread Daniel Murphy via Digitalmars-d
bioinfornatics wrote in message news:guokkisbhbhgbvohj...@forum.dlang.org... little question as ddmd generate a code does this means that ddmd backend and frontend is full open source under boost license? The backend is still in C++ and the license is unchanged. And most likely will never

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Andrea Fontana via Digitalmars-d
Any plan to support functions like these? http://forum.dlang.org/thread/lrknjl$co7$1...@digitalmars.com?page=4#post-bcszdbasnjzmbwzdgeqy:40forum.dlang.org On Tuesday, 7 April 2015 at 16:37:15 UTC, Sönke Ludwig wrote: Anyone up to this? The issues of the previous discussion [1] have all been

[OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
From StackOverflow's 2015 Developer Survey [1]: For the third year in a row, we asked respondents which operating system they use the most. Windows maintains the lion's share of the developer operating system market, while Mac appears to have overtaken the Linuxes among active Stack Overflow

Re: Fun project - faster associative array algorithm

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Wednesday, 8 April 2015 at 09:12:00 UTC, Martin Nowak wrote: The biggest problems in writing an AA library implementation sorted by difficulty are: There is a clear acceptance list for a good AA here. https://github.com/D-Programming-Language/druntime/pull/934#issuecomment-65916801

Re: DDMD is now in the master branch

2015-04-08 Thread John Colvin via Digitalmars-d
On Wednesday, 8 April 2015 at 08:20:49 UTC, bioinfornatics wrote: Good news, little question as ddmd generate a code does this means that ddmd backend and frontend is full open source under boost license? regards IIRC ddmd is only the frontend.

Re: Fun project - faster associative array algorithm

2015-04-08 Thread thedeemon via Digitalmars-d
On Tuesday, 7 April 2015 at 19:09:21 UTC, deadalnix wrote: Food for thought : http://codecapsule.com/2013/11/11/robin-hood-hashing/ http://people.csail.mit.edu/shanir/publications/disc2008_submission_98.pdf Also it is probably worthwhile to adopt various strategy depending on element types

Re: Why I'm Excited about D

2015-04-08 Thread ixid via Digitalmars-d
On Tuesday, 7 April 2015 at 18:34:01 UTC, deadalnix wrote: On Tuesday, 7 April 2015 at 18:01:53 UTC, Ary Borenszweig wrote: On 4/7/15 2:16 PM, deadalnix wrote: On Tuesday, 7 April 2015 at 08:58:57 UTC, ixid wrote: Or to be more consistent with UFCS: foreach (name; names.parallel) {

Re: DDMD is now in the master branch

2015-04-08 Thread Robert burner Schadek via Digitalmars-d
Congratulations

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Robert burner Schadek via Digitalmars-d
IMO this should be a PR for phobos so all comments to the code can be collected in one location. Where is the benchmark against std.json and rapidjson?

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-08 00:58, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot your favorite $editor. http://goo.gl/forms/MmsuInzDL0 TextMate 2. -- /Jacob Carlborg

Re: D Code list should be tag/hierarchical based

2015-04-08 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-08 08:51, extrawurst wrote: What i like about the current layout is the possibility to rapidly try different keyword searches using the browser find-functionality. I like that too, but it only works when there are quire few packages. -- /Jacob Carlborg

Re: Fun project - faster associative array algorithm

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Tuesday, 7 April 2015 at 19:07:01 UTC, w0rp wrote: On Tuesday, 7 April 2015 at 18:35:27 UTC, Martin Nowak wrote: One thing I was wondering about, which you might know more about, is that I had to set my load factor to be half the size of the array, as quadratic probing seems to fail when

Re: Wanted: Review manager for std.data.json

2015-04-08 Thread Iain Buclaw via Digitalmars-d
On 8 Apr 2015 00:05, tcha via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tuesday, 7 April 2015 at 16:37:15 UTC, Sönke Ludwig wrote: Anyone up to this? The issues of the previous discussion [1] have all been addressed now more or less, so the package is ready for a more thorough

Re: DDMD is now in the master branch

2015-04-08 Thread bioinfornatics via Digitalmars-d
Good news, little question as ddmd generate a code does this means that ddmd backend and frontend is full open source under boost license? regards

Re: DDMD is now in the master branch

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Wednesday, 8 April 2015 at 06:26:04 UTC, Daniel Murphy wrote: If we're lucky this will happen before the 2.068 release. That would be great, though being able to compile ddmd with ldc and/or gdc is necessary IMO to make it releasable. What's missing to make that work?

Re: Fun project - faster associative array algorithm

2015-04-08 Thread Martin Nowak via Digitalmars-d
On Tuesday, 7 April 2015 at 22:33:52 UTC, Steven Schveighoffer wrote: Until that point, all these discussions on AA updates are useless. I really don't that all or nothing attitude, it condemns an important step, just because something better might be possible. It's also very comfortable,

Re: DUB 0.9.23 released

2015-04-08 Thread Marco Leise via Digitalmars-d-announce
Am Mon, 06 Apr 2015 10:21:45 +0200 schrieb Sönke Ludwig slud...@rejectedsoftware.com: The new version contains some important bug fixes for sub modules and overridden string imports, as well as some other major fixes. Apart from that, the major additions are: - copyFiles now get hard

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Dicebot via Digitalmars-d
On Wednesday, 8 April 2015 at 15:41:42 UTC, bachmeier wrote: On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: To sum up: Please give more attention to Windows developers like myself ;) We could turn that around: Windows developers, please step up to contribute to the

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread weaselcat via Digitalmars-d
On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: From StackOverflow's 2015 Developer Survey [1]: For the third year in a row, we asked respondents which operating system they use the most. Windows maintains the lion's share of the developer operating system market, while Mac

Re: Creating a microcontroller startup file

2015-04-08 Thread Jens Bauer via Digitalmars-d-learn
Something tells me that now is when I have to start doing some hard work. ;) -Sorry, I need to split this up into short replies/questions. On Wednesday, 8 April 2015 at 11:17:12 UTC, Mike wrote: On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote: Question number 2: Is it possible to

Re: Berlin D Meetup April 2015

2015-04-08 Thread Dicebot via Digitalmars-d-announce
This will be an early preview of some stuff prepared for my DConf talk. See you in Berlin! Also slides from previous talk by Martin Nowak are public now : https://code.dawg.eu/talks/2015-03-20-garbage_collection_dmeetup/#1

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Dicebot via Digitalmars-d
On Wednesday, 8 April 2015 at 16:03:12 UTC, Charles wrote: On Wednesday, 8 April 2015 at 15:41:42 UTC, bachmeier wrote: On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: To sum up: Please give more attention to Windows developers like myself ;) We could turn that around:

Re: Why I'm Excited about D

2015-04-08 Thread via Digitalmars-d
On Wednesday, 8 April 2015 at 13:52:22 UTC, bearophile wrote: I think foo.writeln; is acceptable. You just need to get a bit used to it. The whole dot-notation for pipelining is semantically flawed en relies on knowing what names stand for rather than more universal symbols with known

Re: Which D IDE do you use?(survey)

2015-04-08 Thread André
On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot your favorite $editor. http://goo.gl/forms/MmsuInzDL0 thanks : ) As I already use Qt Creator for C++ development I

Is it any faster to read array slices than just elements of an array?

2015-04-08 Thread ZILtoid1991 via Digitalmars-d-learn
While I technically finished the 0.2 version of my graphics engine which has a reasonable speed at low internal resolutions and with only a couple of sprites, but it still gets bottlenecked a lot. First I'll throw out the top-down determination algorhythm as it requires constant memory paging

Re: Why I'm Excited about D

2015-04-08 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 8 April 2015 at 16:59:27 UTC, Dicebot wrote: Just to be clear - I wouldn't allow range.copy(stdout) in my projects either, requiring any consumer to be written as dedicated expression. Worth noting that std.range.put's documentation also says use the freestanding syntax. (This

Re: Why I'm Excited about D

2015-04-08 Thread Dicebot via Digitalmars-d
On Wednesday, 8 April 2015 at 16:56:12 UTC, Andrei Alexandrescu wrote: Considering I am far from the only person having problems with it in our team and such style is extremely common because of being easy - this can easily be one of most damaging language features in D in terms of wasted

Re: Why I'm Excited about D

2015-04-08 Thread Walter Bright via Digitalmars-d
On 4/8/2015 9:58 AM, Adam D. Ruppe wrote: On Wednesday, 8 April 2015 at 16:51:53 UTC, Andrei Alexandrescu wrote: File defines it. Last time this came up on reddit, I explained that *this* was exactly why I think string.writeln is mistaken. writeln does NOT operate on its string, it doesn't

Re: Fun project - faster associative array algorithm

2015-04-08 Thread Marco Leise via Digitalmars-d
Am Tue, 07 Apr 2015 19:09:15 + schrieb Jens Bauer doc...@who.no: On Tuesday, 7 April 2015 at 17:25:00 UTC, Walter Bright wrote: The current D associative array algorithm I did a quick-scan of the source and didn't see any Bloom filter there. I wonder if it would be best to have the

Re: Why I'm Excited about D

2015-04-08 Thread Dicebot via Digitalmars-d
On Wednesday, 8 April 2015 at 17:17:21 UTC, Walter Bright wrote: On 4/8/2015 9:58 AM, Adam D. Ruppe wrote: On Wednesday, 8 April 2015 at 16:51:53 UTC, Andrei Alexandrescu wrote: File defines it. Last time this came up on reddit, I explained that *this* was exactly why I think string.writeln

Re: Why I'm Excited about D

2015-04-08 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 8 April 2015 at 17:17:21 UTC, Walter Bright wrote: writeln is an OutputRange. No, it isn't. It isn't even remotely close to one - an OutputRange is a type, writeln is a function. isOutputRange doesn't even return false for it, it outright fails to compile! File isn't an

Re: Vibe.Dav

2015-04-08 Thread Sönke Ludwig via Digitalmars-d-announce
Am 07.04.2015 um 22:46 schrieb Bogdan: Hi, Here is a library that adds web dav support to vibe.d: https://github.com/gedaiu/vibe.dav Right now it has good file dav support and some basic support for cal dav Any help, improvements ideas or constructive criticism is welcome. Thanks, Bogdan

Re: Creating a microcontroller startup file

2015-04-08 Thread Mike via Digitalmars-d-learn
On Wednesday, 8 April 2015 at 11:17:12 UTC, Mike wrote: On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote: Question number 2: Is it possible to change the VectorFunc to be a real function pointer, rather than a void* ? I did something along these lines (modified to match your

Re: Future of contract-based programming in D

2015-04-08 Thread UselessManagerine via Digitalmars-d
On Tuesday, 7 April 2015 at 12:51:45 UTC, Delirius wrote: The D features which interest me the most are those supporting contract-based programming. I want to experiment with that and I know no other production ready language which has this level of support, except the original gangsta Eiffel

An input range iteration question

2015-04-08 Thread ref2401 via Digitalmars-d-learn
If Iterator is a struct then Iterator.input won't be adjusted properly when the foreach loop ends. Iterator.input still holds abcde value. If i mark Iterator as class then Iterator.input will be an empty string after the foreach loop. Could anyone explain me the difference please? Thank you.

  1   2   3   >