MᏫᎻᎯᎷᎷᎬᎠ
S.
😂 I actually run a dos 6.22 with turbo c 2.01 ... for fun
Anonymous
C++ download link plz
"How do I install C.exe ???"
MᏫᎻᎯᎷᎷᎬᎠ
S.
lol
MᏫᎻᎯᎷᎷᎬᎠ
Always begging
S.
Just nostalgia
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
Dima
Bhaag saale
/warn English only
Jaun
Ok
Jaun
But why only English is compulsory
Jaun
Is anyone here who know Hindi??
Nikolai
Hello everybody!
S.
But why only English is compulsory
Since it's an international group, it's annoying to see incomprehensible contents only known by some circle of people.
Dima
Is anyone here who know Hindi??
No, everyone gets banned for that
Jaun
Ok
S.
Thanks bro !👍
I assume you can install it in DOS ... it would require some google work
Anonymous
Fine,I am a beginner
Use gcc or clang, for windows have a look on MSVS
S.
Yes, better to use modern ones if you're a beginner
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
: base1<T>(), ...
MᏫᎻᎯᎷᎷᎬᎠ
Probably missed explicit template
derive(T a>: 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?
BinaryByter
do you think it will be enough?
depending on what you want to measure
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
to check the speed of *just* the core
that's what i want to do
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