Stream: announcements

Topic: Release candidate: Roc 0.1.0-RC1


view this post on Zulip Richard Feldman (Nov 21 2026 at 20:27):

We now have an official Release Candidate for Roc 0.1.0! The commit is 15177e91f6 and the binaries are on GitHub.

This is not the official 0.1.0 release yet; the "candidate" part means "this could be 0.1.0, but we're going to try it out decide whether to accept it or to make revisions and repeat this process with 0.1.0-RC2."

I am assuming we'll make revisions for RC1, but RC2 might turn out to be the one. We'll see! The main reason I want to put RC1 out there is to kick off this RC process, since we've never done one before.

we have to draw some lines for what's in 0.1.0 and what will be afterwards, so here are the lines!

between here and 0.1.0 itself, my plan is:

I'd love it if you could try out 0.1.0-RC1 and report any bugs you find on it in the usual way! We'll take care of the logistics of figuring out whether to include their fixes in 0.1.0-RC2 or deferring until 0.1.1, and in general my philosophy is "the more bug reports, the better" because it tells us what needs fixing! :smile:

I don't know when exactly 0.1.0 will be done, but we're getting close, and the first step is to see what bugs people are hitting in RC1!

view this post on Zulip Jared Ramirez (Nov 21 2026 at 20:35):

woooo!! so exciting

view this post on Zulip Richard Feldman (Nov 21 2026 at 21:16):

here are some preliminary benchmarks of build times for 0.1.0-RC1, on a dozen projects from #show and tell > community showcase in 0.1.0 blog post

roc check
roc build --opt=dev
roc test

view this post on Zulip Richard Feldman (Nov 21 2026 at 21:17):

view this post on Zulip Richard Feldman (Nov 21 2026 at 21:18):

so "import changed" is usually close-ish to "cold" because if a module is used in so many places across the app that basically the entire cache is invalidated, then you're practically in "cold build" territory anyway :smile:

view this post on Zulip Richard Feldman (Nov 21 2026 at 21:24):

some observations:

view this post on Zulip zhen (Nov 22 2026 at 01:38):

Richard Feldman said:

here are some preliminary benchmarks of build times for 0.1.0-RC1, on a dozen projects from #show and tell > community showcase in 0.1.0 blog post

roc check
roc build --opt=dev
roc test

Dev is always super fast in my experience.
On the other hand, is it possible to have a semi-speed opt? I donno, rn a speed build does take ~15s on my 12K lines project. Not slow though(especially comparing to Rust lol) But I do feel a somewhat speedy but still first to compile opt can be nice (~5s)

Very low priority request, likely too early for 0.1.x

view this post on Zulip Luke Boswell (Nov 22 2026 at 01:42):

We discussed this in the online meetup earlier today; there is a lot of low hanging fruit and we think a 10x speedup may be possible. @Jack Scully has been cooking some ideas we can test out post-0.1

view this post on Zulip Richard Feldman (Nov 22 2026 at 01:42):

yeah --opt=dev has been the priority for 0.1.0 but we were just talking in #gatherings > Roc Online Meetup Nov 2026 earlier today about bumping the priority on speeding up --opt=speed and --opt=size builds

view this post on Zulip pixelsprout (Nov 22 2026 at 02:25):

Just tested compile times with Rocco's apps
roc-rc1-compile-times-2026-11-22.png

view this post on Zulip zhen (Nov 22 2026 at 02:32):

pixelsprout said:

Just tested compile times with Rocco's apps
roc-rc1-compile-times-2026-11-22.png

What happened to village

view this post on Zulip pixelsprout (Nov 22 2026 at 02:35):

Haven't looked into what is the exact cause, Claude reckons it's RC1 defaulting to boxy lowering

view this post on Zulip Richard Feldman (Nov 22 2026 at 02:38):

wow, village is way different than all the other numbers! Is that an example in the repo I can check out? I'm curious to investigate :smile:

view this post on Zulip pixelsprout (Nov 22 2026 at 02:40):

Sure, this is the one - https://github.com/Pixelsprout/rocco-engine/tree/main/examples/village

view this post on Zulip Luke Boswell (Nov 22 2026 at 03:55):

This graph makes me smile... we're talking about a 40% speed bump from 50ms to 30ms :mind:

view this post on Zulip Luke Boswell (Nov 22 2026 at 03:55):

I can get squiggly lines in my editor faster than I can type

view this post on Zulip Anton (Nov 22 2026 at 08:10):

I have PR#13346 that improves an error message and has CI passing, can I just land that now, or should it be planned for a specific version?

view this post on Zulip Richard Feldman (Nov 22 2026 at 12:11):

yep just go ahead and land :+1:

view this post on Zulip removewingman (Nov 22 2026 at 14:32):

Everything works fine. I am just wondering how to build Roc for Linux distros.
My build command is: zig build build-release -Dcompiler-version="0.1.0_RC1" (PR) but the binary reports

roc version
Roc compiler version debug-no-git

I am guessing there is a bug when git is not installed? Target: aarch64-linux-musl/arm64musl and x86_64-linux-musl/x64musl

view this post on Zulip Richard Feldman (Nov 23 2026 at 01:39):

just checking, but: has anyone actually encountered a blocker bug in RC1? It seems (to my surprise!) that so far RC1 is eligible to be promoted directly to 0.1.0...but maybe I'm missing something (or maybe people just haven't tried updating to it yet)

view this post on Zulip Karl (Nov 23 2026 at 01:41):

Nothing to report here. I'd did the updates last Wednesday/ Thursday and you got my regression the next day. The actual move to the RC was uneventful.

view this post on Zulip Luke Boswell (Nov 23 2026 at 01:44):

Yes I have https://github.com/roc-lang/roc/issues/13372

view this post on Zulip Luke Boswell (Nov 23 2026 at 01:45):

Also I'm only part way through updating/testing

view this post on Zulip zhen (Nov 23 2026 at 02:32):

Nothing big, but my repo is relatively small, so might not be a good sample.

view this post on Zulip Steve Howell (Nov 23 2026 at 03:27):

Richard Feldman said:

just checking, but: has anyone actually encountered a blocker bug in RC1?

https://roc.lynrummy.com/release-candidate-compiles/ lists four possible issues (it's right beneath the table of build times). I'm not sure any of them qualify as blockers. I can file issues after you read the summaries in the link provided above.

view this post on Zulip Steve Howell (Nov 23 2026 at 03:29):

image.png

view this post on Zulip Steve Howell (Nov 23 2026 at 03:37):

I don't know exactly what the standards are 0.10, but I have 99k lines of Roc code that runs fine now, and the four things above don't really block me. So my verdict: release it and celebrate (but happy to drill down on anything)

view this post on Zulip Luke Boswell (Nov 23 2026 at 03:37):

Dev builds are intentionally boxy by default

view this post on Zulip Luke Boswell (Nov 23 2026 at 03:38):

I think that duplicate def warning has come up here a few times... if it's the one I'm thinking of. The approach is to move the nested type out to the top level and then make an alias to nest under the original.

view this post on Zulip Luke Boswell (Nov 23 2026 at 03:39):

For the cold checks, can you give before and after times? is this a big regression?

view this post on Zulip Luke Boswell (Nov 23 2026 at 03:40):

Release outputs being bigger is likely... I wouldn't be too concerned with that right now unless its blocking you. I find --opt=size and --specialise=no gives the smallest WASM bundles

view this post on Zulip Steve Howell (Nov 23 2026 at 03:40):

Luke Boswell said:

For the cold checks, can you give before and after times? is this a big regression?

https://roc.lynrummy.com/release-candidate-compiles/ has details, but they're from a noisy box. Want me to re-run the numbers?

view this post on Zulip Steve Howell (Nov 23 2026 at 03:41):

Luke Boswell said:

Release outputs being bigger is likely... I wouldn't be too concerned with that right now unless its blocking you.

Definitely not a blocker. Only included for thoroughness.

view this post on Zulip Bryce Miller (Nov 23 2026 at 03:45):

I’ve been working with extremely small amounts of code compared to everyone else here. But I’ve updated my Tigerbeetle client API and roc-pg without encountering any blocking bugs

view this post on Zulip Luke Boswell (Nov 23 2026 at 03:46):

Steve Howell said:

Luke Boswell said:

For the cold checks, can you give before and after times? is this a big regression?

https://roc.lynrummy.com/release-candidate-compiles/ has details, but they're from a noisy box. Want me to re-run the numbers?

I assume @Richard Feldman will be interested in the slowdowns... do you think you could look into the root cause for those? It may be the dev backend bug fix that I saw just landed that was reported earlier.

view this post on Zulip Steve Howell (Nov 23 2026 at 03:49):

On it.

view this post on Zulip Bryce Miller (Nov 23 2026 at 03:51):

I just remembered one potential bug that I don't think is necessarily blocking. When using Cmd.exec! in basic-cli, the process doesn't get replaced properly when running via roc <roc-file> but it does when running a built executable. Claude thought the fix for this was to have roc exec the binary after building it when using roc <roc-file>. Happy to file an issue for this regardless of whether it needs to be fixed for 0.1.0.

view this post on Zulip Richard Feldman (Nov 23 2026 at 03:53):

I think that's specific to basic-cli, yeah? (as opposed to a compiler bug)

view this post on Zulip Bryce Miller (Nov 23 2026 at 03:59):

I think the compiled binary does the process replacement correctly, but that binary ends up running as a child process of the compiler when it isn’t built in a separate step.

view this post on Zulip Bryce Miller (Nov 23 2026 at 04:12):

This came up when I was trying to use Roc with a shebang in place of bash. Not a blocker at all for me since I already had a bash script to do the job.

view this post on Zulip Richard Feldman (Nov 23 2026 at 04:14):

ahh gotcha, yeah please open an issue for that :smile:

view this post on Zulip Steve Howell (Nov 23 2026 at 04:44):

Luke Boswell said:

Luke Boswell said:
I assume Richard Feldman will be interested in the slowdowns... do you think you could look into the root cause for those? It may be the dev backend bug fix that I saw just landed that was reported earlier.

@Luke Boswell See https://github.com/showell/roc-apps/blob/rc1-cold-check/docs/rc1-cold-check.md It's a long write-up from Claude, because we have to hedge a lot due to box noise. I tried to keep the box as clean as possible. My verdict is still: release

Happy to do more follow-up.

view this post on Zulip Steve Howell (Nov 23 2026 at 04:48):

Claude kinda buried the lead:

app [main!] {}

under : List(U8) -> (List(U8) -> Bool)
under = |prefix| |path| path.starts_with(prefix)

is_mine : List(U8) -> Bool
is_mine = under(['/', 'u'])

main! = |_args| {
    echo!(Str.inspect(is_mine(['/', 'u', 'a'])))
    Ok({})
}

On an empty cache, roc check main.roc of this app takes 0.05 s of CPU on nightly-2026-11-03 and 1.00 s on RC1

view this post on Zulip Niclas Ahden (Nov 23 2026 at 11:45):

@Richard Feldman I've updated my packages and platforms without issue. Today and tomorrow I'll be updating actual apps and will report issues if I find any.

view this post on Zulip kaza (Nov 23 2026 at 15:35):

I also updated my project to RC1 and didn't encounter any bugs.
Compile times have also improved significantly overall. Just sharing this as another data point.
compile-times.png

view this post on Zulip pixelsprout (Nov 23 2026 at 19:02):

@Richard Feldman I forgot to mention that rocco-engine is also on RC1 now :rock_on:

view this post on Zulip Zak Kohler (Nov 23 2026 at 19:54):

All of Roux seems to build besides https://github.com/roc-lang/roc/issues/13382, which I have worked around. I'll attempt drag-races tonight on RC1

view this post on Zulip Romain Lepert (Nov 24 2026 at 00:05):

Terrocotta migrated to 0.1.0-rc1
https://github.com/obust/terrocotta/pull/88

I hit quite a few type errors refusing structural to nominal conversions.

Position := { x : F32, y : F32 }

make_pos_old : { x : F32, y : F32 } -> Position
make_pos_old = |pos| pos

# This expression is used in an unexpected way.

# make_pos_old = |pos| pos
#                      ^^^

# It has the type:

#     { x: F32, y: F32 }

# But the annotation says it should be:

#     Position

make_pos_new : { x : F32, y : F32 } -> Position
make_pos_new = |pos| Position.{ x: pos.x, y: pos.y }

or this one

Pos := { x : F32, y : F32 }

move_old : Pos -> Pos
move_old = |pos| Pos.{ ..pos, x: pos.x + 1 }

# I'm having trouble with this nominal type that wraps a record.

# move_old = |pos| Pos.{ ..pos, x: pos.x + 1 }
#                      ^^^^^^^^^^^^^^^^^^^^^^^

# The record I found is:

#     Pos

# But the nominal type expects:

#     { x: F32, y: F32 }

move_new : Pos -> Pos
move_new = |pos| Pos.{ x: pos.x + 1, y: pos.y }

That is a lot stricter than it used to be even though i don't believe there is ambiguity for the type system since functions are annotated. Is that expected ?

view this post on Zulip Romain Lepert (Nov 24 2026 at 00:18):

also small nit but headers need roc: 0.1.0-rc1 but roc version gives 0.1.0_RC1. So CI needs some normalization to match. maybe the next rc can be 0.1.0-rc2 compatible :P

view this post on Zulip Anton (Nov 24 2026 at 10:03):

The first one is intentional from PR#13041. Only records that were never manually given a type annotation can be accepted as nominal.

view this post on Zulip Anton (Nov 24 2026 at 10:04):

With Pos.{ ..pos, x: pos.x + 1 } you are double wrapping, just { ..pos, x: pos.x + 1 } is enough.

view this post on Zulip Anton (Nov 24 2026 at 10:13):

Examples repo passes with RC1 on windows x64, linux x64+arm64, macOS x64+arm64

view this post on Zulip Steve Howell (Nov 24 2026 at 12:48):

I feel like Jack Scully's upcoming fixes for compiler speed might merit an RC2. I had a possibly pathological piece of code (but not contrived code, it worked fine) take 17 minutes for a release build. Jack sped it up 12x.

view this post on Zulip Steve Howell (Nov 24 2026 at 12:50):

see #off topic > LLVM @ 💬 for more details

view this post on Zulip Richard Feldman (Nov 24 2026 at 15:09):

we'll do an 0.1.1 shortly after 0.1.0 (I'm hoping within 2 weeks or so), which will include all of those

view this post on Zulip Richard Feldman (Nov 24 2026 at 15:10):

the reason I don't want to include more performance fixes, especially not for optimized builds (since the goal of 0.1.0 has always been to focus on dev iteration performance and intentionally not optimized build perf) is that perf fixes have been a common source of regressions, and I don't want us to get in a loop of "introduce perf fix, it causes regressions, have to wait on bugfixes for those, in the meantime discover more perf improvements, those cause regressions..."

view this post on Zulip Richard Feldman (Nov 24 2026 at 15:10):

obviously they don't always introduce regressions (depends on how invasive the change was and whether we already have coverage that catches the problem) but historically perf improvements have been a common source of them

view this post on Zulip Richard Feldman (Nov 24 2026 at 15:12):

so far we have one bugfix in RC2, plus wasm compiler binaries were mistakenly left out of the RC1 release, so RC2 will address both of those and that's it. I think if I don't hear about anything else between now and then, I'll publish RC2 tomorrow and we'll see if that works with everyone...and if so, that will become 0.1.0!

view this post on Zulip ofekd (Nov 25 2026 at 13:48):

I bumped Bliss Writer's roc to 9dcd06a. After a few adjustments it seems like it's fine, but I can't quite get through a full check since I'm back to running out of memory.

Many of the issues I had were solved, though, so that's nice. I opened issues in roc-lang/roc for the remaining ones

view this post on Zulip Anton (Nov 25 2026 at 15:48):

Install scripts on the website now use RC1

view this post on Zulip Anton (Nov 25 2026 at 15:49):

but I can't quite get through a full check since I'm back to running out of memory.

How much memory do you have on your machine?

view this post on Zulip ofekd (Nov 25 2026 at 15:56):

Anton said:

but I can't quite get through a full check since I'm back to running out of memory.

How much memory do you have on your machine?

I have 32G, it OOM at around 20G, which is similar to earlier compilers. On 8e3059 which I used before it peaked at around 10-ish

view this post on Zulip Anton (Nov 25 2026 at 16:35):

Oh yeah, that's some serious memory consumption :p

view this post on Zulip Anton (Nov 25 2026 at 16:39):

I don't see a GitHub issue for this @ofekd, can you make one?

view this post on Zulip notramo (Nov 25 2026 at 17:14):

@ofekd, try zram (not zswap, that's different!).

view this post on Zulip Richard Feldman (Nov 25 2026 at 18:09):

@ofekd have you tried the latest main? I landed some memory usage improvements but kept them out of rc1 because I wanted to avoid potential regressions.

view this post on Zulip ofekd (Nov 25 2026 at 23:47):

notramo said:

ofekd, try zram (not zswap, that's different!).

I do use zram, so those numbers are after its usage

Richard Feldman said:

ofekd have you tried the latest main? I landed some memory usage improvements but kept them out of rc1 because I wanted to avoid potential regressions.

I did try latest main at the time, which was 9dcd06a

Anton said:

I don't see a GitHub issue for this ofekd, can you make one?

Sure, will do

view this post on Zulip notramo (Nov 26 2026 at 01:31):

@ofekd, what zram settings do you use? I had to tweak it a bit until I got a good setup.


Last updated: Nov 26 2026 at 20:35 UTC