Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-29 Thread Dmitry Olshansky via Digitalmars-d-announce
29-May-2014 04:58, Walter Bright пишет: On 5/28/2014 5:35 PM, Brian Rogoff wrote: Could you elaborate? Using some of the examples Brian gave, which ones do you think are are mathematically consistent/human inconsistent and which the inverse? Off the top of my head: static if (condition)

Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-29 Thread Dmitry Olshansky via Digitalmars-d-announce
29-May-2014 02:10, Jonathan M Davis via Digitalmars-d-announce пишет: On Tue, 27 May 2014 06:42:41 -1000 Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote:

Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-29 Thread Dmitry Olshansky via Digitalmars-d-announce
29-May-2014 23:06, Steven Schveighoffer пишет: On Thu, 29 May 2014 14:11:27 -0400, Dmitry Olshansky dmitry.o...@gmail.com wrote: 29-May-2014 04:58, Walter Bright пишет: On 5/28/2014 5:35 PM, Brian Rogoff wrote: Could you elaborate? Using some of the examples Brian gave, which ones do you

Re: Scott Meyers' DConf 2014 keynote The Last Thing D Needs

2014-05-29 Thread Dmitry Olshansky via Digitalmars-d-announce
29-May-2014 23:29, Walter Bright пишет: On 5/29/2014 11:11 AM, Dmitry Olshansky wrote: Static if is certainly NOT an attribute, it doesn't make any sense. Yes, it does make sense. It was not an accident that the frontend treats it as it does, the code to do it was deliberately put there.

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-12 Thread Dmitry Olshansky via Digitalmars-d-announce
11-Jun-2014 22:03, Atila Neves пишет: On Tuesday, 10 June 2014 at 19:36:57 UTC, bearophile wrote: At about 40.42 in the Thoughts on static regex there is written even compile-time printf would be awesome. There is a patch about __ctWrite in GitHug, it should be fixed and merged. Bye,

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-12 Thread Dmitry Olshansky via Digitalmars-d-announce
12-Jun-2014 03:29, Adam D. Ruppe пишет: On Wednesday, 11 June 2014 at 18:03:06 UTC, Atila Neves wrote: I wish I'd taken the mic at the end, and 2 days later Adam D. Ruppe said what I was thinking of saying: unit test and debug the CTFE function at runtime and then use it at compile-time when

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-12 Thread Dmitry Olshansky via Digitalmars-d-announce
12-Jun-2014 16:25, Dicebot пишет: On Thursday, 12 June 2014 at 09:17:45 UTC, Dmitry Olshansky wrote: This one thing I'm loosing sleep over - what precisely is so good in CTFE code generation in _practical_ context (DSL that is quite stable, not just tiny helpers)? By the end of day it's just

Re: Embarrassment of riches: another talk came online today

2014-06-12 Thread Dmitry Olshansky via Digitalmars-d-announce
10-Jun-2014 20:30, Andrei Alexandrescu пишет: Leverage - my talk at Lang.NEXT. Loved the title at first site and indeed the talk was great. It's definitely something I'd show people to get them into D, honest and intriguing. Seems ironic to say that D has no legacy baggage compared to C++

Re: dmd front end now switched to Boost license

2014-06-13 Thread Dmitry Olshansky via Digitalmars-d-announce
13-Jun-2014 04:31, Walter Bright пишет: https://github.com/D-Programming-Language/dmd/pull/3655 It's probably nice to have less restrictive license, but what we aim to achieve with that? Make commercial companies contribute to DMD more freely? There is no problem even with GPL. Let

Re: dmd front end now switched to Boost license

2014-06-14 Thread Dmitry Olshansky via Digitalmars-d-announce
14-Jun-2014 04:46, Walter Bright пишет: On 6/13/2014 4:31 AM, Dmitry Olshansky wrote: It's probably nice to have less restrictive license, but what we aim to achieve with that? I do not want to come across as rude but from pragmatic standpoint it's not interesting. I'm not opposing it

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-14 Thread Dmitry Olshansky via Digitalmars-d-announce
14-Jun-2014 19:05, Dicebot пишет: On Thursday, 12 June 2014 at 16:42:38 UTC, Dmitry Olshansky wrote: [snip] Well, I'm biased by heavy-handed ones. Say I have a (no longer) secret plan of doing a next-gen parser generator in D. Needless to say swaths of non-trivial code generation. I'm all for

Re: dmd front end now switched to Boost license

2014-06-14 Thread Dmitry Olshansky via Digitalmars-d-announce
14-Jun-2014 22:03, Nick Sabalausky пишет: On 6/14/2014 10:18 AM, Dmitry Olshansky wrote: 14-Jun-2014 04:46, Walter Bright пишет: 3. Harmonization with usage of Boost in the runtime library In other words simplify licensing, but again compiler and runtime library do not have to have anything

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-15 Thread Dmitry Olshansky via Digitalmars-d-announce
15-Jun-2014 20:21, Dicebot пишет: On Saturday, 14 June 2014 at 16:34:35 UTC, Dmitry Olshansky wrote: But let's face it - it's a one-time job to get it right in your favorite build tool. Then you have fast and cached (re)build. Comparatively costs of CTFE generation are paid in full during

Re: DConf 2014 Lightning Talks

2014-07-23 Thread Dmitry Olshansky via Digitalmars-d-announce
22-Jul-2014 03:20, Dicebot пишет: Brian WAT slides were absolutely brilliant, I have totally enjoyed watching those for the second time now :) Yes, his talk is one of my favorites. So much fun in so little time :) -- Dmitry Olshansky

Re: Fix #2529: explicit protection package #3651

2014-08-22 Thread Dmitry Olshansky via Digitalmars-d-announce
On Tuesday, 19 August 2014 at 17:08:25 UTC, Walter Bright wrote: On 8/19/2014 7:01 AM, Dicebot wrote: Walter, now that release is out can you please state your opinion about https://github.com/D-Programming-Language/dmd/pull/3651 ? It is blocking Phobos module split and decoupling. I keep

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Dmitry Olshansky via Digitalmars-d-announce
23-Aug-2014 12:57, Kagamin пишет: On Friday, 22 August 2014 at 15:06:14 UTC, Dmitry Olshansky wrote: Example structure: mod/package.d mod/internal/bar.d mod/... I actually face it in Phobos right now, my blocked pull: https://github.com/D-Programming-Language/phobos/pull/2412 I think, it

Re: Fix #2529: explicit protection package #3651

2014-08-23 Thread Dmitry Olshansky via Digitalmars-d-announce
23-Aug-2014 13:33, Kagamin пишет: On Saturday, 23 August 2014 at 09:14:13 UTC, Dmitry Olshansky wrote: Yes, that was my initial pull. The stuff inside was marked as `package`, as only package.d currently has the same public API. Then Dicebot suggested that since all modules are for the moment

Re: Multiple alias this is coming.

2014-09-19 Thread Dmitry Olshansky via Digitalmars-d-announce
19-Sep-2014 02:16, bearophile пишет: IgorStepanov: Do you ask about alias this or about it multiple usage. Multiple usage is similar to single, but multiple:) I meant the multiple usage. And none of your examples here are use cases :-( I'd like to see one use case, or more. For instance

gchunt v0.1.0 is out!

2014-11-11 Thread Dmitry Olshansky via Digitalmars-d-announce
gchunt is a tool is to help D developers identify and keep in check the usage of GC in their projects. So far it just postprocesses D compiler's -vgc output into a nice Wiki table. Results looks like this (Phobos): http://wiki.dlang.org/Stuff_in_Phobos_That_Generates_Garbage#Labeled_data

Re: gchunt v0.1.0 is out!

2014-11-12 Thread Dmitry Olshansky via Digitalmars-d-announce
12-Nov-2014 13:32, Kagamin пишет: https://github.com/D-Programming-Language/phobos/blob/271c771a57764dcc511ca12ae91d490872d9b500/std/base64.d#L1144 Probably should be an assert? I'd bet it should. Ranges typically don't `enforce`. -- Dmitry Olshansky

Re: gchunt v0.1.0 is out!

2014-11-21 Thread Dmitry Olshansky via Digitalmars-d-announce
21-Nov-2014 05:18, Piotr Szturmaj пишет: W dniu 2014-11-11 o 23:38, Dmitry Olshansky pisze: gchunt is a tool is to help D developers identify and keep in check the usage of GC in their projects. So far it just postprocesses D compiler's -vgc output into a nice Wiki table. Results looks like

Re: On the meaning of string.length

2014-11-21 Thread Dmitry Olshansky via Digitalmars-d-announce
20-Nov-2014 16:50, Adam D. Ruppe пишет: On Wednesday, 19 November 2014 at 21:00:50 UTC, Ary Borenszweig wrote: In Ruby `length` returns the number of unicode characters What is a unicode character? Even in utf-32, one printed character might be made up of two unicode code points. Or

Re: D is for Data Science

2014-11-24 Thread Dmitry Olshansky via Digitalmars-d-announce
25-Nov-2014 00:34, weaselcat пишет: On Monday, 24 November 2014 at 15:27:19 UTC, Gary Willoughby wrote: Just browsing reddit and found this article posted about D. Written by Andrew Pascoe of AdRoll. From the article: The D programming language has quickly become our language of choice on the

Re: D is for Data Science

2014-11-24 Thread Dmitry Olshansky via Digitalmars-d-announce
25-Nov-2014 01:28, bearophile пишет: Dmitry Olshansky: Why is File.byLine so slow? Seems to be mostly fixed sometime ago. Really? I am not so sure. Bye, bearophile I too has suspected it in the past and then I tested it. Now I test it again, it's always easier to check then to argue.

Re: D is for Data Science

2014-11-24 Thread Dmitry Olshansky via Digitalmars-d-announce
25-Nov-2014 02:43, bearophile пишет: Dmitry Olshansky: Which is 1:1 parity. Another myth busted? ;) dmitry@Ubu64 ~ $ time ./my2 log real0m0.065s user0m0.042s sys0m0.023s dmitry@Ubu64 ~ $ time ./my2 log real0m0.063s user0m0.040s sys0m0.023s Read the above

Re: This Week in D, issue 2

2015-01-23 Thread Dmitry Olshansky via Digitalmars-d-announce
On 19-Jan-2015 20:05, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jan-18.html http://www.reddit.com/r/programming/comments/2sy7lg/this_week_in_d_january_18_2015/ For those of you who saw the draft earlier, hit refresh to ensure you aren't seeing a cached version. RSS feed:

Re: This Week in D #23 - Interview with Dmitry Olshansky, dmd beta, std.experimental.color

2015-07-02 Thread Dmitry Olshansky via Digitalmars-d-announce
On 29-Jun-2015 06:46, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jun-28.html I should have probably said on the day one - AMA. P.S. Thanks to Joakim for editing my stream of consciousness into this tidy text ;) -- Dmitry Olshansky

Re: This Week in D #23 - Interview with Dmitry Olshansky, dmd beta, std.experimental.color

2015-07-03 Thread Dmitry Olshansky via Digitalmars-d-announce
On 03-Jul-2015 01:45, Mathias Lang via Digitalmars-d-announce wrote: Very interesting interview ! On the question about love/hate of D, there's this sentence: ' for, works with any range or something that can be sliced to get a range.'. Didn't you mean foreach ? Absolutely. Adam can we fix

Re: perpetual: new module for mapping file into memory

2015-08-18 Thread Dmitry Olshansky via Digitalmars-d-announce
On 18-Aug-2015 07:45, Rikki Cattermole wrote: What I don't like: - Does not allow for calling the constructor on the type should it have one Hm it depends - one thing is that after mmaping a file the type may already be constructed, if it wasn't then emplacement should be the right thing to

Re: perpetual: new module for mapping file into memory

2015-08-18 Thread Dmitry Olshansky via Digitalmars-d-announce
On 18-Aug-2015 17:32, Sergei Degtiarev wrote: On Tuesday, 18 August 2015 at 06:52:47 UTC, Dmitry Olshansky wrote: What I don't like is perpetual being a class - too bad as it won't honor scoping and destructor may or may not be called. Just make it a struct. Why do you think the destructor may

Re: D-Day for DMD is today!

2015-08-24 Thread Dmitry Olshansky via Digitalmars-d-announce
On 23-Aug-2015 08:17, Walter Bright wrote: https://github.com/D-Programming-Language/dmd/pull/4923 We have made the switch from C++ DMD to D DMD! Many, many thanks to Daniel Murphy for slaving away for 2.5 years to make this happen. More thanks to Martin Nowak for helping shepherd it through

Re: This Week in D - dconf videos, objc and iOS support improving, interview with Etienne Cimon

2015-07-13 Thread Dmitry Olshansky via Digitalmars-d-announce
On 13-Jul-2015 07:05, Adam D. Ruppe wrote: Another nice interview that Joakim did this week and some interesting announcements about ios related support. And a long, pointless bikeshed argument, ugh. http://arsdnet.net/this-week-in-d/jul-12.html Now that all the videos are out for dconf, in

Re: dcrypt - a cryptography library written in D

2015-07-14 Thread Dmitry Olshansky via Digitalmars-d-announce
On 14-Jul-2015 10:07, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net wrote: On Monday, 13 July 2015 at 15:49:39 UTC, puzzlehawk wrote: [snip] Also, in 2.068 there will be an optional enum `blockSize` (in bits) for the hash algorithms, for use with the newly added std.digest.hmac. Your library

Re: dcrypt - a cryptography library written in D

2015-07-13 Thread Dmitry Olshansky via Digitalmars-d-announce
On 13-Jul-2015 18:49, puzzlehawk wrote: dcrypt is a cryptography library written entirely in D and a little bit D inline assembler. The library is inspired by BouncyCastle. I sure hope it's not the API part of BC. Most important symmetric algorithms are implemented but work on asymmetric

Re: Moving forward with work on the D language and foundation

2015-08-25 Thread Dmitry Olshansky via Digitalmars-d-announce
On 24-Aug-2015 21:42, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. Facebook has impacted my

Re: Release D 2.069.0

2015-11-07 Thread Dmitry Olshansky via Digitalmars-d-announce
On 07-Nov-2015 16:25, Jonathan M Davis via Digitalmars-d-announce wrote: On Thursday, November 05, 2015 02:38:01 Sebastiaan Koppe via Digitalmars-d-announce wrote: On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote: If host machine is x64 bit windows try setting large

Re: Release D 2.069.0

2015-11-04 Thread Dmitry Olshansky via Digitalmars-d-announce
On 04-Nov-2015 18:25, Márcio Martins wrote: On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote: Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with

Re: Voting for std.experimental.allocator

2015-07-08 Thread Dmitry Olshansky via Digitalmars-d-announce
Yes -- Dmitry Olshansky

Re: This Week in D #23 - Interview with Dmitry Olshansky, dmd beta, std.experimental.color

2015-07-10 Thread Dmitry Olshansky via Digitalmars-d-announce
On 11-Jul-2015 00:26, Joakim wrote: On Friday, 10 July 2015 at 20:42:02 UTC, Dmitry Olshansky wrote: On 10-Jul-2015 23:34, Joakim wrote: On Thursday, 2 July 2015 at 10:26:36 UTC, Dmitry Olshansky wrote: On 29-Jun-2015 06:46, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jun-28.html

Re: Voting for std.experimental.allocator

2015-07-10 Thread Dmitry Olshansky via Digitalmars-d-announce
On 11-Jul-2015 01:51, Andrei Alexandrescu wrote: On 7/10/15 4:29 PM, Alex Parrill wrote: On Friday, 10 July 2015 at 18:32:04 UTC, Andrei Alexandrescu wrote: On 7/9/15 5:44 PM, Alex Parrill wrote: Yes, but the mmap allocator on Windows needs to be fixed. What is the issue with it? I recall I

Re: This Week in D #23 - Interview with Dmitry Olshansky, dmd beta, std.experimental.color

2015-07-10 Thread Dmitry Olshansky via Digitalmars-d-announce
On 10-Jul-2015 23:34, Joakim wrote: On Thursday, 2 July 2015 at 10:26:36 UTC, Dmitry Olshansky wrote: On 29-Jun-2015 06:46, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jun-28.html I should have probably said on the day one - AMA. P.S. Thanks to Joakim for editing my stream of

Re: Firs step of D/Objective-C merged

2015-07-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On 11-Jul-2015 23:25, Jacob Carlborg wrote: I just manged to get all tests passing on all platforms. Now the first step of D/Objective-C has been merged [1][2]. The only thing that's supported for now is calling Objective-C instance methods from D. I want to give special thanks to Michel Fortin

Re: associative arrays with manual memory management

2015-08-26 Thread Dmitry Olshansky via Digitalmars-d-announce
On 24-Aug-2015 15:01, Ilya Yaroshenko wrote: http://code.dlang.org/packages/aammm/~master # aammm Associative arrays with manual memory management All enries and buckets would be dealocated and disposed by internal implementation's destructor. The destructor is called by garbage collector (by

Re: Moving forward with work on the D language and foundation

2015-08-25 Thread Dmitry Olshansky via Digitalmars-d-announce
On 25-Aug-2015 23:04, bachmeier wrote: On Tuesday, 25 August 2015 at 19:29:06 UTC, Daniel Kozák wrote: I can't agree more. OK maybe I would add this https://twitter.com/kozzi11/status/636190895856091136 ;-) This is a big recent development for many: https://github.com/DlangScience I just

Re: Moving forward with work on the D language and foundation

2015-08-26 Thread Dmitry Olshansky via Digitalmars-d-announce
On 26-Aug-2015 12:20, John Colvin wrote: On Wednesday, 26 August 2015 at 05:51:06 UTC, Dmitry Olshansky wrote: On 25-Aug-2015 23:04, bachmeier wrote: On Tuesday, 25 August 2015 at 19:29:06 UTC, Daniel Kozák wrote: I can't agree more. OK maybe I would add this

Re: D-Day for DMD is today!

2015-09-02 Thread Dmitry Olshansky via Digitalmars-d-announce
On 02-Sep-2015 16:23, Rory McGuire via Digitalmars-d-announce wrote: On Wed, Sep 2, 2015 at 12:37 PM, Dmitry Olshansky via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com <mailto:digitalmars-d-announce@puremagic.com>> wrote: Because the compiler and library

Re: D-Day for DMD is today!

2015-09-02 Thread Dmitry Olshansky via Digitalmars-d-announce
On 02-Sep-2015 07:52, Iain Buclaw via Digitalmars-d-announce wrote: On 2 Sep 2015 5:31 am, "Jonathan M Davis via Digitalmars-d-announce" > wrote: > > On Tuesday, September 01, 2015 09:44:17 Steven Schveighoffer

Re: OneDrive Client written in D

2015-09-26 Thread Dmitry Olshansky via Digitalmars-d-announce
On 26-Sep-2015 11:31, Dmitry Olshansky wrote: On 25-Sep-2015 22:37, skilion wrote: On Friday, 25 September 2015 at 07:40:18 UTC, Dmitry Olshansky wrote: Removing anonymous groups and using raw-literal: regex(`^\s*(\w+)\s*=\s*"(.*)"\s*$`) Looks simpler I guess. Good advice, thanks. Though

Re: OneDrive Client written in D

2015-09-26 Thread Dmitry Olshansky via Digitalmars-d-announce
On 25-Sep-2015 22:37, skilion wrote: On Friday, 25 September 2015 at 07:40:18 UTC, Dmitry Olshansky wrote: Removing anonymous groups and using raw-literal: regex(`^\s*(\w+)\s*=\s*"(.*)"\s*$`) Looks simpler I guess. Good advice, thanks. Though if key="value" is expected I'd suggest to use

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-23 Thread Dmitry Olshansky via Digitalmars-d-announce
On 23-Sep-2015 09:30, Jacob Carlborg wrote: On 2015-09-22 22:18, Nick Sabalausky wrote: Big update to Scriptlike, v0.9.4: https://github.com/Abscissa/scriptlike Scriptlike is a library to help you write script-like programs in D. One thing that really bugs me in Phobos, Scriptlike seems to

Re: Go 1.5

2015-09-19 Thread Dmitry Olshansky via Digitalmars-d-announce
On 18-Sep-2015 23:46, Jack Stouffer wrote: On Friday, 18 September 2015 at 19:26:27 UTC, Rory wrote: [snip] The reason Go has a better GC than D is that Go users have no choice but to use the GC, while D users have a bunch more options. To put it differently - D is a big language that has

Re: OneDrive Client written in D

2015-09-25 Thread Dmitry Olshansky via Digitalmars-d-announce
On 24-Sep-2015 16:22, Suliman wrote: On Tuesday, 22 September 2015 at 20:43:32 UTC, skilion wrote: I've been waiting for a good sync client for OneDrive (15 GB for free!) on Linux, but Microsoft seems to have other plans... So I've decided to write my own, using D. Take a look:

Re: code-d 0.10.1 released (D support for vscode)

2016-03-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On 11-Mar-2016 23:03, WebFreak001 wrote: I just released a new version of code-d, it now supports projects without any dub.json file which some people probably will like. This is really useful for standalone projects with a custom build system like writing an OS/Kernel or other projects that

gchunt v0.2.0

2016-04-05 Thread Dmitry Olshansky via Digitalmars-d-announce
New release of a tool that generates nice summary reports for static analysis of GC usage. It's a simple postprocessor for the compiler's -vgc output. https://github.com/DmitryOlshansky/gchunt/releases Updated to the latest compiler/libarires and also detects dup/idup unreported by -vgc

Re: Google Summer of Code

2016-04-23 Thread Dmitry Olshansky via Digitalmars-d-announce
On 23-Apr-2016 01:43, CraigDillabaugh wrote: I am pleased to announce that the D Foundation has been awarded 4 slots for the 2016 Google Summer of Code. https://summerofcode.withgoogle.com/organizations/5078256051027968/ Congratulations to Lodovico Giaretta A replacement of std.xml for the

Re: LZ4 decompression at CTFE

2016-04-28 Thread Dmitry Olshansky via Digitalmars-d-announce
On 28-Apr-2016 21:31, deadalnix wrote: On Thursday, 28 April 2016 at 17:58:50 UTC, Stefan Koch wrote: On Thursday, 28 April 2016 at 17:29:05 UTC, Dmitry Olshansky wrote: What's the benefit? I mean after CTFE-decompression they are going to add weight to the binary as much as decompressed

Re: GSoC 2016 - Precise GC

2016-05-06 Thread Dmitry Olshansky via Digitalmars-d-announce
On 06-May-2016 05:37, Jeremy DeHaan wrote: On Wednesday, 4 May 2016 at 12:42:30 UTC, jmh530 wrote: On Wednesday, 4 May 2016 at 02:50:08 UTC, Jeremy DeHaan wrote: I'm not sure, but one would think that @safe code wouldn't need any extra information about the union. I wouldn't know how to

Re: DIP: Tail call optimization

2016-07-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On Sunday, 10 July 2016 at 05:03:46 UTC, Dietrich Daroch wrote: Hi everyone (= I've just added a new proposal to add a new attribute to ensure TCO is applied. The proposal is really simple, but I'm clueless on how to implement it and also interested on getting feedback on it. In

Re: New (page-per-artifact) standard library doc examples are now editable and runnable

2017-02-17 Thread Dmitry Olshansky via Digitalmars-d-announce
On 2/17/17 6:06 AM, Seb wrote: On Saturday, 7 January 2017 at 16:12:49 UTC, Andrei Alexandrescu wrote: Following https://github.com/dlang/dlang.org/pull/1532, the new-style docs now also allow editing and running examples. Start at http://dlang.org/library-prerelease/ and go anywhere to check

Re: Questionnaire

2017-02-10 Thread Dmitry Olshansky via Digitalmars-d-announce
On 2/8/17 7:27 PM, Ilya Yaroshenko wrote: 1. Why your company uses D? a. D is the best b. We like D c. I like D and my company allowed me to use D d. My head like D e. Because marketing reasons f. Because my company can be more efficient with D for some tasks then with any other

Re: A New Import Idiom`

2017-02-14 Thread Dmitry Olshansky via Digitalmars-d-announce
On 2/14/17 3:32 AM, Jerry wrote: Anyways yes this is kind of cool and fascinating how it works, but that aside I hope I never see this used in phobos. Does anyone else feel this way? +1 Let's not make Phobos as scary as C++ STL. --- Dmitry Olshansky

Re: Questionnaire

2017-02-11 Thread Dmitry Olshansky via Digitalmars-d-announce
On 2/11/17 5:04 AM, bachmeier wrote: On Friday, 10 February 2017 at 23:02:38 UTC, Dmitry Olshansky wrote: Go - they value simplicity and robust run-time (Go's GC breaks news with sub-milisecond pauses on large heaps). The sheer complexity of D is enough for it to be a hard sell, D's GC is coup

Re: Plugin for 1C:Enterprise in dmd

2017-01-18 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/18/17 1:00 PM, MGW wrote: I managed to create plugin for 1C:Enterprise (http://1c.ru/eng/title.htm). The major difficulty in realization C++ interfaces is successfully overcome. I need a more detailed description of compatibility of structures, classes and interfaces between C++ and D. For

Re: Pry v0.3.1 is out!

2017-01-15 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/15/17 2:26 AM, Dmitry Olshansky wrote: Pry is a new pragmatic parser combinators library. [snip] Two key areas of focus are (compared to say Pegged): - performance, on par with hand-written code or die Actually testing the latest version with LDC I found out that handwritten code is a

Re: Pry v0.3.1 is out!

2017-01-17 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/17/17 1:16 PM, Bastiaan Veelo wrote: On Monday, 16 January 2017 at 22:29:01 UTC, Dmitry Olshansky wrote: I think left-recursion is better handled at the grammar level. What I currently have is parser combinators level where adding this transformation is awkward and too much magic IMO.

Re: Pry v0.3.1 is out!

2017-01-16 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/16/17 1:29 AM, Bastiaan Veelo wrote: On Sunday, 15 January 2017 at 01:26:07 UTC, Dmitry Olshansky wrote: Pry is a new pragmatic parser combinators library. https://github.com/DmitryOlshansky/pry Interesting. How about left-recursion? (I added support for left-recursive grammars to

Re: Pry v0.3.1 is out!

2017-01-20 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/17/17 11:52 PM, Bastiaan Veelo wrote: On Sunday, 15 January 2017 at 01:26:07 UTC, Dmitry Olshansky wrote: Two key areas of focus are (compared to say Pegged): - performance, on par with hand-written code or die I didn't profile, but apart from the time-complexity that is inherent to

Re: Optimizing std.regex

2016-11-08 Thread Dmitry Olshansky via Digitalmars-d-announce
On 11/8/16 12:23 PM, Chris wrote: On Monday, 7 November 2016 at 13:13:24 UTC, Mike Parker wrote: Dmitry mentioned here in the forums not long ago that he had squeezed some big performance improvements out of std.regex. His post on the D Blog describes how he managed to do it through an

Re: Battle-plan for CTFE

2016-10-16 Thread Dmitry Olshansky via Digitalmars-d-announce
On 10/16/16 2:27 AM, Uplink_Coder wrote: On Wednesday, 5 October 2016 at 08:34:06 UTC, Rory McGuire wrote: No worries, I've been watching this space for over a decade. I really believe you are working on one of the most important parts of IT for the next decade. I am planning/making a library

Re: New team member: Lucia

2016-10-14 Thread Dmitry Olshansky via Digitalmars-d-announce
On 10/13/16 8:15 PM, Andrei Alexandrescu wrote: Hello everyone, Please join me in welcoming Lucia Lucia Cojocaru to our team. Lucia is a MSc student in computer security, having Razvan Deaconescu and Razvan Rughiniș as advisers. She just completed an internship at Bloomberg. Her BSc thesis

Re: SmartRef: The Smart Pointer In D

2017-01-14 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/14/17 3:20 AM, Swoorup Joshi wrote: On Saturday, 14 January 2017 at 02:05:11 UTC, nbro wrote: On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: I write the ref count pointer and the scoped point in D. it just Like cpp's shared_ptr , waek_ptr and unique_ptr . Now, it is Developing.

Pry v0.3.1 is out!

2017-01-14 Thread Dmitry Olshansky via Digitalmars-d-announce
Pry is a new pragmatic parser combinators library. https://github.com/DmitryOlshansky/pry (also available on Dub) It's still in the early stages but I think it might be a good time to gauge some interest. Two key areas of focus are (compared to say Pegged): - performance, on par with

Re: DConf 2017 Schedule

2017-03-15 Thread Dmitry Olshansky via Digitalmars-d-announce
On 3/15/17 11:07 PM, Bastiaan Veelo wrote: On Wednesday, 15 March 2017 at 14:06:23 UTC, Yuxuan Shui wrote: So someone already wrote a parser combinator for D? I searched code.dlang.org (1.5 years ago?), and there was none, so I wasted couple weeks writing my own So, is yours on

Re: Cap'n Proto for D v0.1.2

2017-04-18 Thread Dmitry Olshansky via Digitalmars-d-announce
On 4/18/17 9:14 PM, Swoorup Joshi wrote: On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: "Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." This is the initial

Re: Release D 2.075.0

2017-07-24 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 22 July 2017 at 21:22:00 UTC, Walter Bright wrote: On 7/22/2017 2:04 AM, Martin Nowak It'll be converted anyway. :-) Putting the entire set in D (C compiler, C++ compiler, C preprocessor, htod converter, optimizer, code generator) makes the whole thing much more tractable,

Re: DCompute OpenCL kernels now work

2017-10-08 Thread Dmitry Olshansky via Digitalmars-d-announce
On Sunday, 8 October 2017 at 04:40:35 UTC, Nicholas Wilson wrote: I am happy to announce that DCompute will soon[1] support the OpenCL 2.1 runtime. I have tested it locally and it works now :) I wasted a good deal of time wondering why it wasn't and it was a small typo in DerelictCL trying to

Re: iopipe alpha 0.0.1 version

2017-10-16 Thread Dmitry Olshansky via Digitalmars-d-announce
On Monday, 16 October 2017 at 14:45:21 UTC, Steven Schveighoffer wrote: On 10/12/17 8:41 AM, Steven Schveighoffer wrote: On 10/12/17 1:48 AM, Dmitry Olshansky wrote: On Thursday, 12 October 2017 at 04:22:01 UTC, Steven Schveighoffer wrote: [...] Might be able to help you on that using

Re: iopipe alpha 0.0.1 version

2017-10-11 Thread Dmitry Olshansky via Digitalmars-d-announce
On Thursday, 12 October 2017 at 04:22:01 UTC, Steven Schveighoffer wrote: I added a tag for iopipe and added it to the dub registry so people can try it out. I didn't want to add it until I had fully documented and unittested it. http://code.dlang.org/packages/iopipe

Re: Intellij D Language v1.15.2

2017-11-23 Thread Dmitry Olshansky via Digitalmars-d-announce
On Thursday, 23 November 2017 at 20:11:01 UTC, singingbush wrote: Hi all. A new release intellij-dlanguage plugin has been made available for download from the Jetbrains repository this week. The speed at which features and bug fixes are being done has picked up recently. We've had 4 releases

Re: Caching D compiler - preview version

2017-11-03 Thread Dmitry Olshansky via Digitalmars-d-announce
On Wednesday, 1 November 2017 at 19:33:15 UTC, Walter Bright wrote: On 10/29/2017 9:25 AM, Dmitry Olshansky wrote: On Saturday, 28 October 2017 at 23:18:05 UTC, Martin Nowak wrote: On 10/24/2017 05:02 PM, Dmitry Olshansky wrote: Experimental std.regex.v2 is sadly broken by a recent change to

Re: Reorganization and list of D libraries (300+)

2017-11-06 Thread Dmitry Olshansky via Digitalmars-d-announce
On Monday, 6 November 2017 at 16:59:52 UTC, jmh530 wrote: On Monday, 6 November 2017 at 16:12:14 UTC, Martin Tschierschke wrote: Even being the wrong Martin :-) I think the DUB registry really needs more and better filters, so that the gems inside can be found easily. (like: Number of Github

Re: Release D 2.077.0

2017-11-03 Thread Dmitry Olshansky via Digitalmars-d-announce
On Friday, 3 November 2017 at 19:46:58 UTC, Walter Bright wrote: On 11/3/2017 3:02 AM, Mike Parker wrote: For clarity, where the changeling says that GDC & LDC use auto-vectorization, that's actually happening with the array operations and core.simd is not required, correct? I think that GDC

Re: Release D 2.077.0

2017-11-04 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 4 November 2017 at 08:19:17 UTC, Walter Bright wrote: On 11/3/2017 1:20 PM, Dmitry Olshansky wrote: Sadly array ops would be insufficient for said problem. It wasn’t a direct element wise expression. That sounds like that might be why it failed vectorization :-) As I recall it

Re: GSoC 2018 - Your project ideas

2017-12-07 Thread Dmitry Olshansky via Digitalmars-d-announce
On Thursday, 7 December 2017 at 22:26:08 UTC, Bastiaan Veelo wrote: On Tuesday, 5 December 2017 at 18:20:40 UTC, Seb wrote: I am looking forward to hearing (1) what you think can be done in three months by a student and (2) will have a huge impact on the D ecosystem. [2]

Caching D compiler - preview version

2017-10-24 Thread Dmitry Olshansky via Digitalmars-d-announce
What is dcache? It's a patch for dmd that enables a *persistent* shared-memory hash-map, protected by a spin-lock from races. Dmd processes with -cache flag would detect the following pattern: enum/static variable = func(args..); And if mangle of func indicates it is from std.* we use a

Re: Caching D compiler - preview version

2017-10-24 Thread Dmitry Olshansky via Digitalmars-d-announce
On Tuesday, 24 October 2017 at 14:17:32 UTC, Dmitry Olshansky wrote: On Tuesday, 24 October 2017 at 13:29:12 UTC, Mike Parker wrote: On Tuesday, 24 October 2017 at 13:19:15 UTC, Dmitry Olshansky wrote: What is dcache? It's a patch for dmd that enables a *persistent* shared-memory hash-map,

Re: Caching D compiler - preview version

2017-10-24 Thread Dmitry Olshansky via Digitalmars-d-announce
On Tuesday, 24 October 2017 at 13:29:12 UTC, Mike Parker wrote: On Tuesday, 24 October 2017 at 13:19:15 UTC, Dmitry Olshansky wrote: What is dcache? It's a patch for dmd that enables a *persistent* shared-memory hash-map, protected by a spin-lock from races. Dmd processes with -cache flag

Re: iopipe alpha 0.0.1 version

2017-10-24 Thread Dmitry Olshansky via Digitalmars-d-announce
On Tuesday, 24 October 2017 at 19:05:02 UTC, Martin Nowak wrote: On Tuesday, 24 October 2017 at 14:47:02 UTC, Steven Schveighoffer wrote: iopipe provides "infinite" lookahead, which is central to its purpose. The trouble with bolting that on top of ranges, as you said, is that we have to copy

Re: Caching D compiler - preview version

2017-10-29 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 28 October 2017 at 23:18:05 UTC, Martin Nowak wrote: On 10/24/2017 05:02 PM, Dmitry Olshansky wrote: Experimental std.regex.v2 is sadly broken by a recent change to array ops. It would be very interesting to check as it eats up to 17Gb of RAM. What got broken there? New array

Re: LDC 1.10.0 beta

2018-05-14 Thread Dmitry Olshansky via Digitalmars-d-announce
On Sunday, 13 May 2018 at 18:12:51 UTC, kinke wrote: Hi everyone, on behalf of the LDC team, I'm glad to announce the first beta for LDC 1.10. The highlights of this version in a nutshell: * Based on D 2.080.0. * Supports DragonFly BSD. * Some fixes, most notably wrt. exception stack traces

Re: serialport v1.0.0

2018-05-07 Thread Dmitry Olshansky via Digitalmars-d-announce
On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote: Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d These 3 versions of the same API is precisely the reason for me

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 12 May 2018 at 12:14:28 UTC, Steven Schveighoffer wrote: On 5/11/18 5:42 PM, Joakim wrote: On Friday, 11 May 2018 at 16:07:26 UTC, Steven Schveighoffer wrote: [...] What stops you from downloading a linux release from here? https://github.com/ldc-developers/ldc/releases So I

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 12 May 2018 at 14:48:58 UTC, Joakim wrote: On Saturday, 12 May 2018 at 12:45:16 UTC, Dmitry Olshansky wrote: On Saturday, 12 May 2018 at 12:14:28 UTC, Steven Schveighoffer wrote: [...] I could offer a few tricks to fix that w/o getting too dirty. GNU grep is fast, but std.regex

Re: iopipe v0.0.4 - RingBuffers!

2018-05-11 Thread Dmitry Olshansky via Digitalmars-d-announce
On Friday, 11 May 2018 at 13:28:58 UTC, Steven Schveighoffer wrote: On 5/11/18 1:30 AM, Dmitry Olshansky wrote: On Thursday, 10 May 2018 at 23:22:02 UTC, Steven Schveighoffer wrote: OK, so at dconf I spoke with a few very smart guys about how I can use mmap to make a zero-copy buffer. And I

Re: iopipe v0.0.4 - RingBuffers!

2018-05-10 Thread Dmitry Olshansky via Digitalmars-d-announce
On Thursday, 10 May 2018 at 23:22:02 UTC, Steven Schveighoffer wrote: OK, so at dconf I spoke with a few very smart guys about how I can use mmap to make a zero-copy buffer. And I implemented this on the plane ride home. However, I am struggling to find a use case for this that showcases why

Re: iopipe v0.0.4 - RingBuffers!

2018-05-11 Thread Dmitry Olshansky via Digitalmars-d-announce
On Friday, 11 May 2018 at 09:55:10 UTC, Kagamin wrote: On Thursday, 10 May 2018 at 23:22:02 UTC, Steven Schveighoffer wrote: However, I am struggling to find a use case for this that showcases why you would want to use it. While it does work, and works beautifully, it doesn't show any

Re: Looks like Digital Mars C++ is on the front page of HN at the moment!

2018-05-22 Thread Dmitry Olshansky via Digitalmars-d-announce
On Wednesday, 23 May 2018 at 01:18:43 UTC, Walter Bright wrote: DigitalMars C/C++ Compiler (github.com) 56 points by tomcam 3 hours ago | unvote | flag | hide | 10 comments Yay! Any thoughts about opening runtime library? https://news.ycombinator.com/news And it’s beyond 100+ now. Also

Re: iopipe v0.1.0 - now with Windows support!

2018-06-18 Thread Dmitry Olshansky via Digitalmars-d-announce
On Sunday, 17 June 2018 at 04:52:07 UTC, Martin Nowak wrote: On 06/10/2018 10:10 PM, Steven Schveighoffer wrote: Note that the new io library also supports sockets, which IODev did not have support for, AND has a pluggable driver system, so you could potentially use fiber-based async io

Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Dmitry Olshansky via Digitalmars-d-announce
On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote: This is still just a rumour, we'll know the truth on Monday (which is today). Some articles about the topic: https://fossbytes.com/microsoft-github-aquisition-report/

Re: Another take on decimal data types

2018-01-11 Thread Dmitry Olshansky via Digitalmars-d-announce
On Thursday, 11 January 2018 at 21:12:59 UTC, kdevel wrote: On Thursday, 11 January 2018 at 20:40:01 UTC, Dmitry Olshansky wrote: printf ("%.2f\n", d); C’s printf by definition can’t be customized. Sure. “”” GNU C Library lets you define “”” Here is your compatibility story. What

  1   2   >