plragde
2019-8-29 22:23:15

Edwin Brady spoke at the Scheme Workshop last week about making Chez Scheme the backend for Idris 2. But just now on Twitter he said that Racket-on-Chez outperforms Chez for this purpose and he may make it the default.


rokitna
2019-8-29 22:41:46

whoa, nifty


jaz
2019-8-29 22:44:32

That’s surprising.


jaz
2019-8-29 22:45:16

Did he know why that was?



jaz
2019-8-29 22:48:52

So the claim isn’t that the code runs faster but that it’s about the same and the infrastructure is better. Which sounds about right.


mflatt
2019-8-29 23:33:15

My first guess (expressed to Edwin at ICFP): extra inlining by schemify. My newer guess, which is probably better: Idris is compiled to a let wrapping definitions, and Racket’s semantics for internal definitions is more optimizer-friendly.


jaz
2019-8-29 23:45:09

Oh, so he does get better performance from Racket. Nice!


markus.pfeiffer
2019-8-30 05:40:24

is eagerly awaiting being able to use idris2