On 11/10/2015 12:10 AM, Ty Coghlan wrote:
> I'm currently attempting to embed Rust into racket,
I'd like to see how this turns out. Post a link if you do a development
blog or anything like that.
--
Anthony Carrico
--
You received this message because you are subscribed to the Google Groups
"
Because C side output port is not controlled by (current-output-port) and
(current-error-port) directly, C code always use the default ones.
In theory, one can write a simple wrapper to deal with
(current-output-port).
On Tue, Nov 10, 2015 at 1:45 PM, Ty Coghlan wrote:
> It works correctly if I
It works correctly if I run it from the command line using the racket command,
thanks! It also works if I raco exe it.
Whether or not to add lib to the name of the file seems to be operating system
specific, or so I understand it. Windows seems to prefer leaving it as "embed".
Any idea why DrRa
Hi Ty,
I just tried this out, and it looks like you need to say
"target/release/libembed" -- note the added "lib". Once I added that, your
program worked fine and printed everything out.
I wonder if the problem you're seeing is that DrRacket is sending the Rust
output somewhere else. Can you try
I'm currently attempting to embed Rust into racket, following along with the
tutorial at
https://doc.rust-lang.org/stable/book/rust-inside-other-languages.html. For the
most part I can get it to work when using functional programming in rust. I can
call functions that return numbers/chars, howe
5 matches
Mail list logo