Andrei's list of barriers to D adoption

Ethan Watson via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 7 00:07:59 PDT 2016


On Tuesday, 7 June 2016 at 05:38:25 UTC, H. S. Teoh wrote:
> A Decimal type isn't hard to implement as a user-defined type. 
> I don't understand the obsession with some people that 
> something must be a built-in type to be acceptable...

As I see it, any kind of an implementation that's comparable to 
what's out there is acceptable, be it a standard libary or user 
library, as long as it's visible and people can easily find it.

For example in C++ land: 
https://software.intel.com/en-us/articles/intel-decimal-floating-point-math-library/

Which makes a point of stating it conforms to standards and is 
usable in cases where decimal is legally required.

And in C# land: 
https://msdn.microsoft.com/en-us/library/system.decimal(v=vs.110).aspx

System.Decimal and the basic decimal type being a part of the 
.NET runtime/C# language.

Both are highly visible from Google searches.


More information about the Digitalmars-d mailing list