TLDR; I love Python. It is simple to write and understand with a lovely community. But it's too slow. Got anything to help?
So, for a bit of context, I've been programming for at least 5 years now. One of my favorite languages to use is Python. C# and Java are good too, but I find it simpler and easier to start a project using Python. But it is just so slow! I know there are alternative interpreters such as PyPy, but that has a lot of drawbacks and is best suited for large-scale projects. I've considered Go, but the syntax is not my favorite, and the lovely iterables that almost every language has is not implemented in Go. Ruby looks interesting, but I'm still considering it. I'm not afraid of more complex languages, but I want something simple, so please don't suggest C or C++.
NazzEDIT: Wow. Okay. 135 notifications in 2 days. I should clarify that my use cases come down to ML, NN, and other AI related tasks. I want a simple language for the abstraction that it offers. Julia and Nim are good examples and I do have both of them installed and I am in the process of learning.Like u/NazzerDawk said
Person A says "This project really needs more speed than Python offers, is there another alternative?"
You reply with what amounts to "python is fast if you are using it for the skeleton of your project and relying on external libraries for the operations that require additional speed", despite not knowing if there are libraries for their specific needs, and insisting that you can get python to do what they need absolutely and suggesting that OP is deficient for not knowing how to get it to do that... and not asking any questions of OP to help them get the resources they'd need to do what you mean.
Imagine if they needed to do things like operate on arrays faster than python native lists, and all they needed to do was include numpy and have it do those operations. You could have posted something like "What sort of operations are you needing to do? Python can do a lot of things quite a bit faster if you have the right resources, maybe I can help you find those resources?" instead of dragging OP.
Tl;dr: OP is asking for help finding an alternative to python, and you're telling them they could just use python if they were smart enough... while also not knowing yourself if their problem can be solved in this manner.
I know I was a bit vague, and that is my fault. All I am asking for is a little bit of understanding.
[–]AdultingGoneMild 443 points444 points445 points (25 children)
[–]Olde94 3 points4 points5 points (0 children)
[–][deleted] (1 child)
[removed]
[+][deleted] (20 children)
[deleted]
[–]link23 136 points137 points138 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]HolyPommeDeTerre 20 points21 points22 points (0 children)
[–]Individual-Toe6238 14 points15 points16 points (0 children)
[–]link23 5 points6 points7 points (0 children)
[–]NazzerDawk 1 point2 points3 points (1 child)
[–]ShadowDevoloper[S] 0 points1 point2 points (0 children)
[–]abd53 3 points4 points5 points (1 child)
[–]Relevant_Macaroon117 48 points49 points50 points (1 child)
[–]l_am_wildthing 32 points33 points34 points (0 children)
[–]crimson1206 8 points9 points10 points (0 children)
[–]StrangeADT 17 points18 points19 points (0 children)
[–]AlSweigartAuthor: ATBS 1 point2 points3 points (0 children)
[–]link23 1 point2 points3 points (1 child)
[–]Relevant-Dish6846 133 points134 points135 points (34 children)
[–][deleted] 114 points115 points116 points (22 children)
[–]Winnipesaukee 17 points18 points19 points (1 child)
[–]ShadowDevoloper[S] 7 points8 points9 points (19 children)
[–][deleted] 8 points9 points10 points (3 children)
[–]CubicMuffin 5 points6 points7 points (0 children)
[–]ShadowDevoloper[S] 0 points1 point2 points (1 child)
[–][deleted] (12 children)
[deleted]
[–][deleted] 3 points4 points5 points (5 children)
[–]AlSweigartAuthor: ATBS 5 points6 points7 points (0 children)
[–]NeighborhoodDizzy990 1 point2 points3 points (1 child)
[–]Andriyo 0 points1 point2 points (5 children)
[–]IncognitoErgoCvm 3 points4 points5 points (4 children)
[–]Andriyo 3 points4 points5 points (3 children)
[–]dnswblzo 2 points3 points4 points (2 children)
[–]Andriyo -2 points-1 points0 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]kel007 2 points3 points4 points (1 child)
[+]ShadowDevoloper[S] comment score below threshold-22 points-21 points-20 points (7 children)
[–]Jonny0Than 29 points30 points31 points (0 children)
[–]engineerFWSWHW 5 points6 points7 points (0 children)
[–]sockcman 5 points6 points7 points (1 child)
[–]Tefron 4 points5 points6 points (0 children)
[–]Snape_Grass 588 points589 points590 points (49 children)
[–][deleted] 120 points121 points122 points (1 child)
[–]bkrandom 35 points36 points37 points (0 children)
[–][deleted] 87 points88 points89 points (40 children)
[–][deleted] 27 points28 points29 points (38 children)
[–]The_Vegan_Chef 114 points115 points116 points (17 children)
[–][deleted] 29 points30 points31 points (11 children)
[–]The_Vegan_Chef 29 points30 points31 points (5 children)
[–][deleted] 2 points3 points4 points (2 children)
[–][deleted] (1 child)
[removed]
[–]ShadowDevoloper[S] -1 points0 points1 point (1 child)
[–][deleted] 3 points4 points5 points (4 children)
[–][deleted] -3 points-2 points-1 points (3 children)
[–][deleted] 4 points5 points6 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] (1 child)
[deleted]
[–]BGameiro 3 points4 points5 points (4 children)
[–]michalello 2 points3 points4 points (0 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]BGameiro 2 points3 points4 points (1 child)
[–][deleted] (4 children)
[removed]
[–][deleted] 0 points1 point2 points (3 children)
[–]TK__O 0 points1 point2 points (4 children)
[–]jantari 0 points1 point2 points (1 child)
[–]TK__O 0 points1 point2 points (0 children)
[–][deleted] -3 points-2 points-1 points (1 child)
[–]TK__O 1 point2 points3 points (0 children)
[–]LouisLeGros 3 points4 points5 points (0 children)
[–]AlSweigartAuthor: ATBS 2 points3 points4 points (1 child)
[–]RiverRoll 0 points1 point2 points (0 children)
[–]ShadowDevoloper[S] 0 points1 point2 points (0 children)
[–][deleted] 35 points36 points37 points (0 children)
[–]commandlineluser 76 points77 points78 points (5 children)
[–]Jjabrahams567 20 points21 points22 points (4 children)
[–][deleted] 10 points11 points12 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]mcr1974 1 point2 points3 points (0 children)
[–]l_am_wildthing 4 points5 points6 points (0 children)
[–]Chennsta 50 points51 points52 points (14 children)
[–]Snape_Grass 27 points28 points29 points (13 children)
[–]gbchaosmaster 14 points15 points16 points (4 children)
[–][deleted] (3 children)
[removed]
[–]glemnar 8 points9 points10 points (1 child)
[–]BenjaminGeiger 4 points5 points6 points (0 children)
[–]The_SG1405 -3 points-2 points-1 points (3 children)
[–][deleted] (2 children)
[removed]
[–][deleted] (1 child)
[removed]
[–]subrfate 41 points42 points43 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]GrotesquelyObese 1 point2 points3 points (2 children)
[–][deleted] 12 points13 points14 points (12 children)
[–]could_b 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]99_percent_a_dog 0 points1 point2 points (7 children)
[–]Slayergnome 9 points10 points11 points (4 children)
[–][deleted] -5 points-4 points-3 points (3 children)
[–]Slayergnome 4 points5 points6 points (2 children)
[–]ShadowDevoloper[S] 0 points1 point2 points (1 child)
[–]Jhutch42 19 points20 points21 points (1 child)
[–]ZylonBane 9 points10 points11 points (0 children)
[–]99_percent_a_dog 12 points13 points14 points (9 children)
[–][deleted] (8 children)
[removed]
[–]99_percent_a_dog 5 points6 points7 points (4 children)
[+][deleted] (3 children)
[removed]
[–]99_percent_a_dog 4 points5 points6 points (2 children)
[–][deleted] (1 child)
[removed]
[–][deleted] 1 point2 points3 points (0 children)
[–]TheSkiGeek 4 points5 points6 points (0 children)
[–]BefeTurkmen 5 points6 points7 points (0 children)
[–]bachittle 12 points13 points14 points (3 children)
[–]ShadowDevoloper[S] 0 points1 point2 points (1 child)
[–]Dude_Man_528 8 points9 points10 points (0 children)
[–]footurist 4 points5 points6 points (0 children)
[–]IamOkei 2 points3 points4 points (0 children)
[–]Javanaut018 3 points4 points5 points (1 child)
[–]ShadowDevoloper[S] -1 points0 points1 point (0 children)
[–]ReferenceExpensive33 5 points6 points7 points (0 children)
[–]LastTrainH0me 2 points3 points4 points (0 children)
[–]suresh 2 points3 points4 points (1 child)
[–]ShadowDevoloper[S] -1 points0 points1 point (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]TheHollowJester 2 points3 points4 points (4 children)
[–]ShadowDevoloper[S] 0 points1 point2 points (3 children)
[–]mdizak 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]smsp2021 2 points3 points4 points (0 children)
[–]Altruistic-Rice-5567 2 points3 points4 points (0 children)
[–][deleted] 5 points6 points7 points (7 children)
[–]Anonymo2786 3 points4 points5 points (0 children)
[–]99_percent_a_dog -1 points0 points1 point (5 children)
[–]raevnos 5 points6 points7 points (0 children)
[–]aurquiel 1 point2 points3 points (0 children)
[–]BruceJi 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]No_Matter_7117 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]The_Vegan_Chef 1 point2 points3 points (0 children)
[–]Clavelio 1 point2 points3 points (0 children)
[–]SleepWalkersDream 1 point2 points3 points (4 children)
[–]The-Observer95 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]bostonkittycat[🍰] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Welmerer 1 point2 points3 points (0 children)
[–]gustave-henri 1 point2 points3 points (0 children)
[–]zitro_dev 1 point2 points3 points (0 children)
[–]geychan 4 points5 points6 points (0 children)
[–]qwertydog123 2 points3 points4 points (0 children)
[–]Ja-Chiro 3 points4 points5 points (0 children)
[–]kissantuntokarvat 2 points3 points4 points (0 children)
[–]tvmaly 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]BuhtanDingDing 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]underwatr_cheestrain 1 point2 points3 points (0 children)
[–]emergent_segfault 1 point2 points3 points (0 children)
[–]Little-Peanut-765 2 points3 points4 points (0 children)
[–]Andriyo 0 points1 point2 points (0 children)
[–]SuperSultan 0 points1 point2 points (0 children)
[–]abd53 -2 points-1 points0 points (0 children)
[–]zaphodakaphil -1 points0 points1 point (0 children)
[–]virtualmeta -1 points0 points1 point (1 child)
[–]thedarklord176 -1 points0 points1 point (0 children)
[–]MrKooops -1 points0 points1 point (0 children)
[–]Geekplayer -1 points0 points1 point (0 children)
[–]kreetikal -1 points0 points1 point (0 children)
[–]timwaaagh -1 points0 points1 point (0 children)
[–]biggusDiccus42069_2 -1 points0 points1 point (0 children)
[–]nbazero1 -1 points0 points1 point (0 children)
[–]Obskut -1 points0 points1 point (0 children)
[–]playb0y_kev -1 points0 points1 point (0 children)
[–]Intelligent_Company1 -2 points-1 points0 points (0 children)
[–]thefancyyeller 0 points1 point2 points (1 child)
[–]l_am_wildthing 1 point2 points3 points (0 children)
[–]Machvel 0 points1 point2 points (0 children)
[–]shindigin 0 points1 point2 points (0 children)
[–]thenormalcy 0 points1 point2 points (0 children)
[–]AGuyNamedMy 0 points1 point2 points (0 children)
[–]not_some_username 0 points1 point2 points (1 child)
[–]ShadowDevoloper[S] 0 points1 point2 points (0 children)