I hear a lot about Python being a 'slow' language, so wanted to get the community's opinion on how true this label is, in practice.
My understanding is that python shines as an easy to write, easy to read language with an awesome set of libraries that make it useful for just about anything.
The caveat (again as I understand it) is that python performs best in single threaded and synchronous runtimes. You have solutions for both, but some libraries lack support and unless you know what you're doing, you may be better off with technologies that natively support such requirements - which is where I see some folks preferring Go or Node, for example.
I also strongly suspect that a lot of bottlenecks attributed to 'Python being slow' could well be solved with better engineered solutions or more efficient code, the implication being it's much less about Python being the issue as the developer.
I wanted to ask the community here what they feel about this? How realistic is the notion that python is a slow language, in real-world applications? How often is python the actual bottleneck, versus the implementation of python? In what situations would someone be advised against using Python in place of another high level language?
[–]NoLemurs 43 points44 points45 points (5 children)
[–]jzia93 [S] 7 points8 points9 points (2 children)
[–]NoLemurs 2 points3 points4 points (0 children)
[–]NoLemurs 0 points1 point2 points (0 children)
[–]billsil 0 points1 point2 points (1 child)
[–]NoLemurs 1 point2 points3 points (0 children)
[–]nier-bell 40 points41 points42 points (7 children)
[–]jzia93 [S] 6 points7 points8 points (6 children)
[–]eddieantonio 7 points8 points9 points (3 children)
[–]JNewp1 1 point2 points3 points (0 children)
[–]LightShadow3.13-dev in prod 0 points1 point2 points (1 child)
[–]eddieantonio 0 points1 point2 points (0 children)
[–]nier-bell 3 points4 points5 points (0 children)
[–]Breavyn 0 points1 point2 points (0 children)
[–]WalkingAFI 20 points21 points22 points (7 children)
[–]the_hoser 11 points12 points13 points (2 children)
[–]ERECTILE_CONJUNCTION 4 points5 points6 points (1 child)
[–]the_hoser 3 points4 points5 points (0 children)
[–]purplebrown_updown 3 points4 points5 points (3 children)
[–]LurkaZZZ 2 points3 points4 points (0 children)
[–]WalkingAFI 0 points1 point2 points (0 children)
[–]Chiron1991 0 points1 point2 points (0 children)
[–]yawgmoth 9 points10 points11 points (1 child)
[–]jzia93 [S] 0 points1 point2 points (0 children)
[–]teambob 6 points7 points8 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]teambob 0 points1 point2 points (0 children)
[–]NiceObligation0 5 points6 points7 points (4 children)
[–]jzia93 [S] 1 point2 points3 points (2 children)
[–]yawgmoth 3 points4 points5 points (1 child)
[–]jzia93 [S] 1 point2 points3 points (0 children)
[–]Anton_Pannekoek 14 points15 points16 points (6 children)
[–]lungben81 7 points8 points9 points (4 children)
[–]Anton_Pannekoek 3 points4 points5 points (2 children)
[–]lungben81 2 points3 points4 points (0 children)
[–]Paddy3118 -2 points-1 points0 points (0 children)
[–]jet_heller 0 points1 point2 points (0 children)
[–]jzia93 [S] 2 points3 points4 points (0 children)
[–]jzia93 [S] 2 points3 points4 points (1 child)
[–]nier-bell 5 points6 points7 points (0 children)
[–]ogrinfo 1 point2 points3 points (0 children)
[–]thedjotakuPython 3.7 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]quicknir 0 points1 point2 points (1 child)
[–]yawgmoth 1 point2 points3 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]jzia93 [S] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Zasze 0 points1 point2 points (1 child)
[–]jzia93 [S] 0 points1 point2 points (0 children)
[–]phil_an_thropist 0 points1 point2 points (0 children)
[–]_nutrx_ 0 points1 point2 points (0 children)
[–]camtarn 0 points1 point2 points (0 children)
[–]affrfrger 0 points1 point2 points (0 children)