Re: Faster Command Line Tools in D

2017-08-08 Thread bachmeier via Digitalmars-d-announce
command line tools in D. He has now put the effort into crafting a blog post on the same topic, where he takes D version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit

Re: Faster Command Line Tools in D

2017-08-08 Thread Joakim via Digitalmars-d-announce
into crafting a blog post on the same topic, where he takes D version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit: https://www.reddit.com/r/programming/comments/6d25mg

Re: Faster Command Line Tools in D

2017-05-31 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/31/17 1:09 AM, Patrick Schluter wrote: In any case, you can download the dataset from [1] if you like. There are several 100 Mb big zip files containing a collection of tmx files (translation memory exchange) with European Legislation. The files contain multi-alignment texts in up to 24

Re: Faster Command Line Tools in D

2017-05-30 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/30/17 5:57 PM, Patrick Schluter wrote: On Tuesday, 30 May 2017 at 21:18:42 UTC, Steven Schveighoffer wrote: On 5/26/17 11:20 AM, John Colvin wrote: On Friday, 26 May 2017 at 14:41:39 UTC, John Colvin wrote: [...] This version also has the advantage of being (discounting any bugs in

Re: Faster Command Line Tools in D

2017-05-30 Thread Patrick Schluter via Digitalmars-d-announce
On Tuesday, 30 May 2017 at 21:18:42 UTC, Steven Schveighoffer wrote: On 5/26/17 11:20 AM, John Colvin wrote: On Friday, 26 May 2017 at 14:41:39 UTC, John Colvin wrote: [...] This version also has the advantage of being (discounting any bugs in iopipe) correct for arbitrary unicode in all

Re: Faster Command Line Tools in D

2017-05-30 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/26/17 11:20 AM, John Colvin wrote: On Friday, 26 May 2017 at 14:41:39 UTC, John Colvin wrote: I spent some time fiddling with my own manual approaches to making this as fast, wasn't satisfied and so decided to try using Steven's iopipe (https://github.com/schveiguy/iopipe) instead. Results

Re: Faster Command Line Tools in D

2017-05-30 Thread Steven Schveighoffer via Digitalmars-d-announce
in D. He has now put the effort into crafting a blog post on the same topic, where he takes D version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit: https://www.reddit.com/r

Re: Faster Command Line Tools in D

2017-05-26 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/25/2017 08:30 AM, xtreak wrote: There are repeated references over usage of D at Netflix for machine learning. It will be a very helpful boost if someone comes up with any reference or a post regarding how D is used at Netflix and addition of Netflix to

Re: Faster Command Line Tools in D

2017-05-26 Thread John Colvin via Digitalmars-d-announce
On Friday, 26 May 2017 at 14:41:39 UTC, John Colvin wrote: I spent some time fiddling with my own manual approaches to making this as fast, wasn't satisfied and so decided to try using Steven's iopipe (https://github.com/schveiguy/iopipe) instead. Results were excellent.

Re: Faster Command Line Tools in D

2017-05-26 Thread John Colvin via Digitalmars-d-announce
into crafting a blog post on the same topic, where he takes D version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit: https://www.reddit.com/r/programming/comments/6d25mg

Re: Faster Command Line Tools in D

2017-05-26 Thread bachmeier via Digitalmars-d-announce
On Friday, 26 May 2017 at 06:05:11 UTC, Basile B. wrote: On Thursday, 25 May 2017 at 22:04:36 UTC, Ali Çehreli wrote: On 05/24/2017 06:39 AM, Mike Parker wrote: Reddit: https://www.reddit.com/r/programming/comments/6d25mg/faster_command_line_tools_in_d/ Inspired Nim version, found on

Re: Faster Command Line Tools in D

2017-05-26 Thread Basile B. via Digitalmars-d-announce
On Thursday, 25 May 2017 at 22:04:36 UTC, Ali Çehreli wrote: On 05/24/2017 06:39 AM, Mike Parker wrote: Reddit: https://www.reddit.com/r/programming/comments/6d25mg/faster_command_line_tools_in_d/ Inspired Nim version, found on Reddit:

Re: Faster Command Line Tools in D

2017-05-25 Thread Ali Çehreli via Digitalmars-d-announce
On 05/24/2017 06:39 AM, Mike Parker wrote: Reddit: https://www.reddit.com/r/programming/comments/6d25mg/faster_command_line_tools_in_d/ Inspired Nim version, found on Reddit: https://www.reddit.com/r/programming/comments/6dct6e/faster_command_line_tools_in_nim/ Ali

Re: Faster Command Line Tools in D

2017-05-25 Thread Jonathan M Davis via Digitalmars-d-announce
On Thursday, May 25, 2017 14:17:27 Suliman via Digitalmars-d-announce wrote: > > std.string, std.array, and std.algorithm all have > > cross-polination when it comes to array operations. It has to > > do with the history of when the modules were introduced. > > Is there any plan to deprecate all

Re: Faster Command Line Tools in D

2017-05-25 Thread Jonathan M Davis via Digitalmars-d-announce
On Thursday, May 25, 2017 08:46:17 Steven Schveighoffer via Digitalmars-d- announce wrote: > std.string, std.array, and std.algorithm all have cross-polination when > it comes to array operations. It has to do with the history of when the > modules were introduced. Not only that, but over time,

Re: Faster Command Line Tools in D

2017-05-25 Thread Suliman via Digitalmars-d-announce
std.string, std.array, and std.algorithm all have cross-polination when it comes to array operations. It has to do with the history of when the modules were introduced. Is there any plan to deprecate all splitters and make one single. Because now as I understand we have 4 functions that make

Re: Faster Command Line Tools in D

2017-05-25 Thread xtreak via Digitalmars-d-announce
into crafting a blog post on the same topic, where he takes D version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit: https://www.reddit.com/r/programming/comments/6d25mg

Re: Faster Command Line Tools in D

2017-05-25 Thread Wulfklaue via Digitalmars-d-announce
On Thursday, 25 May 2017 at 06:22:28 UTC, Jon Degenhardt wrote: Thanks Walter, I appreciate your comments. And correct, as multiple people noted, a speed comparison with other languages not at all a goal of the article. The real intent was to tell a story of how several of D's features play

Re: Faster Command Line Tools in D

2017-05-25 Thread Jon Degenhardt via Digitalmars-d-announce
On Thursday, 25 May 2017 at 05:17:29 UTC, Walter Bright wrote: Any time one writes an article comparing speed between languages X and Y, someone gets their ox gored and will bitterly complain about how unfair the article is (though I noticed that none of the complainers wrote a faster Python

Re: Faster Command Line Tools in D

2017-05-24 Thread Jack Stouffer via Digitalmars-d-announce
On Wednesday, 24 May 2017 at 21:46:10 UTC, cym13 wrote: I am disappointed because there are so many good things to say about this, so many good questions or remarks to make when not familiar with the language, and yet all we get is "Meh, this benchmark shows nothing of D's speed against

Re: Faster Command Line Tools in D

2017-05-24 Thread Walter Bright via Digitalmars-d-announce
On 5/24/2017 3:56 PM, Jon Degenhardt wrote: Its not easy writing an article that doesn't draw some form of criticism. FWIW, the reason I gave a Python example is because it is very commonly used for this type of problem and the language is well suited to it. A second reason is that I've seen

Re: Faster Command Line Tools in D

2017-05-24 Thread Jon Degenhardt via Digitalmars-d-announce
On Wednesday, 24 May 2017 at 21:46:10 UTC, cym13 wrote: On Wednesday, 24 May 2017 at 21:34:08 UTC, Walter Bright wrote: It's now #4 on the front page of Hacker News: https://news.ycombinator.com/news The comments on HN are useless though, everybody went for the "D versus Python" thing and

Re: Faster Command Line Tools in D

2017-05-24 Thread cym13 via Digitalmars-d-announce
On Wednesday, 24 May 2017 at 21:34:08 UTC, Walter Bright wrote: It's now #4 on the front page of Hacker News: https://news.ycombinator.com/news The comments on HN are useless though, everybody went for the "D versus Python" thing and seem to complain that it's doing a D/Python benchmark

Re: Faster Command Line Tools in D

2017-05-24 Thread Walter Bright via Digitalmars-d-announce
It's now #4 on the front page of Hacker News: https://news.ycombinator.com/news

Re: Faster Command Line Tools in D

2017-05-24 Thread Jon Degenhardt via Digitalmars-d-announce
On Wednesday, 24 May 2017 at 17:36:29 UTC, cym13 wrote: On Wednesday, 24 May 2017 at 13:39:57 UTC, Mike Parker wrote: [...snip...] A bit off topic but I really like that we still get quality content such as this post on this blog. Sustained quality is hard job and I thank everyone involved

Re: Faster Command Line Tools in D

2017-05-24 Thread cym13 via Digitalmars-d-announce
into crafting a blog post on the same topic, where he takes D version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit: https://www.reddit.com/r/programming/comments/6d25mg

Faster Command Line Tools in D

2017-05-24 Thread Mike Parker via Digitalmars-d-announce
version of a command-line tool written in Python and incrementally improves its performance. The blog: https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/ Reddit: https://www.reddit.com/r/programming/comments/6d25mg/faster_command_line_tools_in_d/