MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Francisco
MᏫᎻᎯᎷᎷᎬᎠ
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
MᏫᎻᎯᎷᎷᎬᎠ
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
Artöm
But it was quite limited
MᏫᎻᎯᎷᎷᎬᎠ
Dima
No worries
DanielQR
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
Nils
Nameful
do the headers match the object files?
Nils
Wait. My libraries disappeared
Nameful
Nils
Okay that was the fault
Nils
but thx
布丁
Choose heavyweight libraries next time
Nameful
布丁
So they won’t get disappeared
Nils
lol
Abdelnaem
Hi What mean this is in c++ (&&)
Anonymous
Dima
布丁
rvalue reference?
Dima
lol what if it is a move constructor bruh
Abdelnaem
MᏫᎻᎯᎷᎷᎬᎠ
I miss @ollirz
Asad
what are you? a dinosour ?
Artöm
Error message is xlear, read it damn
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
Dima
but read the rules first
Paride
thank you i will do it now 😄
Dima
Dima
/rules
Dima
Does it work?
Nameful
Nameful
It only takes me to my conversation with Rose
Dima
https://t.me/programminginc/217064
Dima
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
Anonymous
should i add it to the pinned post?
Paride
because i havent seen anything about external link..
Dima
Nameful
Paride
if somebody want to see the code
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…
Anonymous
Anonymous