Re: Three Cool Things about D

2016-01-07 Thread Rory McGuire via Digitalmars-d-announce
On Mon, Dec 28, 2015 at 5:24 PM, Rory McGuire wrote: > > On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" < > digitalmars-d-announce@puremagic.com> wrote: > > > > On 12/27/15 1:27 AM, Rory McGuire via Digitalmars-d-announce wrote: > [snip] > >> Vibe.d

Re: Three Cool Things about D

2016-01-07 Thread Jack Stouffer via Digitalmars-d-announce
On Friday, 8 January 2016 at 00:32:05 UTC, Rory McGuire wrote: On Mon, Dec 28, 2015 at 5:24 PM, Rory McGuire wrote: On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On 12/27/15 1:27 AM, Rory

Re: Three Cool Things about D

2016-01-07 Thread Rory McGuire via Digitalmars-d-announce
Some of the template support code is still in the app.d file. And I mean to rename some of the functions etc. You can access all the output in current_output.txt and the template used is index.jade. github.com/rjmcguire/jaded On 08 Jan 2016 04:45, "Jack Stouffer via Digitalmars-d-announce" <

Re: Three Cool Things about D

2015-12-28 Thread Rory McGuire via Digitalmars-d-announce
On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On 12/27/15 1:27 AM, Rory McGuire via Digitalmars-d-announce wrote: [snip] >> Vibe.d had a template engine called diet which is almost like Jade. It >> is also completed so

Re: Three Cool Things about D

2015-12-28 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-12-27 17:23, Andrei Alexandrescu wrote: That looks pretty cool! -- Andrei It's based on Haml which is pretty well known as well. -- /Jacob Carlborg

Re: Three Cool Things about D

2015-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/26/15 4:17 PM, Daniel Kozak via Digitalmars-d-announce wrote: https://strongloop.com/strongblog/compare-javascript-templates-jade-mustache-dust/ Andrei Alexandrescu via Digitalmars-d-announce napsal So, pro 26, 2015 v 8∶58 : On 12/26/15 1:35 PM,

Re: Three Cool Things about D

2015-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/27/15 1:27 AM, Rory McGuire via Digitalmars-d-announce wrote: On 26 Dec 2015 22:00, "Andrei Alexandrescu via Digitalmars-d-announce" > wrote: > > On 12/26/15 1:35 PM, Rory McGuire via

Re: Three Cool Things about D

2015-12-26 Thread Rory McGuire via Digitalmars-d-announce
I have a full Jade template parser in Pegged that I just need to finish the d code gen part, could it be an interesting example? On 26 Dec 2015 20:10, "Andrei Alexandrescu via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > On 12/26/15 12:29 AM, Joakim wrote: > >> >> 1.

Re: Three Cool Things about D

2015-12-26 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/26/15 12:29 AM, Joakim wrote: 1. Saying "Anywho" to segue to a new topic seems to be a verbal tic of Andrei's now. 2. It's claimed that scoped imports sped up D compilation: has this been measured? It would help if measurements were cited, as done for compile-time regex performance at

Re: Three Cool Things about D

2015-12-26 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/26/15 1:35 PM, Rory McGuire via Digitalmars-d-announce wrote: I have a full Jade template parser in Pegged that I just need to finish the d code gen part, could it be an interesting example? Yes. How well-known is Jade? -- Andrei

Re: Three Cool Things about D

2015-12-26 Thread Daniel Kozak via Digitalmars-d-announce
https://strongloop.com/strongblog/compare-javascript-templates-jade-mustache-dust/ Andrei Alexandrescu via Digitalmars-d-announce napsal So, pro 26, 2015 v 8∶58 : On 12/26/15 1:35 PM, Rory McGuire via Digitalmars-d-announce wrote: I have a full Jade

Re: Three Cool Things about D

2015-12-26 Thread Rory McGuire via Digitalmars-d-announce
On 26 Dec 2015 22:00, "Andrei Alexandrescu via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On 12/26/15 1:35 PM, Rory McGuire via Digitalmars-d-announce wrote: >> >> I have a full Jade template parser in Pegged that I just need to finish >> the d code gen part, could

Re: Three Cool Things about D

2015-12-25 Thread Joakim via Digitalmars-d-announce
On Monday, 21 December 2015 at 17:28:51 UTC, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ https://www.facebook.com/dlang.org/posts/1192267587453587 https://twitter.com/D_Programming/status/678989872367988741

Re: Three Cool Things about D

2015-12-23 Thread deadalnix via Digitalmars-d-announce
On Wednesday, 23 December 2015 at 01:07:57 UTC, Walter Bright wrote: On 12/22/2015 10:29 AM, David Nadlinger wrote: Not sure about how it arrives at the crazily unrolled loop, but no recursion in sight anymore. It's doing tail recursion optimization, which turns the recursion into a loop.

Re: Three Cool Things about D

2015-12-23 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/23/2015 09:06 AM, Abdulhaq wrote: A clip of the comedian that Andrei refers to can be seen here: https://www.youtube.com/watch?v=uEY58fiSK8E I love that bit! -- Andrei

Re: Three Cool Things about D

2015-12-23 Thread Abdulhaq via Digitalmars-d-announce
On Monday, 21 December 2015 at 17:28:51 UTC, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ https://www.facebook.com/dlang.org/posts/1192267587453587 https://twitter.com/D_Programming/status/678989872367988741

Re: Three Cool Things about D

2015-12-23 Thread Jakob Jenkov via Digitalmars-d-announce
On Monday, 21 December 2015 at 17:28:51 UTC, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ https://www.facebook.com/dlang.org/posts/1192267587453587 https://twitter.com/D_Programming/status/678989872367988741

Re: Three Cool Things about D

2015-12-22 Thread David Nadlinger via Digitalmars-d-announce
On Tuesday, 22 December 2015 at 19:07:55 UTC, Steven Schveighoffer wrote: Am I missing some new feature here? What does the 'this' mean? I have no idea, this must have been some sort of weird copy/paste or auto-correct mistake on my side. It's supposed to be "uint", as in Andrei's talk. —

Re: Three Cool Things about D

2015-12-22 Thread Ali Çehreli via Digitalmars-d-announce
On 12/21/2015 09:28 AM, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ https://www.facebook.com/dlang.org/posts/1192267587453587 https://twitter.com/D_Programming/status/678989872367988741 Andrei Two

Re: Three Cool Things about D

2015-12-22 Thread Walter Bright via Digitalmars-d-announce
On 12/22/2015 10:29 AM, David Nadlinger wrote: Not sure about how it arrives at the crazily unrolled loop, but no recursion in sight anymore. It's doing tail recursion optimization, which turns the recursion into a loop. Then the loop is unrolled 8 times.

Re: Three Cool Things about D

2015-12-22 Thread Steven Schveighoffer via Digitalmars-d-announce
On 12/22/15 1:29 PM, David Nadlinger wrote: --- ulong factorial(this n) { return n <= 1 ? 1 : n * factorial(n - 1); } --- Am I missing some new feature here? What does the 'this' mean? -Steve

Re: Three Cool Things about D

2015-12-22 Thread David Nadlinger via Digitalmars-d-announce
On Wednesday, 23 December 2015 at 01:07:57 UTC, Walter Bright wrote: On 12/22/2015 10:29 AM, David Nadlinger wrote: Not sure about how it arrives at the crazily unrolled loop, but no recursion in sight anymore. It's doing tail recursion optimization, which turns the recursion into a loop.

Re: Three Cool Things about D

2015-12-22 Thread Nordlöw via Digitalmars-d-announce
On Monday, 21 December 2015 at 17:28:51 UTC, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ Great motivation as always! Thx!

Re: Three Cool Things about D

2015-12-22 Thread David Nadlinger via Digitalmars-d-announce
On Monday, 21 December 2015 at 17:28:51 UTC, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ By the way, even though I wholeheartedly share your sentiment regarding those "functional" examples, I found it to be an

Three Cool Things about D

2015-12-21 Thread Andrei Alexandrescu via Digitalmars-d-announce
https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ https://www.facebook.com/dlang.org/posts/1192267587453587 https://twitter.com/D_Programming/status/678989872367988741 Andrei

Re: Talk: Three cool things about D

2010-11-29 Thread Ali Çehreli
Andrei Alexandrescu wrote: On 11/29/10 6:01 PM, Ali Çehreli wrote: Here is the announcement of the talk that I just sent out: [snip] Thanks, Ali. Let's see who's coming! I am dragging some C++ (and C) people from where I work. I am looking forward to meeting other D people too. Perhaps we

Talk: Three cool things about D

2010-11-23 Thread Andrei Alexandrescu
ACCU Silicon Valley invited me to give a talk on December 8, 7:00 at Symantec in Mountain View, CA. Attendance is free and open. Hope to see some of you there! http://www.facebook.com/event.php?eid=142541435798096 Andrei