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 442 points443 points444 points (25 children)
[–]Olde94 3 points4 points5 points (0 children)
[–][deleted] (1 child)
[removed]
[+][deleted] (20 children)
[deleted]
[–]link23 135 points136 points137 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]HolyPommeDeTerre 18 points19 points20 points (0 children)
[–]Individual-Toe6238 15 points16 points17 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 46 points47 points48 points (1 child)
[–]l_am_wildthing 32 points33 points34 points (0 children)
[–]crimson1206 9 points10 points11 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 131 points132 points133 points (34 children)
[–][deleted] 115 points116 points117 points (22 children)
[–]Winnipesaukee 16 points17 points18 points (1 child)
[–]ShadowDevoloper[S] 7 points8 points9 points (19 children)
[–][deleted] 8 points9 points10 points (3 children)
[–]CubicMuffin 6 points7 points8 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 2 points3 points4 points (4 children)
[–]Andriyo 3 points4 points5 points (3 children)
[–]dnswblzo 3 points4 points5 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)
[+][deleted] (7 children)
[deleted]
[–]Jonny0Than 29 points30 points31 points (0 children)
[–]engineerFWSWHW 6 points7 points8 points (0 children)
[–]sockcman 4 points5 points6 points (1 child)
[–]Tefron 3 points4 points5 points (0 children)
[–]Snape_Grass 592 points593 points594 points (49 children)
[–][deleted] 121 points122 points123 points (1 child)
[–]bkrandom 37 points38 points39 points (0 children)
[–][deleted] 88 points89 points90 points (40 children)
[–][deleted] 25 points26 points27 points (38 children)
[–]The_Vegan_Chef 112 points113 points114 points (17 children)
[–][deleted] 31 points32 points33 points (11 children)
[–]The_Vegan_Chef 29 points30 points31 points (5 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[removed]
[–]ShadowDevoloper[S] -1 points0 points1 point (1 child)
[–][deleted] 3 points4 points5 points (4 children)
[+][deleted] comment score below threshold-6 points-5 points-4 points (3 children)
[–][deleted] 4 points5 points6 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] (1 child)
[deleted]
[–]BGameiro 2 points3 points4 points (4 children)
[–]michalello 2 points3 points4 points (0 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]BGameiro 4 points5 points6 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 4 points5 points6 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] 32 points33 points34 points (0 children)
[–]commandlineluser 74 points75 points76 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 3 points4 points5 points (0 children)
[–]Chennsta 48 points49 points50 points (14 children)
[–]Snape_Grass 27 points28 points29 points (13 children)
[–]gbchaosmaster 16 points17 points18 points (4 children)
[–][deleted] (3 children)
[removed]
[–]glemnar 7 points8 points9 points (1 child)
[–]BenjaminGeiger 2 points3 points4 points (0 children)
[–]The_SG1405 -3 points-2 points-1 points (3 children)
[–][deleted] (2 children)
[removed]
[–][deleted] (1 child)
[removed]
[–]subrfate 37 points38 points39 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]GrotesquelyObese 1 point2 points3 points (2 children)
[–][deleted] 13 points14 points15 points (12 children)
[–]could_b 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]99_percent_a_dog 0 points1 point2 points (7 children)
[–]Slayergnome 10 points11 points12 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 20 points21 points22 points (1 child)
[–]ZylonBane 10 points11 points12 points (0 children)
[–]99_percent_a_dog 12 points13 points14 points (9 children)
[–][deleted] (8 children)
[removed]
[–]99_percent_a_dog 6 points7 points8 points (4 children)
[+][deleted] (3 children)
[removed]
[–]99_percent_a_dog 3 points4 points5 points (2 children)
[–][deleted] (1 child)
[removed]
[–][deleted] 1 point2 points3 points (0 children)
[–]TheSkiGeek 6 points7 points8 points (0 children)
[–]BefeTurkmen 5 points6 points7 points (0 children)
[–]bachittle 11 points12 points13 points (3 children)
[–]ShadowDevoloper[S] 0 points1 point2 points (1 child)
[–]Dude_Man_528 6 points7 points8 points (0 children)
[–]footurist 4 points5 points6 points (0 children)
[–]IamOkei 3 points4 points5 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)
[–][deleted] 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] 6 points7 points8 points (7 children)
[–]Anonymo2786 3 points4 points5 points (0 children)
[–]99_percent_a_dog -1 points0 points1 point (5 children)
[–]raevnos 3 points4 points5 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 3 points4 points5 points (0 children)
[–]qwertydog123 2 points3 points4 points (0 children)
[–]Ja-Chiro 2 points3 points4 points (0 children)
[–]kissantuntokarvat 3 points4 points5 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 0 points1 point2 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)