On Wednesday, 21 September 2016 at 14:32:25 UTC, Stefan Koch wrote:

I just recorded a draft for a talk about templates and why they are slow.

I'd be interested in questions and improvement suggestions.

I have uploaded it here :

Interesting talk. Templates are indeed slow but the reason why I use them over CTFE functions (or why i leave out ctfe in general and just use functions) is that they don't require 20 GB of RAM for some medium-simple tasks (liked Pegged)

Templates could be made faster but I don't really like losing a feature or a possibility for it. imo D is very friendly and easy to learn for newcomers, if a feature is slowing down things a lot but making it a bit easier to learn/use, I would prefer to keep that feature.

Reply via email to