by bovem on 8/2/24, 3:23 PM with 70 comments
by stavros on 8/3/24, 2:18 PM
I feel the same way about Ruff, for example. One day it was "black all the things" and the next it's "btw we just reimplemented the entire Python formatting/linting ecosystem in Rust, and it's 100x faster, no biggie".
What's happening? Is it just so much easier to write stuff in Rust that projects like these pop out of people's heads, fully-formed? It boggles the mind.
by pornel on 8/3/24, 2:35 PM
by pbronez on 8/3/24, 6:32 PM
Still, the maintainers stated that they don’t plan to implement Python’s readline module because they already have a rust implementation of readline. A similar argument could apply here - use native rust implementations of dependencies and expose them via the expected Python APIs. This would break some ambitious Python programs, but those probably wouldn’t consider alternative runtimes anyway.
by nextaccountic on 8/3/24, 7:06 PM
If not, is it at all possible to get numpy to work and other libraries written in native code? I see that rustpython also work in wasm: but what about compiling numpy's native code to wasm as well?
by upbeat_general on 8/3/24, 3:36 PM
Every time I want to rewrite a shell function in python, I always hesitate due to the slow startup.
by nickpsecurity on 8/3/24, 6:33 PM
Running it on hardened Linux, OpenBSD, or FreeBSD was a start. A Rust implementation might help.
I also miss setups like eCos RTOS where a GUI determined which features got compiled in. Strip each Python app down to just what it needs in the interpreter. Might squeeze it in L1-L2 cache that way, too. Aside from embedded (eg MicroPython), has anyone anything like that for use on servers?
by pipeline_peak on 8/3/24, 4:49 PM
by jeden on 8/5/24, 8:44 AM
by Zamiel_Snawley on 8/3/24, 12:59 AM
by jbernsteiniv on 8/3/24, 10:03 PM
by hughdbrown on 8/4/24, 3:49 PM
by abdullahalharir on 8/3/24, 4:36 PM
by jeden on 8/3/24, 9:09 AM
by jedisct1 on 8/3/24, 2:57 PM
by iamgopal on 8/3/24, 12:29 PM
by cutler on 8/3/24, 2:56 PM
by bitzun on 8/3/24, 3:11 AM
by jdeaton on 8/3/24, 1:52 AM