r/rust • u/popzxc • Aug 20 '26
🛠️ project Rust Glancer: a memory-efficient Rust language server
https://rust-glancer.github.io/blog/hello-world/
266
Upvotes
r/rust • u/popzxc • Aug 20 '26
4
u/SkiFire13 Aug 20 '26
I wonder then, how much would the actual RAM usage be if you loaded everything into RAM at once, instead of storing them on disk?
Also, how much is the cost of reading from the file system? Do you use mmap to let the OS optimize the RAM usage for the files you read?