Worse is better?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 14 02:46:09 PDT 2014


On Tue, 14 Oct 2014 07:25:56 +0000
via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> But maybe you don't really do low level programming then? In 
> which areas of low level programming are templates critical?
in the same areas as other things, like conditional branches, for
example.

templates is a very cool macro system, with type checks and so. i
haven't seen low-level programmers that doesn't use macros.

the only other required thing is good optimizing compiler with good
inliner, so small templates will be really inserted in-place, like C
macros.

there is also attribute inference for template functions, it's nice. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141014/88b90cf2/attachment.sig>


More information about the Digitalmars-d mailing list