IRC channel logs
2024-05-22.log
back to list of logs
<kittyblam>Has anyone experimented around with using rust in tandem with guile? I'm aware the focus is more on use with C, but, I am rather curious the ways that could be done if anyone is aware :> <old>kittyblam: could you be more specific? <kittyblam>old: hmm, if say, perhaps if the FFI can work with rust, and if so how well? <abcdw>wingo: A friendly ping on guile release :) <old>kittyblam: Rust has no defined ABI. Maybe it is possible to write entrypoint with C ABI with it, I don't know. <old>sneek: later tell kittyblam Rust has no defined ABI. Maybe it is possible to write entrypoint with C ABI with it, I don't know. <skeemer>does guile have the same level of interactivity of common lisp? or something similar? i mean interactive with a live running image <daviwil>skeemer: yeah, you can reevaluate code at the REPL of a running program, though you have to be careful of how you write your code sometimes to ensure that this will work <skeemer>daviwil: i have heard that it is not realluy common among schemes\ <daviwil>Yeah, some Scheme implementations do not support redefinitions very well, but Guile does <skeemer>a thing that bothers me with gnu guile is the error messages <daviwil>You have to get a Gerald Sussman fez before those will appear <daviwil>I am not an expert on the details, but I think compiler optimizations might have something to do with it <dthompson>but backtraces do say the file and the line? <dthompson>if you are evaluating at the repl, though, you're sending data over a pipe or socket, which has no file or line number. therefore you won't see that information. <flatwhatson>maybe geiser could get file (or buffer) and line info from emacs, and fake it in guile when evaluating stuff <dthompson>that could maybe work for eval'ing in a file. but read-syntax gets the info from the port object so it would have to get plumbed through a soft port or something