roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 314 forks source link

Add no_std fs #6869

Closed rtfeldman closed 4 months ago

rtfeldman commented 4 months ago

Splitting this off from some foundational work on caching.

The basic idea here is that in really big Roc projects, incremental rebuilds will involve a huge amount of file reads and writes to/from both source files and in the future also cache files, so it's beneficial to have tight control over how file I/O works - including the (minimum number of) syscalls involved.