2 ms·
Yes that's an obvious problem, but manageable I suppose by installing a toolchain or insisting on one when you install. The post I was replying to was about sc
by ska 3y ago
Yes that's an obvious problem, but manageable I suppose by installing a toolchain or insisting on one when you install.
The post I was replying to was about scheme's in general though, not scheme->c implementations, right? Anything with an intermediate language or machine language output avoids this problem...
At any rate, the CL's I've used most have native compilers. I think GCL is CL via c, but can't remember the details of its implementation. In any case 'eval and 'compile are not equivalent, and the system may change whether or not 'eval compiles first or just interprets, depending on settings.
- soegaard 3y agoAs you point out, it's quite common for Common Lisp compilers to produce machine code directly. In the Scheme world that's more rare and made Chez Scheme stand out. I think, that's what LAC-Tech hinted at - but I am not sure.
- LAC-Tech 3y agoExactly what I was hinting at (Well i was trying to say it outright but obviously not using the right words!)
- ska 3y agoI've guess I've used MIT and Chez which were native, and chicken and bigloo which are (from memory) going via c. So maybe biased my feeling that native wasn't that unusual. But yes, imprecision in the original may have caused confusion. [update] I was curious, so had a look at https://get.scheme.org/ https://get.scheme.org/ Not sure how complete that list is, but that has 4 native compilers and 3 scheme-to-c, which I guess leaves the other dozen or so interpreted, but that gets muddied with intermediate languages and retargetable (e.g. gambit).
- soegaard 3y agoGreat to hear, that it's not rare any longer.