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
Andr
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!
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
i
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
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.
—
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 unnecessary
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.
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.
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
Andr
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.
T
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
Andr
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
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
Andr
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 th
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. Sa
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
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 template parser in Pegged that I just need
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 i
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"
mailto: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 tem
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, Rory McGuire via Digitalmars-d-announce wr
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
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 yo
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 had a template engine
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 McGuire via Digitalmars
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" <
digi
25 matches
Mail list logo