Languages for servers (Go, D, and more)

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 7 00:59:02 PDT 2014


On Saturday, 5 July 2014 at 16:28:13 UTC, Dicebot wrote:
> This is what I have been referring to in my earlier comment. 
> These utilities provide RAII experience very similar to one in 
> C++ and work pretty good if you stick to certain style of 
> programming. But they are implemented by using struct wrappers 
> and all polymorphic traits are lost.
>
> C++ does not have this strong distinction between structs and 
> classes resulting in a bit more flexible RAII application. 
> Writing applications in C++ style is certainly possible but may 
> require some rather advanced knowledge of what can and what 
> can't be done. @nogc helps here a lot.

Hmm? And what classes you can cast std::unique_ptr to?


More information about the Digitalmars-d mailing list