SnowFS – a fast, scalable version control file storage for graphic files
1–10 of 29 posts
Re: SnowFS – a fast, scalable version control file storage for graphic files
#2On the context of porting to C and C++, or make it execute faster, I can see two options with minor rewrites.
Use AssemblyScript and generate native code via WebAssembly AOT compilers.
Try to adapt TypeScript to C++ compiler from Microsoft's MakeCode project.
Implement your own C++ code generator.
It would be much easier than keep using multiple code bases in parallel, plus any memory corruption issues would be most likely bugs on the code generator.
[0] - Yes I know the source code is Typescript.
Re: SnowFS – a fast, scalable version control file storage for graphic files
#3I'll throw in a shameless plug for my tool in this area, Dud[2]. Dud is to DVC what Flask is to Django.
Are the mentioned benchmarks published somewhere?
[1]: https://dvc.org [2]: https://github.com/kevin-hanselman/dud
Re: SnowFS – a fast, scalable version control file storage for graphic files
#4Very interesting. I'd like to learn more about how it works. How does this compare to DVC[1], for instance? I'll throw in a shameless plug for my tool in this area, Dud[2]. Dud is to DVC what Flask is to Django. Are the mentioned benchmarks published somewhere? [1]: https://dvc.org [2]: https://github.com/kevin-hanselman/dud
[git add texture.psd: 20164ms] [snow add texture.psd: 4596ms] [git rm texture.psd: 575ms] [snow rm texture.psd: 111ms] [git checkout HEAD~1: 9739ms] [snow checkout HEAD~1: 1ms]
You might get slightly slower speeds on NTFS for 'add' and 'checkout' but still very performant
Re: SnowFS – a fast, scalable version control file storage for graphic files
#5JavaScript[0] isn't what I would call a fast storage repository, but I guess it works out for prototyping. On the context of porting to C and C++, or make it execute faster, I can see two options with minor rewrites. Use AssemblyScript and generate native code via WebAssembly AOT compilers. Try to adapt TypeScript to C++ compiler from Microsoft's MakeCode project. Implement your own C++ code generator. It would be mu…
Re: SnowFS – a fast, scalable version control file storage for graphic files
#6Re: SnowFS – a fast, scalable version control file storage for graphic files
#7I need to look into this more but unless you already know C/C++ really well then Rust may be a better choice.
Re: SnowFS – a fast, scalable version control file storage for graphic files
#8Honestly, I think the effort was better spent on an improved version of Git.
Re: SnowFS – a fast, scalable version control file storage for graphic files
#9But what if I have software and images (e.g. as in game software)? Which version control system do I use? Honestly, I think the effort was better spent on an improved version of Git.
Re: SnowFS – a fast, scalable version control file storage for graphic files
#10But what if I have software and images (e.g. as in game software)? Which version control system do I use? Honestly, I think the effort was better spent on an improved version of Git.
Programmers, game makers and 2D/3D artists are very different target audiences with very different needs. To name one example, the commit hash integrity which is a foundation of Git is a must-have for software projects, but might be not useful in environments like VFX or CG productions