Re: Removing RTTI from binaries

2015-01-11 Thread bearophile via D.gnu
Johannes Pfau: If you only want to disable TypeInfo for some classes that's more difficult: This seems a feature that can be useful in standard D (all compilers), with an annotation of some kind like @nortti. Bye, bearophile

Re: Removing RTTI from binaries

2015-01-11 Thread bearophile via D.gnu
Mike: I'm building some code that is heavily templated. Therefore, I have many very small classes. This is a non sequitur. Most of my code just uses classes as namespaces calling static methods and properties. Aren't structs better for that? Bye, bearophile

Re: D as first class language in the gcc milestones ?

2014-09-27 Thread bearophile via D.gnu
Ledd: My assumption is that D needs to freeze at some point . The problem we are having now is that D is too much frozen... Bye, bearophile

Re: [Bug 126] Add support for attribute to mark data as volatile.

2014-06-30 Thread bearophile via D.gnu
Iain Buclaw: http://bugzilla.gdcproject.org/show_bug.cgi?id=126 The D1 deprecation warning to replace volatile with synchronized: https://github.com/D-Programming-Language/dmd/commit/c8d580aea687f16b56ff4ce935f618b41a74c6e7 Bye, bearophile

Re: is there any way to stop GDC complain about non-utf source encoding?

2014-05-01 Thread bearophile via D.gnu
ketmar: i just want the compiler to accept non-utf one-byte strings silently when i told it to. In D there are also "Hex strings" for that purpose. Bye, bearophile