Live data from Hacker News

Racket v7.5

download.racket-lang.org

11–20 of 25 posts

Re: Racket v7.5

#12
post #7

Question : is racket still useful if you plan on building a DSL not based on lisp syntax ?

Yes. Some examples: With the default installation of Racket you get an implementation of Algol 60 https://docs.racket-lang.org/algol60/ You can download and install form the package repository the language Honu, that is a Java-like language https://docs.racket-lang.org/honu/index.html With the default installation of Racket you get Scribble, that is the language that is used to write the docs. (It's the same spirit o…

My favorite example: https://docs.racket-lang.org/2d/index.html

Re: Racket v7.5

#13
post #5

> Racket CS remains "beta" quality for the v7.5 release, but its compatibility and performance continue to improve. Does this mean Racket CS is faster than the default Racket?

sometimes yes, sometimes no. https://blog.racket-lang.org/2019/01/racket-on-chez-status.h... it seems it's a bit 50-50 in terms of performance gains, but the main gain, from what i understand, is the ability for the racket developers to code in racket and chez scheme now instead of c.

Note that this report is 9 months old. I guess there will be an new report this January. There has been a lot of small improvements.

I'm not tracking all of them, but I think that now there are less checks to ensure that the functions return don't return multiple values in the wrong moment, and there are less unnecessary continuation marks.

Re: Racket v7.5

#14
post #2

I’m going to teach Racket in my PL course next semester. I’m excited to have an excuse to use it again :)

Great! Privileged students. I wish I had learned more and especially earlier with Racket, than I did.

Having gone through the mainstream computer programming education, I can only look back with regret, at all the time I lost, because of mediocre education. How much more I could do or know today, if only I had started learning with courses and books, that actually teach core programming concepts and do not limit themselves with their choice of language.

Re: Racket v7.5

#17
post #16

> Racket CS remains "beta" quality for the v7.5 release, but its compatibility and performance continue to improve. Does this mean Racket CS is faster than the default Racket?

fwiw https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

As Racket CS slowly improves towards matching the mainline implementation, those results can give the impression that Racket CS is slow. To put things in context, look where Racket was already at in comparison to another very dynamic language, Python:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

I don't know how to directly compare Python 3 and Racket CS on that site, but comparing three ways paints Racket CS in a more favorable light. Hopefully Racket CS will close the gap with Racket, but it’s already doing pretty great relatively... unless we compare to SBCL, Rust, Haskell, etc.

Re: Racket v7.5

#18
Any news on the status of “Racket 2” planning? That announcement demotivated me to want to invest in Racket. Is racket-without-sexprs still the plan for mainline mindshare?

Re: Racket v7.5

#19
post #16

> Racket CS remains "beta" quality for the v7.5 release, but its compatibility and performance continue to improve. Does this mean Racket CS is faster than the default Racket?

fwiw https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Note that several of these benchmarks use 4 cores on Python but only one on Racket. Time to revisit the Racket programs and use places.

Look at the single core benchmarks to get a more 1-1 comparison.

Re: Racket v7.5

#20
post #16

Earlier quoted context omitted.

fwiw https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Note that several of these benchmarks use 4 cores on Python but only one on Racket. Time to revisit the Racket programs and use places. Look at the single core benchmarks to get a more 1-1 comparison.

Please note the URL I provided shows a comparison between Racket and Racket CS (not Python).
Post reply on HN