News for hackers. Stuff that matters.
Re:Metaprogramming is less fun in D by kazinator on Friday April 21, 2017 @02:01PM (#14167755)
> I wrote my thesis in D.

Really? So like your abstract goes in the main function, or how does that work? Do you use reference types for citations or just external symbols?

Good choice of language; though, who wants a "Ph. C++" or "Ph. Rust" affixed to their name, know what I mean?

Re:Metaprogramming is less fun in D by WalterBright on Friday April 21, 2017 @02:53PM (#14168272)
> Really? So like your abstract goes in the main function, or how does that work? Do you use reference types for citations or just external symbols?

D has a documentation generator (Ddoc) as part of the language. It turned out to be useful as a standalone documentation generator. The dlang.org website is built using Ddoc, and I've even published a couple books in Ddoc. It feels a bit weird running a compiler over your marked up text, but that feeling passes after a while :-)

Re:Metaprogramming is less fun in D by systems on Friday April 21, 2017 @03:41PM (#14168746)
can D be used as drop in replacement for c++ in something like metatrader

i think, it might be worth it if you guy investigate areas like these, many trading platforms have interfaced to c/c++ if D and be added as a drop in replacement, with some more safety guarantees, you have a big niche market here that D can survive on for a long time

Re:Metaprogramming is less fun in D by petre on Saturday April 22, 2017 @03:03AM (#14171457)
D interfaces very well with C/C++ code and libraries. It was designed to do that from the begining. Some D libs are actually bindings to C/C++ libraries. You don't need to replace existing C++ code/libraries, you can just integrate them in a D project.
Re:Metaprogramming is less fun in D by shakna on Friday April 21, 2017 @02:11PM (#14167853)
You jest, but aren't as far afield as you might think.

I used a combination of Literate D [0] and pandoc to create the finished paper.

Ph. PLT still really doesn't stand out.

[0] https://github.com/zyedidia/Literate