tonyg changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://gather.town/app/wH1EDG3McffLjrs0/racket-users -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with (Dr)Racket. Remember to wait around for an answer!
jao has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
ttree has joined #racket
badkins has quit [Ping timeout: 248 seconds]
monkey_ has quit [Remote host closed the connection]
jao has quit [Ping timeout: 246 seconds]
monkey_ has joined #racket
irc_user has joined #racket
<irc_user> If I use `raco exe hello-world.rkt`, the resulting executable takes a full second to run. Is there a way to optimize further?
monkey_ has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 268 seconds]
mon_aaraj has joined #racket
notzmv has quit [Ping timeout: 248 seconds]
irc_user has quit [Quit: Connection closed for inactivity]
Avichi has joined #racket
<casaca> with racket/base i get: 0.08s user 0.03s system 99% cpu 0.110 total
<casaca> without it: 0.24s user 0.05s system 99% cpu 0.293 total
<casaca> `#lang racket/base
<casaca> (displayln 'hello) in a file and raco exe file.rkt
<casaca> ignore the backtick, sorry
notzmv has joined #racket
<casaca> also very cool: the racket/base file is 1.9MB. and the full racket onet 12MB
kengruven has quit [Quit: Leaving.]
Avichi has quit [Quit: Client closed]
aidalgol has quit [Ping timeout: 256 seconds]
aidalgol has joined #racket
Avichi has joined #racket
Avichi has quit [Quit: Client closed]
mon_aaraj has quit [Ping timeout: 246 seconds]
mon_aaraj has joined #racket
ttree has quit [Ping timeout: 255 seconds]
<bremner> hmm. a second sounds like a pretty slow machine. Or maybe a pretty slow disk. I also get < 0.3s for #lang racket, on this not-super-fast machine (but with ssd)
mon_aaraj has quit [Ping timeout: 255 seconds]
mon_aaraj has joined #racket
badkins has joined #racket
mon_aaraj has quit [Ping timeout: 268 seconds]
mon_aaraj has joined #racket
badkins has quit [Remote host closed the connection]
pono has quit [Ping timeout: 248 seconds]
pono has joined #racket
mon_aaraj has quit [Ping timeout: 246 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
jao has joined #racket
rekahsoft has joined #racket
rekahsoft has quit [Remote host closed the connection]
rekahsoft has joined #racket
mon_aaraj has joined #racket
rekahsoft has quit [Ping timeout: 255 seconds]
rekahsoft has joined #racket
badkins has joined #racket
irc_user has joined #racket
xgqt has quit [Ping timeout: 255 seconds]
xgqt has joined #racket
runrin has quit [Ping timeout: 272 seconds]
kengruven has joined #racket
livoreno has joined #racket
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
hhhapz has joined #racket
badkins_ has joined #racket
badkins_ has quit [Remote host closed the connection]
monkey_ has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
badkins has joined #racket
monkey_ has joined #racket
<kengruven> when i define a struct, can i also define a default way for it to be printed?
badkins has quit [Ping timeout: 256 seconds]
runrin has joined #racket
monkey_ has quit [Ping timeout: 256 seconds]
<hhhapz> kengruven, I believe this is possible using gen:custom-write https://docs.racket-lang.org/reference/Printer_Extension.html
badkins has joined #racket
irc_user has quit [Quit: Connection closed for inactivity]
badkins has quit [Ping timeout: 248 seconds]
lewisje has joined #racket
lewisje has quit [Remote host closed the connection]
lewisje has joined #racket
badkins has joined #racket
<kengruven> hhhapz: thanks, but i should have specified typed/racket. t/r doesn't seem to support #:methods, unfortunately.
badkins has quit [Ping timeout: 244 seconds]
notzmv has quit [Ping timeout: 272 seconds]
rudybot has quit [Remote host closed the connection]
rudybot has joined #racket
rudybot has quit [Remote host closed the connection]
rudybot has joined #racket
ttree has joined #racket
monkey_ has joined #racket
monkey_ has quit [Remote host closed the connection]
hhhapz has quit [Ping timeout: 248 seconds]
monkey_ has joined #racket
mason is now known as ChibaPet
ChibaPet is now known as mason
hhhapz has joined #racket
notzmv has joined #racket
<casaca> my <0.3 runs where on a corei5 6440HQ.
<casaca> #lang racket (displayln 'hello) on openbsd arm64 >2secs. so ~1sec for linux seems
<casaca> raspberry pi4 usb3 connected m2 ssd
hhhapz has quit [Ping timeout: 248 seconds]
hhhapz has joined #racket
livoreno has quit [Ping timeout: 268 seconds]
badkins has joined #racket
irc_user has joined #racket
badkins has quit [Ping timeout: 248 seconds]
monkey_ has quit [Ping timeout: 255 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
aidalgol has quit [Ping timeout: 255 seconds]
aidalgol_ has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
badkins has joined #racket
ur5us has joined #racket
adium has quit [Quit: Stable ZNC by #bnc4you]
adium has joined #racket
dos__^^ has quit [Ping timeout: 240 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
mon_aaraj has joined #racket
lowak has joined #racket
lowak_ has quit [Ping timeout: 268 seconds]
mon_aaraj has quit [Ping timeout: 246 seconds]
badkins has joined #racket
livoreno has joined #racket
monkey_ has joined #racket
badkins has quit [Ping timeout: 256 seconds]
monkey_ has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
kengruven has quit [Quit: Leaving.]
kengruven has joined #racket