3 ms·
I don't want to require everyone who builds llamafile from source need to install rust. I don't even require that people install the gperf command, since I can
by jart 2y ago
I don't want to require everyone who builds llamafile from source need to install rust. I don't even require that people install the gperf command, since I can build gperf as a 700kb actually portable executable and vendor it in the repo. Tree sitter I'd imagine does a really great highly precise job with the languages it supports. However it appears to support fewer of them than I am currently. I'm taking a breadth first approach to syntax highlighting, due to the enormity of languages LLMs understand.
- IshKebab 2y agoI think the Rust component of tree-sitter-highlight is actually pretty small (Tree Sitter generates C for the actual parser). But fair enough - fewer dependencies is always nice, especially in C++ (which doesn't have a modern package manager) and in ML where an enormous janky Python installation is apparently a perfectly normal thing to require.
- mdaniel 2y agoI somehow thought Conan[1] was the C++ package manager; it's at least partially supported by GitLab, for what that's worth 1: https://docs.conan.io/2/introduction.html https://docs.conan.io/2/introduction.html
- IshKebab 2y agoNo, if anything vcpkg is "the C++ package manager", but it's nowhere near pervasive and easy-to-use enough to come close to even Pip. It's leagues away from Cargo, Go, and other actually good PL package managers.
- mdaniel 2y agoI knew that Microsoft used that on Windows but had no idea it was multi-platform: https://github.com/microsoft/vcpkg/releases/tag/2024.10.21 https://github.com/microsoft/vcpkg/releases/tag/2024.10.21 (MIT, like a lot of their stuff) Microsoft is such an odd duck, sometimes, but I'm glad to take advantage of their "good years" while it lasts
- deleted 2y ago[deleted]