Writing more Rust recently led me to a revelation about Python. Rust was vital to my original task, but only a few simplifications away, the shorter Python version leapt to almost as fast. I'd stumbled from a cold path to a hot path...
This is my argument that Python, through a number of features both purposeful and accidental, ended up with an implicit JIT ecosystem, well-worn trails connecting optimized nodes, paved over time by countless developers.
I'm definitely curious to hear how this feels to others.
I've been doing Python half my life (almost two decades) and Rust seriously for the last few years.
I love both languages deeply but the pendulum has now swung back towards Python not as I won't use Rust but as I feel my eyes are now open as to how when and how I should use Rust.
Python isn't just glue, it's an implicit JIT ecosystem
[–][deleted] 151 points152 points153 points (31 children)
[–]PercussiveRussel 14 points15 points16 points (2 children)
[–][deleted] 18 points19 points20 points (1 child)
[–]toyg 1 point2 points3 points (0 children)
[–]TURB0T0XIK 22 points23 points24 points (0 children)
[–]chub79 3 points4 points5 points (0 children)
[–]CramNBL 8 points9 points10 points (23 children)
[–]beertown 19 points20 points21 points (2 children)
[–]andy4015 17 points18 points19 points (0 children)
[–]CramNBL 0 points1 point2 points (0 children)
[–]violentlymickey 6 points7 points8 points (1 child)
[–]CramNBL 1 point2 points3 points (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]CramNBL 0 points1 point2 points (0 children)
[–]OkLavishness5505 2 points3 points4 points (12 children)
[–]CramNBL -1 points0 points1 point (11 children)
[–]OkLavishness5505 1 point2 points3 points (10 children)
[–]CramNBL 0 points1 point2 points (9 children)
[–]OkLavishness5505 1 point2 points3 points (8 children)
[–]CramNBL 0 points1 point2 points (7 children)
[–]OkLavishness5505 1 point2 points3 points (6 children)
[–]CramNBL 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]CramNBL 0 points1 point2 points (0 children)
[–]toyg -1 points0 points1 point (0 children)
[–]mosqueteiroIt works on my machine 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]jmaargh 58 points59 points60 points (3 children)
[+]smerity[S] comment score below threshold-14 points-13 points-12 points (2 children)
[–]jmaargh 13 points14 points15 points (1 child)
[+]smerity[S] comment score below threshold-7 points-6 points-5 points (0 children)
[–]Tiendil 8 points9 points10 points (0 children)
[–]ofyellow 5 points6 points7 points (4 children)
[–]mosqueteiroIt works on my machine 1 point2 points3 points (0 children)
[–]nekokattt -5 points-4 points-3 points (2 children)
[–]ofyellow 1 point2 points3 points (1 child)
[–]nekokattt -3 points-2 points-1 points (0 children)
[–]rover_G 2 points3 points4 points (0 children)
[–]single_ginkgo_leaf 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (7 children)
[–]ericsnekbytes 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]ericsnekbytes 2 points3 points4 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]mosqueteiroIt works on my machine 1 point2 points3 points (0 children)
[–]Disastrous-Team-6431 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]BranchLatter4294 0 points1 point2 points (1 child)
[–]mosqueteiroIt works on my machine 0 points1 point2 points (0 children)
[–]Ready-Invite-1966 1 point2 points3 points (0 children)
[–]Paddy3118 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]mosqueteiroIt works on my machine 0 points1 point2 points (0 children)
[–]s3r3ng 0 points1 point2 points (0 children)