#Discord Bot
1 messages · Page 1 of 1 (latest)
its asm math or something lmao
looks like it's using discord++
oh
ah yet another library with a confusingly similar name
great name guys
not necessarily
i would say " hand written assembly is rarely better than C/C++ code "
casually does not tell the compiler to optimize
I thought the rust take was bad but this is worse
but clang made code thats a lot faster
and some of the code assumes longer life
does it matter
^ also better to interpret
no
?
doesn't mean shit, 3 instructions can run faster than a single one
@shadow scroll @hasty condor https://godbolt.org/z/5ex98o69E
average compiler when SSE exists
not on -O3
and in addition, have you measured a significant enough slowdown to warrant you writing your own factorial and fibonacci function?
and did it improve after you switched to assembly?
ok, so it seems you only ever use factorial as a command used by the user to calculate the factorial
and fibonacci is never used
so how the hell would this benefit anything?
even on -O0, it would make zero difference
the link i posted is the reason why everyone should use x86-64-v3
what if my CPU doesn't support that?
it does
how old is your laptop
well my phone doesnt support it either
ur all poor
Mint billionaire confirmed?
you mean shorting Intel?
xd original jok
sounds like a bad impl of fibonacci then
or a bad impl for the command
that still sounds like bad implementation
*very bad
me: my bot crashes because my aes impl isnt quite working
mcauc78: bot crashes with big numbers
(yet)
well, what if you pass it rdi 0, 1, or 2?
but to come back to the original point, there must be reason it crashes for large numbers
that reason may be outside of the fibonacci function
but that doesn't matter
which is wrong for zero
?
English please
“well, let's make n < 2 equal to n” according to Google Translate
please don't randomly speak an language other than English in on-topic channels, in the middle of a conversation
not only does that disrupt the conversation, it is a violation of Rule 7
you say "I know"
but if you knew, you wouldn't have done it, right?
unless you are intentionally breaking the rules
.!help
https://github.com/ToppleKek/banter2
For details, use .!help <cmd> change pages with .!help <#>
Archive messages
Manage roles that are given to users when they join
Get a user's avatar
Manage channel bindings
Manage channel settings
Kick a member from the guild
Get a link to the web editor
Evaluate JS
so you want to get banned?
look, if you continue acting like this
i.e. seemingly not understanding/taking seriously the warning
you leave me no choice
are you going to do this again?
it's called gentoo with -march=native
It won’t work
64-bit OSes only work on 64-bit CPUs
i smell a hammer
well, your smell might be correct
yes but no thanks
not because i am opposed to the compile times, but because portage sucks massive cock
just get good
yes portage should get good indeed
Writing your own package manager from scratch is obviously the better choice
id rather do that than use portage
Lol
u russian?
ok based