Hacker News new | ask | show | jobs
by kristianp 3008 days ago
It amazes me that different compilers can be used for dev vs release, especially Racket. That would be like using clang in development and gcc in production! I'm assuming you used the R6RS language in Racket for compatibility?
1 comments

> That would be like using clang in development and gcc in production!

... I've done that too.

It's not a blind 'compile & release', but some compilers optimise better, others are faster. Wildly differing behavior is very, very rare in my experience.

Tradeoff being you have a more limited language subset, and may need to adopt only one compiler in the future.

> I'm assuming you used the R6RS language in Racket for compatibility?

Sometimes, more often r5rs, as that's what Gambit-C aims for.