Oh hey, Thermite got mentioned on @_bikeshed! @sgrif I would love to discuss the shortcomings you found in it and how it can adapt to your use case. (It does work on macOS as of about a month ago.)
Also I really hope it didn't come off like I was badmouthing you. I should probably think more about "what if the author is listening to this". The point I was trying to make was "I couldn't get this to work for me after about 6 hours of trying so I moved on"
-
-
It doesn't sound to me like you're badmouthing me or Thermite in the podcast. I'm interested to know what you meant by "[Thermite] assumes that you won't have any Ruby code in addition to your native code", though.
-
Thermite copies the dylib to `lib/gem_name.native_extension`, which doesn't give me room to execute additional Ruby when `require "gem_name"` happens. This is my `lib/gem_name` for reference.https://gist.github.com/sgrif/0658d02bb6019841466604f690e91b88 …
- 4 more replies
New conversation -
-
-
I don't remember if I had moved to Helix's build system when we recorded. For about a week my "build system" was `cargo rustc -- -C link_args=-Wl,-undefined,dynamic_lookup && cp target/debug/foo.dylib lib/stuff/native.bundle`. I think that was the case when we recorded?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
s/you/Thermite
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.