MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
C++ is C++ and Rust is Rust lol
Nooo There is someone who implemented a borrow checker with C++ :P
Francisco
Some big companies are migrating their codebases to Rust Amazon Apple Even Verona made by Microsoft is inspired by Rust
Many companies migrated a lot of code to Python 2 back then, and many of those companies are still stuck at Python 2
MᏫᎻᎯᎷᎷᎬᎠ
😂😂😂😂😂
Francisco
It's tricky to migrate to another language, because a minor mistake in the evolving process can lead to those situations, when nobody uses the new features due to backward compatibility
Francisco
And migrating is expensive
MᏫᎻᎯᎷᎷᎬᎠ
But for sure These companies seek for easiness not performance
MᏫᎻᎯᎷᎷᎬᎠ
Rust Implementors state it indirectly that "we'll kick C++ ass" In cover of "no language is better than the other"
MᏫᎻᎯᎷᎷᎬᎠ
"Rust is not made to replace C++, but we have features that will let you move from C++ to Rust"
Francisco
Obviously Rust is designed around avoiding mistakes many other languages have made in the past, and with a more modern approach. The thing is that they will make new mistakes that future languages will avoid in the future, and the wheel spins and spins. Yes, editions may be the solution to backward compatibility, but we don't know what's about to come
Francisco
And also remember that, the moment you write a piece of code, it becomes legacy code
Dima
lol this is c++ group not rust
Artöm
But it was quite limited
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
lol this is c++ group not rust
Both are system programming so I think it's legal Dima
Francisco
lol this is c++ group not rust
Well, we're discussing wether Rust can substitute C++ or not, and I think it's justified
Dima
Both are system programming so I think it's legal Dima
Yeah but c++ is c++ and rust is rust:) Rust will not replace c++
Dima
No worries
Dima
Lol
Nils
Hi, what is wrong with my code? https://hastebin.com/erexuwuqus.cpp Compilation results in: https://hastebin.com/sijenekoyo.rb I know the fault must be in line 42 but I have no idea how to get rid of that and what exactly is even wrong.
Nameful
do the headers match the object files?
Artöm
-ljsoncpp -lcurl -lcurlpp
Are they all in standard paths?
Nils
Wait. My libraries disappeared
Nils
Okay that was the fault
Nils
but thx
布丁
Choose heavyweight libraries next time
布丁
So they won’t get disappeared
Nils
lol
Abdelnaem
Hi What mean this is in c++ (&&)
Anonymous
布丁
rvalue reference?
Dima
lol what if it is a move constructor bruh
Anonymous
Your USB is broken yet? Maybe I can help you
Not mine i was replying to the person who had sent that msg here
Abdelnaem
AND operator
Thanks 🤗
MᏫᎻᎯᎷᎷᎬᎠ
I miss @ollirz
Asad
what are you? a dinosour ?
Artöm
Error message is xlear, read it damn
Artöm
lol what if it is a move constructor bruh
Of course it isnt Klazz::Klazz(const Klazz bitand rhs); Klazz::Klazz(Klazz and rhs);
Paride
hello guys can i ask for help ? im a beginner in coding and im triyng to implement an ai in a project i've seen in github. sorry for my bad english..
︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎
Dima
but read the rules first
Paride
thank you i will do it now 😄
Nameful
but read the rules first
hmm yes very good rules
Dima
/rules
Dima
Does it work?
Nameful
Does it work?
Not for me
Nameful
It only takes me to my conversation with Rose
Dima
https://t.me/programminginc/217064
Nameful
https://t.me/programminginc/217064
have you considered putting that link right in the description?
Dima
so he’ll see
Paride
okay i read the rules, i have one question can i link the github project im using for my test ?
Nameful
that would let you keep the pinned message and still have the rules easily accessible
Anonymous
https://t.me/programminginc/217064
Yeah I've this saved
Anonymous
should i add it to the pinned post?
Paride
because i havent seen anything about external link..
Dima
should i add it to the pinned post?
I wanted your opinion lol
Paride
if somebody want to see the code
Anonymous
I wanted your opinion lol
Added to group description
Dima
nice
Dima
for such places I recommend you to use references instead of a pointer
Dima
so it can never be null
Nils
Hi, my C++ result is slower than exactly the same but converted to python… Any idea? C++: https://hastebin.com/nucudajape.cpp Python: https://hastebin.com/yojicedefo.py
Nils
C++ is around 200 ms slower here!
Nils
Which means that there is some performance problem…