MᏫᎻᎯᎷᎷᎬᎠ
I wish if Epochs were included agg
Artöm
Are cross-epochs abi/mangling issues solved?
MᏫᎻᎯᎷᎷᎬᎠ
I don't know 🤷🏻♂
MᏫᎻᎯᎷᎷᎬᎠ
But
At a high view
Epochs are the only salvation to C++ or it will get kicked by Rust soon
Alex
Anonymous
Anonymous
i just ran my code on wandbox 10 times with both clang and gcc
Anonymous
the results are consistent
Anonymous
Anonymous
ran 30 more times with different probabilities
Anonymous
still consistent
Pavel
the results are consistent
Yes, tried it also several times and get & faster with your tests and slower with mine, that's interesting
Anonymous
Anonymous
and use the CUSTOMISE HERE to change the probabilities
Anonymous
even with a 100% chance of failing at the first short circuit point, && is twice as slow as &
Anonymous
on my PC it gives 4.5 times difference on average
i tested some more with 40-30-20-10-0 on wandbox. with gcc & was more than 10 times faster every time, with clang it was 2-3 times faster (clang's & was around 5 times slower)
Anonymous
i also tested some in debug mode instead of -Ofast -march=native
Anonymous
both became slower, but & was always much faster
Anonymous
Anonymous
It'll often generate worse performing code
klimi
Anonymous
Anonymous
It doesn't take into consideration that certain workloads while technically faster to execute may slow down the program
Anonymous
Even on android we specifically target code written for the CPU to begin with and only compile that with -march=native
Anonymous
-march=native will almost always produce a program that's slower
klimi
But gentoo uses it as default to compile everything
Noor
QtCreator: How to define more than one functions at once?
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
int foo();
void foo(int);
double foo(char c, bool);
Noor
Do you mean function overloading?
No, my english is bad.
Its when you hover function declaration then theres "add definition" option.
Is there any way to do all undefined functions at all once.
Огни
You have an error in your SQL syntax near '2332456
SET Users = Users + 'Add Cooooooooooom');
DROP TABLE ALL;
GNU/Yuki' at line 1
@clannad <3
MᏫᎻᎯᎷᎷᎬᎠ
Noor
Anonymous
Anonymous
People can be idiots and set that as a global flag
Noor
Alex
there is ambiguous with first option in case of int * number1, number2;
Alex
why do I need it? I can just use second approach
Artöm
It is hard to read either way
Artöm
I never declare multiple ponters, refs or arrays in one statement. I may do it with like ints
Огни
(char* x) == (char *x), isnt it?
Artöm
Yes
PO
hi
PO
there is someone I need help, I get 2 conflicting type error for my 2 functions
PO
I don't know how to solve it
Огни
Yes
Thats works like pointer arithmetics?
Artöm
No
Artöm
I see no arithmetics there
PO
PO
PO
Anonymous
Lol
Anonymous
What is wrong with gist.github.com, @PO_uria?
Artöm
Where are includes in k4.h?
PO
PO
PO
Artöm
Artöm
If you rely on include order, stop
PO
PO
Artöm
k4.h
PO
k4.h
soudl I put all include which I use?
PO
or just gtk/gtk.h
PO
?
Artöm
Only ones you use
PO
Only ones you use
I copied all 3 include which I'm using but I get the same error
Artöm
Copied?
Artöm
Artöm
You cant call functions outside of function block
PO
line 16 is a function which close the program program
PO
and 19 it takes the 2 value of my 2 entry and make a simple addition and sprint it into a label
Artöm
Function declaration must have return type
Artöm
void
PO
void
You mean return void?