On 7/04/2015 1:02 p.m., Jens Bauer wrote:
On Tuesday, 7 April 2015 at 00:57:09 UTC, Rikki Cattermole wrote:
CTFE could have some pretty awesome applications for embedded I
suspect. After all, you can pregenerate data structures ext. For
faster execution.

Yes, they're particularly useful for embedded devices.
I've often used tables in assembly language in this regard.
-Things that seem to be impossible, because the normal approach is to
"write optimized code" suddenly becomes possible, when optimizing
(rearranging) the data to fit the hardware.

I don't think anybody has toyed with this yet.

With D, advanced table-generation will become much easier.
I bet I'm one of those people, who will have a lot of fun using this
feature. ;)

I'm watching your progress closely. I think we are ready to get D properly on micro controllers and you are really testing, exploring it even.

I would be very surprised in the next year or so, if you don't make atleast one breakthrough!

Reply via email to