Re: [racket-users] Re: The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread 'Paulo Matos' via Racket Users
For those interested, I have prepared a benchmark using the benchmark lib. Kudos to Josh and Vincent for it. I use it _all_ the time and have a dozen or so benchmark files to track some racket operations as racket evolves - so I know how it will affect my software. If you don't care about code

[racket-users] Re: Racket-on-Chez snapshot builds

2018-12-06 Thread Alex Harsanyi
I have updated the Travis build file for my application to use Racket-on-Chez as one of the build configurations and, while the code builds and automated tests pass, the performance is very poor. I know that measuring times of Travis builds is not exactly scientific, however, I have run these

Re: [racket-users] Re: Racket-on-Chez snapshot builds

2018-12-06 Thread Matthew Flatt
At Thu, 6 Dec 2018 17:27:31 -0800 (PST), Alex Harsanyi wrote: > * Racket CS runs out of memory when assembling a distribution (a "raco dist" > command) -- my current build script runs the equivalent of "raco make", > "raco exe" and "raco dist" from the same racket process, perhaps memory is >

Re: [racket-users] Microworlds

2018-12-06 Thread Matthias Felleisen
> On Dec 6, 2018, at 8:16 AM, Matt Jadud wrote: > > Hi all, > > The context for my recent messages to the list is that I'm thinking about > courses for next year, and I'm thinking about the intersections of data > analysis/visualization, modeling, and HtDP-ish introductions to programming. >

[racket-users] Microworlds

2018-12-06 Thread Matt Jadud
Hi all, The context for my recent messages to the list is that I'm thinking about courses for next year, and I'm thinking about the intersections of data analysis/visualization, modeling, and HtDP-ish introductions to programming. I like NetLogo (https://ccl.northwestern.edu/netlogo/). I don't

Re: [racket-users] Re: The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread 'Paulo Matos' via Racket Users
On 05/12/2018 11:55, Tony Garnock-Jones wrote: > I suspect it will be slow because sets are generics, and generics are > slow. I am curious now. How slow? Why? Do you have any data backing this up? Generics are very useful, I would be very disappointed if they are indeed very slow. > For my

[racket-users] racketfest 2019: berlin

2018-12-06 Thread jesse
I'm happy to announce Racketfest, a conference dedicated to Racket, to be held on Saturday, March 23, 2019, in Berlin, Germany. Racketfest is a chance to spend a day nerding out about Racket and to learn more about it. We've got a great lineup of talks: * Shriram Krishnamurthi (opening

[racket-users] racket meetup: january 15, 2019 in mainz, germany

2018-12-06 Thread jesse
The next episode of After Work Racket, a wandering Racket meetup I organize, will take place on Tuesday, January 15, 2019, in Mainz, Germany. If you'll be in the area, consider popping by. RSVP here: https://afterworkracket.com/2 Jörgen Brandt will tell us about how he used Redex to model

Re: [racket-users] Re: The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread 'Paulo Matos' via Racket Users
On 06/12/2018 16:39, Vincent St-Amour wrote: > On Thu, 06 Dec 2018 07:05:03 -0600, > 'Paulo Matos' via Racket Users wrote: >> >> >> >> On 05/12/2018 11:55, Tony Garnock-Jones wrote: >>> I suspect it will be slow because sets are generics, and generics are >>> slow. >> >> I am curious now. How

Re: [racket-users] Re: The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread Vincent St-Amour
On Thu, 06 Dec 2018 07:05:03 -0600, 'Paulo Matos' via Racket Users wrote: > > > > On 05/12/2018 11:55, Tony Garnock-Jones wrote: > > I suspect it will be slow because sets are generics, and generics are > > slow. > > I am curious now. How slow? Why? Do you have any data backing this up? >

[racket-users] Need Help with "Poisonous Chipmunks"

2018-12-06 Thread Stephen Foster
Dear Racket community, I need your help. Once upon a time, I was looking for a Racket physics engine. I looked around and found a few different bindings from Racket to the Chipmunk physics engine. However, none of these repositories appeared to be maintained. None of them used the latest

Re: [racket-users] Microworlds

2018-12-06 Thread 'John Clements' via Racket Users
Sounds fascinating. As an instructor for first-quarter CS+X, I’ve been looking at alternatives to sound as a setting. I’m interested in the Fisler/Krishnamurthi/Politz/Lerner Big Data curriculum, but yours also sounds good! John > On Dec 6, 2018, at 5:16 AM, Matt Jadud wrote: > > Hi all, >

Re: [racket-users] Re: The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread Sam Tobin-Hochstadt
On Thu, Dec 6, 2018 at 8:05 AM 'Paulo Matos' via Racket Users wrote: > > > > On 05/12/2018 11:55, Tony Garnock-Jones wrote: > > I suspect it will be slow because sets are generics, and generics are > > slow. > > I am curious now. How slow? Why? Do you have any data backing this up? > Generics are

Re: [racket-users] The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread 'Leandro Facchinetti' via Racket Users
In my program, hashes are only 20% faster than sets containing approximately 20 elements that are S-expressions. I solved the mystery of why switching to lists with unique elements made things faster and in some cases even changed the meaning of the program. I always thought that my program