Bitwise Operators in Python - Tutorial & Application Fields

  Рет қаралды 29,241

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 46
@gambichiang2012
@gambichiang2012 9 ай бұрын
I stuck on Cisco Python 3.3.5 and your explanation is much clearer. Thanks a lot.
@calitts4708
@calitts4708 3 жыл бұрын
Hey! Just realize you reached 100k! Congrats!
@thomasgoodwin2648
@thomasgoodwin2648 3 жыл бұрын
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.
@PorkBoy69
@PorkBoy69 9 ай бұрын
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
@kenny-kvibe
@kenny-kvibe 3 жыл бұрын
This is exactly what I've been missing about these bitwise operators!! Thank you, great video!
@vladimirtayzhev4211
@vladimirtayzhev4211 2 жыл бұрын
Thanks man! I really loved the Application fields. Not many youtubers list examples of applications. This is most useful.
@aditya_asundi
@aditya_asundi 3 жыл бұрын
Congrats on 100k!!
@jim2376
@jim2376 7 ай бұрын
Good video. I'm a rookie and was having trouble with bitwise.
@sc0urge561
@sc0urge561 3 жыл бұрын
Congrats to the 100k subs bro
@minegun7248
@minegun7248 3 жыл бұрын
Congrats on 100k!
@JLSXMK8
@JLSXMK8 3 жыл бұрын
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!
@bhavyamverma70
@bhavyamverma70 3 жыл бұрын
Nice video bro, just want to ask what is theme of your pycharm?
@NeuralNine
@NeuralNine 3 жыл бұрын
One dark
@bhavyamverma70
@bhavyamverma70 3 жыл бұрын
@@NeuralNine thankyou bro, I love your videos , direct at point , good explanation.
@_base_2
@_base_2 Жыл бұрын
Very Clear! Great Examples! Thanks Your video came in handy for interview practice problems!
@trebelojaques458
@trebelojaques458 3 жыл бұрын
Where datt Silver play button be ❤️❤️ Congratulations!
@insho.
@insho. 10 ай бұрын
quick, precise. thanks
@johnyprigioni859
@johnyprigioni859 Жыл бұрын
Super helpful, ty so much!
@achiyederi3622
@achiyederi3622 3 жыл бұрын
Just learned it this weekend 😃.
@devonhurd7013
@devonhurd7013 Жыл бұрын
dude is on gear big time
@Sam_A2
@Sam_A2 3 жыл бұрын
Please continue with the codewars challenges series, they're pretty entertaining and engaging
@rajchakravarthy1132
@rajchakravarthy1132 2 жыл бұрын
Really a great explanation! Thank you.
@anonlegion9096
@anonlegion9096 3 жыл бұрын
you're my hero Flori!
@sirojiddinyakubov
@sirojiddinyakubov 2 жыл бұрын
very good video
@someoneoutthere3586
@someoneoutthere3586 Жыл бұрын
Thanks a lot! This is really helpful.
@MajonezaEU
@MajonezaEU 11 ай бұрын
thy man you saved my life
@dewe1144
@dewe1144 3 жыл бұрын
congrats for 100k
@shikharadhikari
@shikharadhikari 3 жыл бұрын
GG 100k🔥❤️
@ethan7930
@ethan7930 3 жыл бұрын
How much faster is it to use bitwise operators to perform math like determining divisors or dividing by 2?
@mohsenhaddadi1117
@mohsenhaddadi1117 3 жыл бұрын
I test it after watching this video. The speed is the same. For boosting speed you should use cython.
@josemanz
@josemanz Жыл бұрын
Thanks a lot.
@nimanazari6850
@nimanazari6850 2 жыл бұрын
thanks a lot, it was amazing 👏❤
@sarvarjuraev1376
@sarvarjuraev1376 5 ай бұрын
Thanks a lot
@idabomofavour286
@idabomofavour286 Жыл бұрын
thanks man
@yusiferzendric1489
@yusiferzendric1489 3 жыл бұрын
Congratulations
@Tom-dq7tl
@Tom-dq7tl Жыл бұрын
thanks!
@rtr195807
@rtr195807 3 жыл бұрын
Danks again.
@zeynepyarensargecili5623
@zeynepyarensargecili5623 Жыл бұрын
thank youu
@JLSXMK8
@JLSXMK8 3 жыл бұрын
Python has both a bin() and hex() operator, I just realized!
@ChristopherBruns-o7o
@ChristopherBruns-o7o 4 ай бұрын
I don't how he is deciding for 2 & 1.
@eepikki
@eepikki 3 жыл бұрын
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?
@alien_X1
@alien_X1 3 жыл бұрын
Pls bring on obsfucation in python plss
@minegun7248
@minegun7248 3 жыл бұрын
100 more
@DeathRebel369
@DeathRebel369 Жыл бұрын
Bruh
@minegun7248
@minegun7248 3 жыл бұрын
Only 400 more brother
Data Classes in Python Are The New Standard
20:34
NeuralNine
Рет қаралды 68 М.
5 Custom Python Decorators For Your Projects
25:40
NeuralNine
Рет қаралды 10 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
What is The Walrus Operator in Python?
12:45
NeuralNine
Рет қаралды 14 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
The Fastest Way to Loop in Python - An Unfortunate Truth
8:06
mCoding
Рет қаралды 1,4 МЛН
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 819 М.
What is Python's Main Function Useful For?
8:08
NeuralNine
Рет қаралды 83 М.
Progress Bars in Python Terminal
11:54
NeuralNine
Рет қаралды 105 М.
Mastering Python - Everything You Need To Know To Become a Python Master
16:02
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 622 М.
When Should You Use Generators in Python?
10:01
NeuralNine
Рет қаралды 6 М.