News for hackers. Stuff that matters.
Re:Why Python keeps growing, explained by vgatherps on Friday March 03, 2023 @07:53AM (#35008913)
Outside cases where Python is used as a thin wrapper around some C library (simple networking code, numpy, etc) 10x is frankly quite conservative. Depending on the problem space and how aggressively you optimize, it's easily multiple orders of magnitude.
Re:Why Python keeps growing, explained by DiogenesKynikos on Friday March 03, 2023 @08:44AM (#35009525)
Those cases are about 95% of scientific programming.

This is the first line in most scientific code:

    import numpy
Re:Why Python keeps growing, explained by intelVISA on Friday March 03, 2023 @08:54AM (#35009659)
FFI into lean C isn't some perf panacea either, beyond the overhead you're also depriving yourself of interprocedural optimization and other Good Things from the native space.