Remix.run Logo
vdupras a day ago

By design, it's not a fully compliant ANSI C compiler, so it's never going to be complete, but it's complete enough to, for example, successfully compile Plan 9's driver for the Raspberry Pi USB controller with a minimal porting effort.

So, Dusk's compiler is not apple-to-apple comparable to the other, but comparable enough to give a ballpark idea that its code density compares very, very favorably.

kragen a day ago | parent [-]

It can be hard to tell how much extra complexity would be introduced by unimplemented features.

vdupras a day ago | parent [-]

Indeed, and it might be why the author didn't try, but I still find it odd to not at least mention how small this C compiler is, even if it is to say that it's not apples-to-apples comparable. I mean, 8x smaller than the smallest C compiler listed is still something notable...

kragen a day ago | parent [-]

It certainly sounds like a perfectly usable C dialect.