Xor also has another interesting property. If you take a variable and xor it with some value, then xor it again with that same value, you get back the original variable. This makes it useful for encryption. It was also used a lot during the early days for crude graphics manipulation. All operators were used in 1s and 2s compliment integer math, logical reductions ( Karnaugh maps) and face it... digital computers, as they exist today, are composed of millions to billions of individual logic gates (and, or, nand, nor, xor, xnor). Bit level math used to be the 1st item in the computer science curriculum. The fact that it is now only mentioned as a kind of obscure side note kinda gives you an indication of far down the abstraction rabbit hole we have traveled.
I don't feel smart for immediately commenting before watching the video but could you do a video on a chatbot that could hold conversation and seem a bit more intelligent. I understand if not, that would be hard, no?
I stuck on Cisco Python 3.3.5 and your explanation is much clearer. Thanks a lot.
Hey! Just realize you reached 100k! Congrats!
Congrats on 100k!!
Really a great explanation! Thank you.
very good video
Thanks a lot.
Thanks a lot
thanks man
thanks!
How much faster is it to use bitwise operators to perform math like determining divisors or dividing by 2?
I test it after watching this video. The speed is the same.
For boosting speed you should use cython.
Only 400 more brother
Xor also has another interesting property. If you take a variable and xor it with some value, then xor it again with that same value, you get back the original variable. This makes it useful for encryption.
It was also used a lot during the early days for crude graphics manipulation.
All operators were used in 1s and 2s compliment integer math, logical reductions ( Karnaugh maps) and face it... digital computers, as they exist today, are composed of millions to billions of individual logic gates (and, or, nand, nor, xor, xnor).
Bit level math used to be the 1st item in the computer science curriculum. The fact that it is now only mentioned as a kind of obscure side note kinda gives you an indication of far down the abstraction rabbit hole we have traveled.
XOR is used in a similar manner in some versions of RAID. It can detect corrupted data and infer what it is to recover it
This is exactly what I've been missing about these bitwise operators!!
Thank you, great video!
Thanks man! I really loved the Application fields. Not many youtubers list examples of applications. This is most useful.
thy man you saved my life
Nice video bro, just want to ask what is theme of your pycharm?
One dark
@@NeuralNine thankyou bro, I love your videos , direct at point , good explanation.
Good video. I'm a rookie and was having trouble with bitwise.
I don't how he is deciding for 2 & 1.
Bruh
Very Clear! Great Examples! Thanks
Your video came in handy for interview practice problems!
Where datt Silver play button be ❤️❤️
Congratulations!
22:47 I believe this would be an effective way to swap two variables in any programming language; Heck, I just tried it in Java!
Please continue with the codewars challenges series, they're pretty entertaining and engaging
congrats for 100k
quick, precise. thanks
Python has both a bin() and hex() operator, I just realized!
GG 100k🔥❤️
Thanks a lot! This is really helpful.
Super helpful, ty so much!
Just learned it this weekend 😃.
Congrats to the 100k subs bro
dude is on gear big time
thanks a lot, it was amazing 👏❤
you're my hero Flori!
Congrats on 100k!
Congratulations
thank youu
Danks again.
100 more
I don't feel smart for immediately commenting before watching the video but could you do a video on a chatbot that could hold conversation and seem a bit more intelligent. I understand if not, that would be hard, no?
Pls bring on obsfucation in python plss