MᏫᎻᎯᎷᎷᎬᎠ
S.
😂 I actually run a dos 6.22 with turbo c 2.01 ... for fun
MᏫᎻᎯᎷᎷᎬᎠ
S.
lol
MᏫᎻᎯᎷᎷᎬᎠ
Always begging
S.
S.
Oh my ... Even turbo c can "-N check stack overflow"
Anonymous
"if (stackoverflow)
dont();"
Anonymous
The SMB developer way
S.
😂
Jaun
Kitni bakchodi krte ho yrr.
MᏫᎻᎯᎷᎷᎬᎠ
English English
Jaun
Bhaag saale
Anonymous
Jaun
Oho rose
Jaun
Ok
Jaun
But why only English is compulsory
Jaun
Is anyone here who know Hindi??
Nikolai
Hello everybody!
Jaun
Ok
Anonymous
Anonymous
S.
Thanks bro !👍
I assume you can install it in DOS ... it would require some google work
S.
Yes, better to use modern ones if you're a beginner
Anonymous
Anonymous
Ludovic 'Archivist'
That's it, you're off
Now you understand why I have disgust for people from my own country. She did not even bother typing correct french
Dima
Same
Roxifλsz 🇱🇹
/warn non-english
MᏫᎻᎯᎷᎷᎬᎠ
hey
MᏫᎻᎯᎷᎷᎬᎠ
look at this code
MᏫᎻᎯᎷᎷᎬᎠ
template<class T>
struct base1
{
T a;
base1(T a) : a(a) {}
};
template<class T>
struct base2
{
T a;
base2(T a) : a(a) {}
};
template<class T>
struct derive : public base1<T>, public base2<T>
{
derive(int a) :base1(a), base2(a) {}
};
int main()
{
derive<int> b(1);
}
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
Hiiiiiii
MᏫᎻᎯᎷᎷᎬᎠ
hello
Dima
Welcome
Dima
Dima
: base1<T>(), ...
MᏫᎻᎯᎷᎷᎬᎠ
oh
MᏫᎻᎯᎷᎷᎬᎠ
let's see
MᏫᎻᎯᎷᎷᎬᎠ
HOLLY crap
MᏫᎻᎯᎷᎷᎬᎠ
It worked
MᏫᎻᎯᎷᎷᎬᎠ
thanks Dima
MᏫᎻᎯᎷᎷᎬᎠ
but hold on
MᏫᎻᎯᎷᎷᎬᎠ
why I should write <T>
MᏫᎻᎯᎷᎷᎬᎠ
it is already there when I inherited both structs
Dima
Because it’s unknown type without being explicit
MᏫᎻᎯᎷᎷᎬᎠ
Parra
hey guys
Parra
I'm thinking to benchmark metacall
Parra
it's a library to allow ffi between languages
Parra
I'm thinking on make a example calling python code from c
Parra
one implementation with metacall, the other with python C API
Parra
do you think it will be enough?
Parra
I want to measure the call cost
Parra
because I already have benchmarks on the FaaS
BinaryByter
Well since it depends on the plugins you use, you should probably make minimal plugins
BinaryByter
to check the speed of *just* the core
many
How to make C++ code look cleaner?
BinaryByter
start by avoiding code smells
BinaryByter
then, remove all the comments that you have put in your code
BinaryByter
whever you NEED a comment, put that into a function that has a good name
Parra
Parra
but there is a problem
Parra
i do magic to embed nodejs
BinaryByter
oh?
Parra
so i cannot test cost of embeding nodejs without metacall
Parra
because nodejs itself isnt embeddable
BinaryByter
Mhh
BinaryByter
🤔
Parra
it's a trash nodejs
Parra
so i cannot compare to anything
Parra
i can call c from nodejs but that's another history