32-bit DMD compiled programs prints "segmentation fault"
Exil
Exil at gmall.com
Wed Nov 6 16:56:01 UTC 2019
On Wednesday, 6 November 2019 at 09:17:42 UTC, Ethan wrote:
> On Wednesday, 6 November 2019 at 08:38:12 UTC, Jonathan Marler
> wrote:
>> He said it compiles significantly faster than D?
>
> Not to me.
>
> But it's not hard to write equivalent code to his examples in D
> and get your own times to compare to his. If you compile on
> similar hardware, you'll get a good idea.
He's building a game with Jai that compile in under a second.
Small examples aren't indicative of how fast a compiler can
compile when projects start getting larger. D isn't fast even
with smaller examples if you include the wrong standard library
modules.
> I'd also expect his compile-time code execution engine to be in
> a better state that DMD's CTFE engine is currently (but Stefan
> is working on fixing that).
"New CTFE" has been a WIP for years. I did take a look at it a
while back and I'm not surprised it's taking so long to
implement. It might very well be a few more years before it gets
completed, and I can see it being really unstable when it does
eventually get to that point.
More information about the Digitalmars-d
mailing list