Idle UI thought: compiling/running indicator?

40 views
Skip to first unread message

John Clements

unread,
May 9, 2019, 1:53:27 PM5/9/19
to Robby Findler, Racket Users
In dealing with students, it’s a constant frustration to me that students don’t realize that clicking the ‘run’ button triggers both compilation and running. Also, in my own work, I sometimes forget to compile things at the command line, and then wonder why my programs are taking forever to run.

How hard would it be to make a two-state “running” icon; one color/shape when we haven’t yet started phase 0 for the code in the buffer, and a different one afterward? Does this seem like it might be useful?

John

Robby Findler

unread,
May 20, 2019, 5:44:18 PM5/20/19
to John Clements, Racket Users
DrRacket doesn't currently know about the difference between those two
(it just evaluates the program and eval knows what it is doing, but
doesn't currently tell).

There is a related thing, tho: when debugging is turned off, if you
see a green bubble (it will have little spikeys on it), then clicking
run just starts from the compiled version that online check syntax
produced. That can speed things up a bit.

Robby
Reply all
Reply to author
Forward
0 new messages