News for hackers. Stuff that matters.
Re:Using uv as your shebang line by bmitc on Wednesday January 29, 2025 @05:02AM (#42863306)
> I think the fact that the uv tool itself is not written in Python

It's interesting that the language people choose to write systems with (Python) is basically identified as not the best language to write systems to support that language (Python).

To my knowledge, no other mainstream language has tooling predominantly written in another language.

Re:Using uv as your shebang line by disgruntledphd2 on Wednesday January 29, 2025 @05:22AM (#42863426)
gcc is written in C++ for like a decade now, so it's not completely unusual.
Re:Using uv as your shebang line by bmitc on Wednesday January 29, 2025 @05:24AM (#42863436)
It's a compiler for C, C++, and adjacent languages though.
Re:Using uv as your shebang line by disgruntledphd2 on Wednesday January 29, 2025 @07:14AM (#42864032)
Sure, but the point was a tool written in a different language. So the c part of gcc is another example of this issue.
Re:Using uv as your shebang line by kloop on Wednesday January 29, 2025 @08:22AM (#42864606)
I believe quite a bit of the JS tooling has been rewritten in other languages over the last decade or so
Re:Using uv as your shebang line by HelloNurse on Wednesday January 29, 2025 @11:54AM (#42867581)
It's important to use any other language to avoid even the theoretical possibility of bootstrapping complications. All languages that produce self-contained compiled executables are equally suitable for the task.
Re:Using uv as your shebang line by IshKebab on Wednesday January 29, 2025 @03:03PM (#42870376)
Javascript has quite a lot of tooling written in other (better) languages.

I think Javascript and Python stand out because they are both extremely popular and also not very good languages, especially their tooling. You're obviously going to get a load of people using Javascript and Python saying "why is Webpack/Pip so damn slow? I don't have any choice but to use this language because of the web/AI/my coworkers are idiots, so I may as well improve the tooling".