News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by xmcqdpt2 on Saturday July 29, 2023 @06:27AM (#36918741)
The new official Scala build tool / compiler front end (scala-cli) is amazing,

https://scala-cli.virtuslab.org/

The thing that really struck me after years of python is how it lets you out dependencies directly in a comment on top of a script and it will download and run with them automatically, without poisoning any system settings. It's so simple!

Re:No-GIL mode coming for Python by mananaysiempre on Saturday July 29, 2023 @07:23AM (#36919113)
> it lets you out dependencies directly in a comment on top of a script and it will download and run with them automatically, without poisoning any system settings

The old-style nix-shell command in Nix can do this[1] for every language and package Nixpkgs supports, although it’s not that often used because it ties your shebangs to Nix. (An equivalent feature for the new CLI is a work in progress[2].)

[1] https://nixos.org/manual/nix/stable/command-ref/nix-shell.ht...

[2] https://github.com/NixOS/nix/pull/5189

Re:No-GIL mode coming for Python by sverhagen on Saturday July 29, 2023 @08:08PM (#36926242)
Just curious: what makes it "official"?
Re:No-GIL mode coming for Python by xmcqdpt2 on Sunday July 30, 2023 @07:42PM (#36937217)
It's going to be rolled out as the new standard Scala repl and compiler (instead of the current scalac which is a bit weak on features.)