News for hackers. Stuff that matters.
Re:The Core of Rust by epage on Thursday August 21, 2025 @05:55PM (#44978565)
There are at least workarounds for a surprising number of languages: https://dbohdan.com/scripts-with-dependencies

Read up on the details of each one when proposing the design for Cargo script to see what we could learn.

Re:The Core of Rust by ameliaquining on Thursday August 21, 2025 @06:28PM (#44978866)
I would argue that third-party tools don't really cut it, because a lot of the value is being able to include a script inline in, e.g., an email or chat message, and that's undermined if the recipient has to download and install a separate tool. (uv gets half credit because adoption is rapidly rising and it has a shot at becoming a de facto standard, but I'll only award full credit to Python when pip supports this.) They're good for exploring the design space, though.
Re:The Core of Rust by epage on Thursday August 21, 2025 @09:48PM (#44980258)
Fully agree. I had a section in the Cargo RFC devoted to why a first class solution is important, see https://rust-lang.github.io/rfcs/3502-cargo-script.html#firs...