objectionary / news.eolang.org

Our Official Blog: we write about the development of EOLANG and 𝜑-calculus
https://news.eolang.org
MIT License
11 stars 5 forks source link

Blog post about caching #56

Open maxonfjvipon opened 9 months ago

maxonfjvipon commented 9 months ago

It would be nice to write a blog post about caching mechanism: folder structure, caching logic and so on...

maxonfjvipon commented 9 months ago

@Yanich96 please take it

Yanich96 commented 9 months ago

@maxonfjvipon ok

Yanich96 commented 9 months ago

@maxonfjvipon please tell me, what existing assembly mechanisms is the EO assembly mechanism similar to? Or are there any caching systems that I would like to learn more about?

maxonfjvipon commented 9 months ago

@Yanich96 you can write about compilation process here. The main feature of our assembly mechanism is cyclicity. We repeate steps: parse -> optimize -> discover -> probe -> pull until there's no files that can be processed. I don't know any other tool that would work like that

maxonfjvipon commented 9 months ago

@Yanich96 I would recommend to you to learn how caching works in most know build systems like Maven Central or Cargo. Learn how they deal with local cache and global cache

Yanich96 commented 9 months ago

Information about ccache:

Yanich96 commented 9 months ago

Rust uses SCCACHE. SCCACHE is like CCACHE.