Hacker News new | ask | show | jobs
by math-dev 1698 days ago
I’ve heard that. How do you find racket for speed and also interactive development?

I don’t mind a bit of scheme / racket, so would be curious to jump in.

2 comments

My most recent example is a prime sieve I wrote in Racket which was at least 10% faster than the Python implementation (can’t remember the exact number right now) I modeled it after, and then another 10% faster than that when I converted it to typed-racket[1]

For interactive development it’s true Racket isn’t as heavy into top level development as other lisps, but I often run my code and then play around with modifications to it in the repo afterwards using racket-mode in Emacs.

[1] https://github.com/diego-crespo/Primes/blob/drag-race/PrimeR...