Re:Facebook is using D in production starting today
by anonymoushn on Friday October 11, 2013 @12:57PM
(#6534332)
Does idiomatic C++ do heap allocations with malloc then?
[ Parent
| on HN ]
Re:Facebook is using D in production starting today
by cldr on Friday October 11, 2013 @01:52PM
(#6534695)
Idiomatic C++ would allocate everything possible on the stack, and if that wasn't possible, use `make_shared`/`make_unique`. So maybe I will change it to say "doesn't use `new` directly".
Re:Facebook is using D in production starting today
by pkolaczk on Friday October 11, 2013 @01:39PM
(#6534607)
No. Idiomatic C++ allocates everything at compile time by means of template metaprogramming magic (just joking).
Re:Facebook is using D in production starting today
by he_the_great on Friday October 11, 2013 @07:26PM
(#6536470)
No that is D and it is with CTFE. Also joking... mostly.