Alec Theriault

Results 109 comments of Alec Theriault

> Cheapskate has some serious parsing bugs (I'm sorry, I don't recall the details), and it's not maintained any more. That's OK! It just needs to be roughly correct. Of...

[I wrote a short program to try to find incorrect behavior in the presence of multiple threads, and it unfortunately appears to find some](https://gist.github.com/harpocrates/5094419258184bcc1ba905c9abb238cf). I think that counts as a...

I've built (or rather am in the process of building) an [inline-rust](https://github.com/harpocrates/inline-rust) package like what you are describing. 😄

These are now supported, but not automatically. Utilities are provided for automatically marshaling into and out of `FunPtr`. That said, it is on the user to free the `FunPtr` (in...

Before closing this issue, I have once more idea: let Rust take ownership of the function pointer! [Here is a sketch of what the types might be on the Rust...

The `Box` type [here](https://github.com/tweag/linear-base/blob/413919ac256916f722881e33b2ebe8ed7a3b38df/src/Foreign/Marshal/Pure.hs#L333) is what I want if `-XLinearTypes` goes through.

The problem is now about `cargo`, but it otherwise hasn't changed.

@22459 Yeah, I'd like to eventually have Haskell ADTs mapping to Rust `enum`s. Right now, I only support passing things that have the same memory-representation, so I'd have to add...

Types that we will want to have in this category:`ByteString`, `ByteArray`, `ByteArray#`, `MutableByteArray`, `MutableByteArray#`, `StorableVector`.

This build fails because one of the big changes that comes with this last commit (that adds what I think is complete support for union initialization) is that `Initializer` no...