News for hackers. Stuff that matters.
Re:Racket v7.5 by xrayspec on Wednesday November 20, 2019 @11:31AM (#21585335)
IMO the big news in this release is the relicensing from LGPL to dual Apache / MIT.

https://blog.racket-lang.org/2019/11/completing-racket-s-rel...

Re:Racket v7.5 by azhenley on Wednesday November 20, 2019 @10:12AM (#21584556)
I’m going to teach Racket in my PL course next semester. I’m excited to have an excuse to use it again :)
Re:Racket v7.5 by zelphirkalt on Wednesday November 20, 2019 @04:22PM (#21588658)
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 by peatmoss on Thursday November 21, 2019 @10:15AM (#21594855)
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 by hinkelman on Friday November 22, 2019 @11:49PM (#21612540)
The project is now called Rhombus, not Racket2. A project plan was posted on the Racket mailing list about 6 weeks ago: https://groups.google.com/forum/#!searchin/racket-users/rhom...
Re:Racket v7.5 by Buttons840 on Wednesday November 20, 2019 @11:46AM (#21585517)
> 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?

Re:Racket v7.5 by nikofeyn on Wednesday November 20, 2019 @12:16PM (#21585894)
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.

Re:Racket v7.5 by gus_massa on Wednesday November 20, 2019 @02:24PM (#21587451)
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 by velcrovan on Wednesday November 20, 2019 @12:19PM (#21585946)
It does not mean that. It just means Racket CS is faster in 7.5 than it was in 7.4.
Re:Racket v7.5 by igouy on Wednesday November 20, 2019 @10:56PM (#21591310)
Re:Racket v7.5 by peatmoss on Thursday November 21, 2019 @10:13AM (#21594824)
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 by soegaard on Friday November 22, 2019 @05:33AM (#21604426)
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 by igouy on Friday November 22, 2019 @01:34PM (#21608474)
> Time to revisit the Racket programs and use places.

Please contribute improved programs:

https://salsa.debian.org/benchmarksgame-team/benchmarksgame/...

Re:Racket v7.5 by igouy on Friday November 22, 2019 @10:02AM (#21606127)
Please note the URL I provided shows a comparison between Racket and Racket CS (not Python).
Re:Racket v7.5 by xvilka on Wednesday November 20, 2019 @10:01PM (#21591068)
Is it used anywhere outside of education?
Re:Racket v7.5 by zabzonk on Wednesday November 20, 2019 @12:56PM (#21586417)
Seems to be a lot faster to start up, particularly loading all the extensions, which will increase the chances of me using it more.
Re:Racket v7.5 by mrobot on Friday November 22, 2019 @06:08PM (#21611084)
I like DrRacket's debugger but i can only run it once on a large program! Even if i increase the memory i can only run it once. The second run results in strange behavior. Does anyone else have problems with DrRacket?
Re:Racket v7.5 by bsaul on Wednesday November 20, 2019 @12:37PM (#21586190)
Question : is racket still useful if you plan on building a DSL not based on lisp syntax ?
Re:Racket v7.5 by gus_massa on Wednesday November 20, 2019 @01:27PM (#21586790)
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 of LaTeX where everything is a string unless you use a magical character, but the magical character and the details are very different.) https://docs.racket-lang.org/scribble/

Re:Racket v7.5 by catalogia on Wednesday November 20, 2019 @02:11PM (#21587321)
Re:Racket v7.5 by soegaard on Wednesday November 20, 2019 @12:48PM (#21586308)
Yes. There are general parser libraries available you can use to parse what-ever you like.

Use the `parser` library if you want a yacc/bison style parser.

Use `parsack` if you like parser combinators.

Use `ragg` or `bragg` if you like an "automatic parser from grammar".

Re:Racket v7.5 by seisvelas on Saturday November 30, 2019 @01:48AM (#21668915)
I'm currently creating a SQL dialect with Racket. It's great!
Re:Racket v7.5 by velcrovan on Friday November 22, 2019 @11:00AM (#21606745)
Here's an example of building a BASIC interpreter in Racket: https://beautifulracket.com/basic/intro.html