conjure icon indicating copy to clipboard operation
conjure copied to clipboard

Adapt `IRust` support

Open glyh opened this issue 10 months ago • 5 comments

Long time no see, Olical :)

We already have rust evaluation support, but it's not that useful because evcxr is painfully slow. However, this new rust REPL is very fast.

I may put some effort in, if PR is welcomed.

Note: I'm also opening an issue at their repo to request nREPL support .

glyh avatar Apr 11 '24 01:04 glyh

Looks like there used to be irust support https://github.com/Olical/conjure/commit/d552de91126f9ae1a0b72ff4fdcf0f48e004240d, what happened?

glyh avatar Apr 12 '24 06:04 glyh

Hey! So I think the older Rust REPL support had a bunch of issues that evcxr solved 🤔 I can't find discussions about it in Conjure's history but there's this comment from the evcxr author here https://www.reddit.com/r/rust/comments/17lo0gg/evcxr_rust_repl_is_an_incredible_tool/k7l2abf/

Maybe we could just dig up the older irust.fnl files and reinstate them alongside the current implementation. I think @rafaeldelboni implemented both? If you've got any thoughts on this I'd love to hear them 😄 (no pressure!)

Olical avatar Apr 12 '24 11:04 Olical

Looks like there used to be irust support d552de9, what happened?

I was starting implementing with irust, but I didn't managed to get it working and then I did some eval on evcxr and managed to get this minimal working version on the main branch

rafaeldelboni avatar Apr 12 '24 11:04 rafaeldelboni

I don't know the current state of iRust, but you can create and stdin based solution as I did for evcxr to test the ergonomics :)

rafaeldelboni avatar Apr 12 '24 11:04 rafaeldelboni

Thanks, these information is helpful. I'll take a look at irust support when I have time!

glyh avatar Apr 14 '24 08:04 glyh