Roc is a very young language with many incomplete features and known bugs. It doesn't even have a numbered release yet, but it does have nightly builds that you can download if you'd like to try it out without building from source!
There are currently a few known OS-specific issues:
- macOS: There are no known compatibility issues, but the compiler doesn't run as fast as it does on Linux or Windows, because we don't (yet) do our own linking like we do on those targets. (Linking works similarly on Linux and Windows, but the way macOS does it is both different and significantly more complicated.)
- Windows: There are some known Windows-specific compiler bugs, and probably some other unknown ones because more people have tried out Roc on Mac and Linux than on Windows.
- Linux: The nightlies are built with glibc, so they aren't usable on distros that don't use (dynamically linked) glibc, like Alpine or NixOS. In the future we plan to build Linux releases with musl libc to address this, but this requires building LLVM from source with musl.
- Other operating systems: Roc has not been built on any other operating systems. Building from source on another OS might work, but you might very well be the first person ever to try it!
Here are some Getting Started guides for different operating systems:
There is currently a VS Code extension for Roc which includes instructions in its README for how to enable a Roc language server.
Currently that language server has to be built from source; it would be a fantastic contribution if anyone could get it incorporated it into the extension directly. If you'd like to help with this, just make a post in the "new contributors" topic on Zulip and say hello!
Once you've installed
roc, check out the tutorial to learn how to Roc!