Re: floating point conversion

2014-06-01 Thread Qox via Digitalmars-d-learn
So it's just a coincidence, that GDC, LDC x86 and also DMD x86_64 doesn't fail ? (Equality) Compareision of float/float or float/double are machine dependent (depends even on x86 on the generated code (SSE/SSE2/AVX/AVX2), rounding settings, maybe event the cpu vendor etc.). On other

Re: Kernel in D

2014-05-31 Thread Qox via Digitalmars-d-learn
You should definitly use templating and CTFE for your advantage. For example you could use the (compile time) component based design to design (heap) allocators after a at cmpile time known configuration. The possibilities of templating and compile time code gen are enormous. Instead of

Re: Kernel in D

2014-05-31 Thread Qox via Digitalmars-d-learn
On Saturday, 31 May 2014 at 07:57:18 UTC, Kagamin wrote: http://www.xomb.org/ ? seems to be outdated, but its another OS written in D.