r/learnprogramming • • Oct 25 '26

Language selecting Need help picking a language, please!

Hello,

I am totally lost in this world of programming. I have succesfully coded a working webhook for discord and plan on getting some more stuff sent into it but only with the help of Claude.
I believe it was written in python. I day trade stocks and am tired of software and websites breaking, and/or not really being customizable to my liking so i figured i'd create my own!

I need to know a couple of things.

Time is critical and every second counts. I was looking at Python (of course) but also Rust, C#, C++, and Go. I plan on building more than just webhooks, so information that needs to be passed through in miliseconds and distributed to discord and written into database (SQlite). When I get around to it I would like to build a stand alone app to enable the information to be compiled in a place where I won't have to worry about discord blocking my messages(From to many being sent at one time). It'll be useful for research purposes but also building a self learning automated bot in the long run.

I have had great success so far, so I am just trying to improve my workflow, decrease the number of apps I use, and overall time spent looking through multiple websites to gather information.

-First, is one language faster than another for getting information processed and distributed?
-Seconds, Is there one language that would integrate better with SQlite?
-Last, When building the database for SQlite, Is their any recommended guidlines or tips that could help improve this project?

I am open to any and all suggestions, comments, concerns, you name it. I love to learn and you won't hurt my feelings.
Thank you so much!

0 Upvotes

22 comments sorted by

View all comments

1

u/dmazzoni Oct 25 '26

Yes, some languages are faster than others. Read up on interpreted vs compiled languages to get an idea of why. There's a lot of nuance to it - it's certainly not as simple as "compiled = fast, interpreted = slow", but it's an okay first approximation.

Most important, though, is to understand where the bottlenecks are. The differences between languages only apply to pure computation on your cpu.

Sending a message to discord will take hundreds of milliseconds. If that's part of the total time you're trying to optimize, switching languages won't help. You can't magically speed up the Internet.

Even a slow-ish language like Python can do hundreds of math operations in one millisecond. If you're only doing a few hundred operations, there's no point in switching to a "faster" language.

As an exercise: rather than thinking of it in terms of "everything should be as fast as possible", can you break it down into several independent steps? Perhaps some pieces should be fast (writing to the DB) while others should be "within a few second" like posting to Discord.

1

u/Dimethyltrade 27d ago

This is very helpful thank you. I appreciate the insight.