Thread closed
Last edited:
it is not as simple as that, C is faster than golang but i doubt anyone would say C is better to use than golang for developing botsdamn this thread is a shitshow, can't believe some idiots actually believe that "slower language good! fast language mean nothing!"
Let me quote it how i stated in the threadit is not as simple as that, C is faster than golang but i doubt anyone would say C is better to use than golang for developing bots
in the very small amount of times where this speed mattered (99.99% of the time it does not because usually you are bottlenecked by IO) and even if nodejs is not fast enough (it is alot faster than you expect), then sure this guys service is probably the best bet u have on this forum
also fwiw i have used golang, python and nodejs and imo golang is the best of the three (but i sitll dont like it)
"Why would I care what your preference of language is"Let me quote it how i stated in the thread
"Faster Than Node.JS"
"Golang such as the ones I provided are proven to run faster than ANY other popular language for discord bots."
Is either one of these wrong? Nope
What has you commenting on this thread achieved: Nothing
"but i sitll dont like it" - You
Why would I care what your preference of language is
"C is faster than golang" - You
True, so I don't see an issue with someone making a thread stating that its faster and they just so happen to be developing bots in that language, Good for them!
"Why would I care what your preference of language is"
i started that sentence with "fwiw", i dont expect you to care thats why i said that
"Is either one of these wrong? Nope"
"Furthermore bots coded in Golang such as the ones I provided are proven to run faster than ANY other popular language for discord bots"
is it faster if theres no real difference (usually)? disregarding that lets assume there is no IO bottleneck, in order to prove your bot is faster than any other language, even if you reduce the pool of popular languages to the ones you chose (java, nodejs, python), you would have to create the bot in 4 languages and benchmark all of them, because eventhough Go is generally faster than for example java even the benchmark you posted shows that its not always the case so in order to prove it you would have to benchmark it in all those languages, so i guess my question to you is, are you planning on doing that?[DOUBLEPOST=1593123324][/DOUBLEPOST]also "Faster Than Node.JS", sure Go is generally faster but a bot you write in nodejs could be faster than one in Go in some specific circumstances
At this point you are just reaching for strings of your terrible argument, since you haven't provided some evidence as to the claims being false i'll leave you with this, a good song.
Don't need to prove something you already stated in your previous post, Golang is a faster language than Node.JS or Python.well then please answer my question to prove yourself right, will you recreate the bot in all those 3 languages and benchmark mark it to prove its faster?
Packages are irrelevant to the speed of a language, Golang is faster than Node.JS or Python in raw performance.┌───────────┬──────────┬──────────┬───────────┐
│ library │ memory │ net up │ net down │
├───────────┼──────────┼──────────┼───────────┤
│ eris │ 81.65MB │ 179.48MB │ 2279.10MB │
│ discordjs │ 120.15MB │ 180.14MB │ 2265.74MB │
│ discordpy │ 118.11MB │ 176.43MB │ 609.29MB │
│ serenity │ 138.61MB │ 181.33MB │ 2272.82MB │
│ discordrb │ 179.81MB │ 6.17MB │ 324.46MB │
│ discordgo │ 111.32MB │ 175.88MB │ 2291.08MB │
│ discordia │ 114.64MB │ 181.63MB │ 2262.33MB │
│ nostrum │ 184.13MB │ 45.66MB │ 763.93MB │
│ jda │ 324.58MB │ 118.38MB │ 118.42MB │
└───────────┴──────────┴──────────┴───────────┘
That is pretty self-explanatory, however irrelevant to the current conversation.Yes that's obvious but that wasn't my point lol
Packages are relevant to the speed of the application, if you use some dogshit package and its worse than a well-optimized one in a shitter language then it'll be slower.
(i dont think i ever stated that golang is faster than nodejs or python, only that its USUALLY faster, if i did its my mistake for saying that, but since its not always faster a bot in nodejs could feasibly be faster than one in golang)Don't need to prove something you already stated in your previous post, Golang is a faster language than Node.JS or Python.
Usually the accuser (You) would have to show some evidence of the thread being false. Which as you have stated, its not.
Goodbye now young man
Seems like i'm not the only one to point out the garbage point you have.
![]()
But technically, if you're using a shit golang library for discord it'd be slower than node/python?That is pretty self-explanatory, however irrelevant to the current conversation.
Again, self explanatory.But technically, if you're using a shit golang library for discord it'd be slower than node/python?
Sorry that your thread is being trashed, I've been learning Go myself and I can 100% agree it's a really good language in nearly every aspect. Huge good luck with sales and I can't wait to see what you do in the future with Go.That is pretty self-explanatory, however irrelevant to the current conversation.
3. Not really care what you think as there are MANY publicly available speed comparisons between the languages. You are not entitled to anything from me.(i dont think i ever stated that golang is faster than nodejs or python, only that its USUALLY faster, if i did its my mistake for saying that, but since its not always faster a bot in nodejs could feasibly be faster than one in golang)
well if youre done talking ill just leave this for anyone who is confused
"Go vs Java -> Go wins in the majority of situations.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go.html
I wouldn't consider C# a popular language for discord bots same as C++ probably has a discord library, not that many people use it."
here the user obviously confirms that he himself believes that Go can be slower than one of the popular languages, Java, meaning that if his bots are actually proven to be faster "than ANY other popular language for discord bots" he will have to recreate the bot in java to benchmark it because the bottleneck in the code could be affected by some optimization java does in the cases its faster
additionally look here, https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go-node.html , scroll to the bottom, there is one benchmark where javascript beats golang, while obv its very unlikely in order to prove it he would still have to recreate it in nodejs and benchmark it
the whole fact of being able to prove his bots are faster without actually testing it and just relying on the fact that "golang is faster" is ridiculous
so theres basically two options
1. hes actually recreating it in the other languages and testing it (i doubt this because he refused to answer when i asked, but who knows maybe he is)
2. hes not doing any real testing to prove its faster (ig in this case its up to you, do you think hes able to accurately predict it, because i certainly dont since its nearly impossible to get anything better than an educated guess, i dont think any human in the world is able to actually prove it without running it)
so basically because there are benchmarks that show golang is faster in some situations you can PROVE your bots are faster when it will obviously be completely different code without actually testing it? is that what youre saying? if not please explain, i cant see how you can prove that theyre faster without testing it because there are obviously SOME cases where nodejs/java is faster than golang and that could be the differentiator3. Not really care what you think as there are MANY publicly available speed comparisons between the languages
I'm not associated with Grammarly but you look like you could use it https://www.grammarly.comso basically because there are benchmarks that show golang is faster in some situations you can PROVE your bots are faster when it will obviously be completely different code without actually testing it? is that what youre saying? if not please explain, i cant see how you can prove that theyre faster without testing it because there are obviously SOME cases where nodejs/java is faster than golang and that could be the differentiator
trying to accurately predict how fast something will run without running it is pointless, since youre a golang dev let me relate to you: in any non trivial Go program you will probably run into the problem of what will be faster, returning a large object and doing big copy as a result or returning a pointer and putting more pressure on the gc, just like determining what language will be faster in some specific scenario without actually testing it, trying to determine whats better in this case without actually testing it is equally futile, there are too many factors for a human to be able to prove for a fact one is better than the other without actually testing it, when comparing different lanugages there are even more factors to take into account
well i think that tells everyone what they need to knowI'm not associated with Grammarly but you look like you could use it https://www.grammarly.com
