Posted by pushpankar 2 days ago
Interesting reading anyway, kudos!
1. it has great performance which I wanted for a text editor.
2. if I ever needed to get to low level, it has great c ffi. I ran some benchmark and c ffi cost was among the best.
I've used a decent amount of Schemes and even contributed to some. It's kind of my understanding that this is the case for all Schemes, really. Most Schemes support multiple versions of the standards (r5rs, r6rs, r7rs) as well as their own non-standard extensions, which are essentially required to be useful.
Saying that Racket supports X language doesn't say much, being a language oriented language - any language can be included as a library. But, as you mentioned, Scheme standards are available through the Racket standard library, which is about as much Scheme as anything you would call a Scheme implementation.
Maybe it's a bit reductionist to call Racket a Scheme implementation, but in general Lisps are always much more than the standards they implement.
I'm curious what you're thinking of here. Can you expound?
Lets say you want to debug a function.
```
(define (f1 arg1 arg2)
;; body calls f2 and others
)```
Now you can capture the continuation just before the body of the f1. Then, you can use chez's eval-in-continuation to evaluate the updated body of the function. Once you are satisfied, you can continue the continuation with output. If there is problem in f2, you can update f2 and retry from f1 again. You can walk up/down the continuation stack to go back to different point and try from there.
Similarly, you can declare a function, implement its body, eval-in-continuation, update the body until you are satisfied, and then move on to next thing.
Almost all features are there. It just needs a good editor support and some ux design.
You can see a compiled list of dialects and what host/space they target here if you're interested: https://clojure.cc/dialects/