News for hackers. Stuff that matters.
Re:A 100x speedup with unsafe Python by omoikane on Monday May 06, 2024 @10:49PM (#40281834)
The "unsafe" in the title appears to be used in the sense of "exposing memory layout details", but not in the sense of "direct unbounded access to memory". It's probably not the memory safety issue you are thinking of.
Re:A 100x speedup with unsafe Python by yosefk on Tuesday May 07, 2024 @01:47AM (#40282750)
You can absolutely get direct unbounded access to memory with ctypes, with all the bugs that come from this. I just think/hope the code I show in TFA happens to have no such bugs.