<ekleog>
samth: right, my question is mostly “how can I get racket to proxify the ‘pending’ reply to the rust caller without the racket code becoming a PITA?”
<ekleog>
now I guess that's maybe where defining macros might come in handy, but I don't know enough about racket (yet) to know whether it's possible, and would like to get an overall idea before I invest too much time in learning the language -- learning time is never lost, but there are priorities :)
<samth>
ah, you want to implement the Future interface with Racket code
<ekleog>
yup, or more exactly an equivalent of async/await code
<ekleog>
racket's way of doing async appears to be having racket green threads that get blocked so I initially tried to map rust's futures to racket threads, but it looks like the embedding primitives don't really allow for fine-grained enough control for this to work
<ekleog>
having something that only does “automatic upwards propagation of ‘pending’” would likely be enough
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
lavaflow_ has joined #racket
lavaflow has quit [Ping timeout: 246 seconds]
lockywolf has joined #racket
lavaflow_ is now known as lavaflow
ng0_ has joined #racket
ng0 has quit [Ping timeout: 256 seconds]
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 272 seconds]
<clacke_movim>
Racket+Rust integration interests me because Rust is on my todo, and fractalide, which I used to contract for, wants to integrate Rust code into Racket code, so I'm glad to see some discussion around it here.
Jeanne-Kamikaze has joined #racket
<Jeanne-Kamikaze>
Hey greghendershott, that is exactly what I was looking for, thanks.
<greghendershott>
winny: Not sure how you/others feel about it being idiomatic/Rackety, but, you could capitalize struct names.
<greghendershott>
I've tried that sometimes. I don't love it. But it's a choice.
lockywolf__ has joined #racket
ZombieChicken has joined #racket
lockywolf_ has quit [Ping timeout: 244 seconds]
<clacke_movim>
Capitals? Do not like.
teardown has joined #racket
orivej has quit [Ping timeout: 248 seconds]
liangchao has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
caltelt_ has joined #racket
caltelt has quit [Ping timeout: 258 seconds]
liangchao has quit [Remote host closed the connection]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
FreeFull has quit []
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
lockywolf_ has joined #racket
lockywolf__ has quit [Ping timeout: 248 seconds]
lockywolf__ has joined #racket
lockywolf__ has quit [Excess Flood]
lockywolf_ has quit [Ping timeout: 258 seconds]
lockywolf has joined #racket
lockywolf has quit [Max SendQ exceeded]
ZombieChicken has quit [Remote host closed the connection]
lockywolf has joined #racket
ZombieChicken has joined #racket
lockywolf has quit [Ping timeout: 272 seconds]
dddddd has quit [Read error: Connection reset by peer]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
_whitelogger has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
<winny>
greghendershott: that sounds like a good thing to try out. Especially because it disambiguates struct types and accessors from everything else. (Whereas most other identifiers have a disambiguation mechanism, such as class%, unit^, predicate?, etc)
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
endformationage has quit [Ping timeout: 272 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
Arcaelyx has quit [Ping timeout: 252 seconds]
ZombieChicken has quit [Remote host closed the connection]
ng0_ has quit [Quit: Alexa, when is the end of world?]
ZombieChicken has joined #racket
Jeanne-Kamikaze has quit [Quit: Leaving]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
orivej has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
sauvin has joined #racket
ZombieChicken has quit [Remote host closed the connection]
jcowan has quit [Quit: Connection closed for inactivity]
manualcrank has quit [Quit: WeeChat 1.9.1]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
jellie has joined #racket
jao has quit [Ping timeout: 248 seconds]
caltelt_ has quit [Ping timeout: 248 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
badkins_ has joined #racket
badkins has quit [Ping timeout: 245 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
jellie has quit [Ping timeout: 258 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
jellie has joined #racket
ricekrispie has joined #racket
ricekrispie2 has quit [Ping timeout: 244 seconds]
jellie has quit [Quit: WeeChat 2.4]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ym555 has joined #racket
ym555 has quit [Client Quit]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Client Quit]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
iyzsong has joined #racket
ZombieChicken has joined #racket
libertyprime has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
pierpal has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ubLIX has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
dddddd has joined #racket
niceplace has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
niceplace has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
rubic88 has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
Arcaelyx has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ubLIX has quit [Quit: ubLIX]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
soegaard has joined #racket
sz0 has quit [Quit: Connection closed for inactivity]
endformationage has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
libertyprime has quit [Ping timeout: 244 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
ZombieChicken has quit [Remote host closed the connection]
iyzsong has quit [Read error: Connection reset by peer]
ZombieChicken has joined #racket
vraid has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
jao has joined #racket
q9929t has joined #racket
efm has quit [Ping timeout: 246 seconds]
efm has joined #racket
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
soegaard has quit [Quit: soegaard]
iclon_ has joined #racket
iclon__ has quit [Ping timeout: 258 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
vraid has quit [Quit: Leaving]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
ZombieChicken has quit [Remote host closed the connection]