#Discord Bot

1 messages · Page 1 of 1 (latest)

hasty condor
#

where are websockets?

shadow scroll
#

^

#

why are you math in asm/

hasty condor
#

its asm math or something lmao

high sequoia
#

looks like it's using discord++

hasty condor
#

oh

high sequoia
#

ah yet another library with a confusingly similar name

hasty condor
#

great name guys

shadow scroll
#

:/ not always

#

Your compiler does many optimizations

high sequoia
#

not necessarily

hasty condor
#

i would say " hand written assembly is rarely better than C/C++ code "

high sequoia
#

casually does not tell the compiler to optimize

hasty condor
shadow scroll
#

I thought the rust take was bad but this is worse

hasty condor
#

but clang made code thats a lot faster

shadow scroll
#

and some of the code assumes longer life

hasty condor
#

does it matter

shadow scroll
#

^ also better to interpret

hasty condor
#

no

shadow scroll
#

?

sharp iris
#

doesn't mean shit, 3 instructions can run faster than a single one

desert niche
deep oriole
#

average compiler when SSE exists

faint marten
#

wrong

#

wrong

hasty condor
#

not on -O3

faint marten
#

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

desert niche
#

the link i posted is the reason why everyone should use x86-64-v3

faint marten
#

what if my CPU doesn't support that?

desert niche
#

it does

faint marten
#

my laptop's CPU doesn't

#

but looking at this code, holy hell

deep oriole
#

how old is your laptop

faint marten
#

10 years

#

model is from 2007

#

has a 32-bit Intel Atom CPU

hasty condor
#

my laptops cpu doesnt support it either

#

and neither does my phones cpu

deep oriole
#

well my phone doesnt support it either

desert niche
#

ur all poor

faint marten
#

Mint billionaire confirmed?

desert niche
#

it's called investing in intel

#

đź’…

faint marten
#

you mean shorting Intel?

desert niche
#

xd original jok

high sequoia
#

sounds like a bad impl of fibonacci then

faint marten
#

or a bad impl for the command

faint marten
#

that still sounds like bad implementation

hasty condor
#

*very bad

#

me: my bot crashes because my aes impl isnt quite working

#

mcauc78: bot crashes with big numbers

faint marten
#

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

#

?

quartz ember
#

English please

#

“well, let's make n < 2 equal to n” according to Google Translate

faint marten
#

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

hot aspenBOT
#
Banter2

https://github.com/ToppleKek/banter2
For details, use .!help <cmd> change pages with .!help <#>

.!archive

Archive messages

.!autorole

Manage roles that are given to users when they join

.!avatar

Get a user's avatar

.!bind

Manage channel bindings

.!channel

Manage channel settings

.!dabon

Kick a member from the guild

.!editor

Get a link to the web editor

.!evaljs

Evaluate JS

faint marten
#

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?

high sequoia
quartz ember
#

It won’t work

faint marten
#

64-bit OSes only work on 64-bit CPUs

shadow scroll
#

i smell a hammer

faint marten
#

well, your smell might be correct

desert niche
#

not because i am opposed to the compile times, but because portage sucks massive cock

quartz ember
#

just get good

desert niche
#

yes portage should get good indeed

quartz ember
#

Writing your own package manager from scratch is obviously the better choice

desert niche
#

id rather do that than use portage

quartz ember
#

Lol

desert niche
#

u russian?

desert niche
#

ok based