Re: The Case Against Autodecode

2016-05-15 Thread Jon D via Digitalmars-d
On Thursday, 12 May 2016 at 20:15:45 UTC, Walter Bright wrote: On 5/12/2016 9:29 AM, Andrei Alexandrescu wrote: > I am as unclear about the problems of autodecoding as I am about the necessity > to remove curl. Whenever I ask I hear some arguments that work well emotionally > but are scant on rea

Re: Command line parsing

2016-05-14 Thread Jon D via Digitalmars-d
On Saturday, 14 May 2016 at 13:17:05 UTC, Andrei Alexandrescu wrote: I showed a fellow programmer std.getopt. We were both on laptops. He wanted to show me how good Python's argparse is and how D should copy it. By the end of the chat it was obvious argparse was much more verbose and less ple

Re: Compiler benchmarks for an alternative to std.uni.asLowerCase.

2016-05-08 Thread Jon D via Digitalmars-d
On Monday, 9 May 2016 at 00:15:03 UTC, Peter Häggman wrote: On Sunday, 8 May 2016 at 23:38:31 UTC, Jon D wrote: I did a performance study on speeding up case conversion in std.uni.asLowerCase. Specifics for asLowerCase have been added to issue https://issues.dlang.org/show_bug.cgi?id=11229. Pu

Compiler benchmarks for an alternative to std.uni.asLowerCase.

2016-05-08 Thread Jon D via Digitalmars-d
I did a performance study on speeding up case conversion in std.uni.asLowerCase. Specifics for asLowerCase have been added to issue https://issues.dlang.org/show_bug.cgi?id=11229. Publishing here as some of the more general observations may be of wider interest. Background - Case conversion c

Re: So, to print or not to print?

2016-04-26 Thread Jon D via Digitalmars-d
On Tuesday, 26 April 2016 at 16:30:22 UTC, Jonathan M Davis wrote: On Tuesday, April 26, 2016 12:18:11 cym13 via Digitalmars-d wrote: Finally it doesn't bring much. One learns writeln, laments a bit that it doesn't put spaces itself then just accepts it. I confess that I was very surprised to

Re: Pitching D to a gang of Gophers

2016-03-12 Thread Jon D via Digitalmars-d
On Saturday, 12 March 2016 at 08:09:41 UTC, Dmitry Olshansky wrote: On 05-Mar-2016 14:05, Dmitry Olshansky wrote: Obligatory slides: http://slides.com/dmitryolshansky/deck/fullscreen/ Very nice slide deck. Thanks for publishing. --Jon

Re: Speed kills

2016-03-09 Thread Jon D via Digitalmars-d
On Wednesday, 9 March 2016 at 20:30:10 UTC, Jon D wrote: I seen a few cases while exploring D. Turns out there are issues filed for each of the performance issues I mentioned: * Lower casing strings: https://issues.dlang.org/show_bug.cgi?id=11229 * Large associative arrays: https://issue

Re: Speed kills

2016-03-09 Thread Jon D via Digitalmars-d
On Tuesday, 8 March 2016 at 14:14:25 UTC, ixid wrote: Since I posted this thread I've learned std.algorithm.sum is 4 times slower than a naive loop sum. Even if this is for reasons of accuracy this is exactly what I am talking about- this is a hidden iceberg of terrible performance that will re

Re: We need better documentation for functions with ranges and templates

2015-12-16 Thread Jon D via Digitalmars-d
On Monday, 14 December 2015 at 19:04:46 UTC, bachmeier wrote: Something has to be done with the documentation for Phobos functions that involve ranges and templates. Many useful ideas in this thread. One I don't recall seeing - a standard way to denote whether a routine is lazy or eager. I'm

Re: Wiki article: Starting as a Contributor

2015-12-03 Thread Jon D via Digitalmars-d
On Tuesday, 1 December 2015 at 18:58:37 UTC, Jack Stouffer wrote: On Monday, 3 August 2015 at 21:25:35 UTC, Andrei Alexandrescu wrote: I had to set up dmd and friends on a fresh Ubuntu box, so I thought I'd document the step-by-step process: http://wiki.dlang.org/Starting_as_a_Contributor Du