Stream: platform development

Topic: Nim for Platforms?


view this post on Zulip Sean Hagstrom (Apr 27 2022 at 10:07):

Hello :wave:
I'm interested in writing a Roc platform, but I wanted to experiment with using Nim. At the moment Nim doesn't use LLVM by default, but it can compile to C and I was wondering if that could be used with LLVM? Any ideas?

view this post on Zulip Folkert de Vries (Apr 27 2022 at 11:45):

all you need for a platform is something that can use the C ABI, it doesn't need to compile to LLVM itself

view this post on Zulip Folkert de Vries (Apr 27 2022 at 11:45):

so you could write a platform in python, if you wanted to

view this post on Zulip Sean Hagstrom (Apr 27 2022 at 17:27):

Good shout! I didn't know that was the main requirement.
I'll try implementing my own platform in Nim using it's C interop stuff, thank you!


Last updated: Jul 06 2025 at 12:14 UTC