Just wondering what the best places to find information on how the roc types are implemented.
We don't have a spec or anything right? That would be something for much later I assume.
The zig builtins would be probably the easiest, followed by the roc_std implementation right?
Would the ultimate base truth be emitting llvm-ir?
Basically, if I am working on implementing the std lib or glue, where should I go for the source?
for stdlib either zig or rust, depending on what is most familiar
zig is more code because it implements the builtins, that's good (examples!) and bad (more code to read)
for tag unions I think reading the source is the only way to be really sure, though the names make sense once you know them
Last updated: Jul 06 2025 at 12:14 UTC