BinaryByter
try it out for yourself
Shivam
falcons are technically eatable
Chinese peope can relate to this
Shivam
:3
BinaryByter
@Ariana1729 do you eat falcons often?
Mordechai
learncpp.com
I'm already following this website
Mordechai
can you recommend any books?
Shivam
@Ariana1729 do you eat falcons often?
I didn't know that a Chinese is in the group T_T
Ludovic 'Archivist'
I'm already following this website
C++ is a long way, expect 5 years of practice to get a good advanced level
Ludovic 'Archivist'
Troo
It took me a ten of years to get what I would call a confortable expertise
Ludovic 'Archivist'
And that expertise does not run beyond C++11
Ludovic 'Archivist'
I am probably at a fairly advanced level in more modern versions tho
Ludovic 'Archivist'
Somehow, all that expertise usefulness shatters away when I type a winapi function name
BinaryByter
xDD
Ludovic 'Archivist'
Mainly because winapi is quite carcinogenic
BinaryByter
man its made by ms
Ludovic 'Archivist'
It depends on the learner too
I learned Java and C# in a week
BinaryByter
Impressive
not imprussive, its just that all languages are similar
Ludovic 'Archivist'
Impressive
Both feel like toyish thingies
BinaryByter
Both feel like toyish thingies
they dont just feel like them tho
Shivam
Ikr
Ludovic 'Archivist'
Ludovic 'Archivist'
they dont just feel like them tho
Pro of Java is that code is easy to share over the network for distributed applications
Ludovic 'Archivist'
Pro of C# is that you can benefit of fast SIMD without using hardcore relocations
Ludovic 'Archivist'
+ you have some very nice gui tools
Yeah, the issue is that it is a laser cannon on a donkey
BinaryByter
Yeah, the issue is that it is a laser cannon on a donkey
i put that donkey onto my ferrari, so its fine
Ludovic 'Archivist'
May i know from where did you learn c#?
I took the Visual Studio IDE and spit code that work from my first impressions of how it should work
BinaryByter
i wasnt joking
BinaryByter
a cpp backend can fasten things by alot
Shivam
Wow
Shivam
Yeah
Ludovic 'Archivist'
:|
Actually, C# is simple, but also off topic, let me send you a guide in DM
BinaryByter
BinaryByter
btw: a smalr test i did today
Mihail
What about std::bitset?
Mihail
With a bool
BinaryByter
prolly even slower
Mihail
Or is that the same?
BinaryByter
yea std::bitset is really just a wrapper around thut
BinaryByter
waaiit
BinaryByter
noo
BinaryByter
std::bitset is for making bitsets outside of classes
BinaryByter
clever
Mihail
Mihail
I only recently discovered it
BinaryByter
its only useful in very limited cases
Mihail
Was solving something on LeetCode and this helped a lot
BinaryByter
dont expect memory savings from it
Mihail
Had to check if it's a power of 4. Which would mean having 1 true bit in an odd position
BinaryByter
the compiler will still do its alignment thing + bitshifts are expensive
Mihail
Was something like that
Ludovic 'Archivist'
Bitset and vector<bool> are hella slow
BinaryByter
bitshifts are very very slow
Alejandro
why the fuck does that compile?
The assignment returns the value being assigned, so I guess that's why it works. The compiler just cast the int to bool
Avezy
Bitset and vector<bool> are hella slow
std::basic_string<bool> 😂
BinaryByter
not the same
BinaryByter
+kinda useless since bool has no defined size
Ludovic 'Archivist'
std::basic_string<bool> 😂
This actually work like what one would expect from a non standard vector<bool>