Hi! I am trying to build a "hello world" platform with Odin. here are the sources: https://github.com/0riginaln0/roc-platform-odin
At the moment, I have a 1-to-1 translation of the host.c and idk how to move on.
Could you tell me what my next step is?
my goal is to use Roc as an embedded scripting language in my Odin application
@Ryzh welcome :wave:
I think it will be awesome to have an Odin platform example. Though I'd recommend waiting a few weeks and starting with the new Roc Host ABI which we've implemented in the Zig compiler. This is significantly nicer to work with. If you want to see an example checkout the test platforms str test platform or int test platform.
As soon as we have more functionality implemented, I'll be updating all my platform templates (Zig, Rust, Go, Swift, C etc) to help people get started building.
Last updated: Aug 17 2025 at 12:14 UTC