[racket-users] Re: How do I debug this performance problem?

2021-04-04 Thread Ryan Kramer
I either forgot or never learned that the profile functionality is available programmatically. And `create-sampler` can track a single thread which is exactly what I want (the UI thread). The profile results are surprising, but at least I have some ideas to try now. On Sunday, April 4, 2021 at

Re: [racket-users] Re: Executable file size and raco demod

2021-04-04 Thread Matthew Flatt
Hi Dex, Are you using a snapshot build from the Utah site --- as opposed to a snapshot for Northwestern or some other build? I see that the Utah site's compiled code is twice as big as the Northwestern site's compiled code. It looks like the build process for Racket at Utah (via Visual Studio)

[racket-users] How do I debug this performance problem?

2021-04-04 Thread Ryan Kramer
I am working on prototyping a video game. I have a function `state->pict` that takes a game state and creates a pict to be drawn on a canvas. When I `time` this function I get nice low numbers like "cpu time: 0 real time: 2 gc time: 0" The problem occurs when I am running a networked

Re: [racket-users] 8.0.0.13 on Windows

2021-04-04 Thread Matthew Flatt
Thanks for the report! This bug has been fixed for the next build. At Sun, 04 Apr 2021 13:40:45 +0200, "Bruce O'Neel" wrote: > > Hi, > > When I download the minimial tar file and then run  > > raco pkg install --deps search-auto -i main-distribution > > everything seems fine, but

[racket-users] Next Racket Meetup: Saturday, May 1st

2021-04-04 Thread Dominik Pantůček
Hello fellow Racketeers, although the meetup yesterday wasn't actually crowded, an interesting discussion about fortifying macros, lambda calculus, lazy racket, or inter-language interoperability started. We'd definitely like to see more Racketeers with interesting papers, projects or generally

[racket-users] 8.0.0.13 on Windows

2021-04-04 Thread Bruce O'Neel
Hi, When I download the minimial tar file and then run  raco pkg install --deps search-auto -i main-distribution everything seems fine, but at then end when I try to run DrRacket I get ptr-set!: cannot install value into non-atomic memory   value: #   destination: #  

[racket-users] Re: Executable file size and raco demod

2021-04-04 Thread Dexter Lagan
I updated to current again, and executable file size has nearly doubled again (120MB vs 70MB). I'd be curious to know if startup time wouldn't be affected by file IO at this point. I'm using 7.9 BC 32 bits in production atm, since it produces the smallest executables (12 MB!). Dex On