I'm trying to arrange things so there's usually only one pointer to something in existence, which is tricky
-
-
Replying to @mountain_ghosts
borrowing is an important trick in rust and very easy to mess up.
1 reply 0 retweets 0 likes -
Replying to @wycats
even when I have multiple pointers, I've a clear idea of who should clean them up
1 reply 0 retweets 0 likes -
Replying to @mountain_ghosts @wycats
the hardest thing so far is the control flow around yielding to user code and how that failing might break your memory management
2 replies 0 retweets 1 like -
Replying to @mountain_ghosts @wycats
you'll need a generous helping of rb_protect
1 reply 0 retweets 0 likes -
ooh nice
1 reply 0 retweets 0 likes -
Replying to @mountain_ghosts @evanphx
does the `body` function take a single ruby-array VALUE (http://phrogz.net/programmingruby/ext_ruby.html … is not clear)
2 replies 0 retweets 0 likes -
Replying to @mountain_ghosts
The signature there suuuucks. Basically the function is called with args passed directly, so you can have it be whatever.
1 reply 0 retweets 0 likes -
Replying to @evanphx @mountain_ghosts
yeah. My plan for helix is to use rb_protect around the call sites, then panic up to the FFI boundary.
2 replies 0 retweets 0 likes -
Replying to @wycats
is like to use helix for a project shortly. Is it still active then? It seemed dormant when I looked into it a couple of months ago.
1 reply 0 retweets 0 likes
we plan to get back to it after the new year -- the goal is to get Skylight to use it (so some work time is justified)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.