Stream: beginners

Topic: size of repository


view this post on Zulip Stéfan van der Walt (Nov 21 2023 at 23:42):

I notice that the repository is very large (>100MB).

I don't know rust, but is it necessary to vendor crates, or can that be pulled down on the fly when compiling?

view this post on Zulip Brendan Hansknecht (Nov 21 2023 at 23:47):

The crates folder is all custom code for roc itself. We aren't vendoring external crates. Roc is just a big codebase. The the only handful of vendored crates are in crates/vendor and they don't take up much of the repos space.

view this post on Zulip Brendan Hansknecht (Nov 21 2023 at 23:48):

Roc codebase is now getting close to 300k lines of code across many different crates (for modularity and compilation performance in some cases)

view this post on Zulip Stéfan van der Walt (Nov 21 2023 at 23:50):

That's amazing; thanks for clarifying. Looks like 22MB in total, 16MB in compiler :exploding_head:


Last updated: Jul 06 2025 at 12:14 UTC