News for hackers. Stuff that matters.
Re:I think Zig is hard but worth it by pornel on Thursday June 01, 2023 @06:40PM (#36158409)
When Python was originally designed disk space was precious, and access to the Internet was rare, and its dependency management was designed for that world. Its multiple retrofitted package managers never fully fixed it.

However, better integrated package managers can work well. In case of Node.js and Cargo, the main argument against them is that it's too easy to add dependencies.

Re:I think Zig is hard but worth it by throwawaymaths on Thursday June 01, 2023 @07:39PM (#36158952)
Fundamentally the problem with python is that it's packages are global and every workaround except ~docker can't fix it except in a hacky way since the package resolution is specified in the language
Re:I think Zig is hard but worth it by zaphirplane on Friday June 02, 2023 @09:37PM (#36172854)
Tell us more, cause it’s not a problem I know
Re:I think Zig is hard but worth it by throwawaymaths on Saturday June 03, 2023 @03:22AM (#36174462)
Try installing two pieces of software that depend on two different versions of tensorflow, then come back here.
Re:I think Zig is hard but worth it by zaphirplane on Saturday June 03, 2023 @05:30AM (#36175085)
I can install multiple python interpreters side by side each with independent packages and I can install different versions of the same python package for the same interpreter. I haven’t tried or had a need, by induction sounds possible :shrug:
Re:I think Zig is hard but worth it by throwawaymaths on Sunday June 04, 2023 @06:47PM (#36190287)
Tensorflow wheels are bound to cuda installation which is driver/sudo level. It's a nightmare.