Bitwise Operators in Python - Tutorial & Application Fields

  Рет қаралды 28,289

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 46
@calitts4708
@calitts4708 3 жыл бұрын
Hey! Just realize you reached 100k! Congrats!
@gambichiang2012
@gambichiang2012 6 ай бұрын
I stuck on Cisco Python 3.3.5 and your explanation is much clearer. Thanks a lot.
@kenny-kvibe
@kenny-kvibe 2 жыл бұрын
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.
@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 5 ай бұрын
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
@jim2376
@jim2376 4 ай бұрын
Good video. I'm a rookie and was having trouble with bitwise.
@_base_2
@_base_2 Жыл бұрын
Very Clear! Great Examples! Thanks Your video came in handy for interview practice problems!
@aditya_asundi
@aditya_asundi 3 жыл бұрын
Congrats on 100k!!
@trebelojaques458
@trebelojaques458 3 жыл бұрын
Where datt Silver play button be ❤️❤️ Congratulations!
@rajchakravarthy1132
@rajchakravarthy1132 2 жыл бұрын
Really a great explanation! Thank you.
@insho.
@insho. 7 ай бұрын
quick, precise. thanks
@achiyederi3622
@achiyederi3622 3 жыл бұрын
Just learned it this weekend 😃.
@MajonezaEU
@MajonezaEU 8 ай бұрын
thy man you saved my life
@Sam_A2
@Sam_A2 3 жыл бұрын
Please continue with the codewars challenges series, they're pretty entertaining and engaging
@sc0urge561
@sc0urge561 3 жыл бұрын
Congrats to the 100k subs bro
@someoneoutthere3586
@someoneoutthere3586 Жыл бұрын
Thanks a lot! This is really helpful.
@johnyprigioni859
@johnyprigioni859 11 ай бұрын
Super helpful, ty so much!
@minegun7248
@minegun7248 3 жыл бұрын
Congrats on 100k!
@sirojiddinyakubov
@sirojiddinyakubov 2 жыл бұрын
very good video
@josemanz
@josemanz 11 ай бұрын
Thanks a lot.
@sarvarjuraev1376
@sarvarjuraev1376 2 ай бұрын
Thanks a lot
@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!
@idabomofavour286
@idabomofavour286 Жыл бұрын
thanks man
@anonlegion9096
@anonlegion9096 3 жыл бұрын
you're my hero Flori!
@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.
@nimanazari6850
@nimanazari6850 2 жыл бұрын
thanks a lot, it was amazing 👏❤
@devonhurd7013
@devonhurd7013 Жыл бұрын
dude is on gear big time
@dewe1144
@dewe1144 3 жыл бұрын
congrats for 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.
@rtr195807
@rtr195807 3 жыл бұрын
Danks again.
@Tom-dq7tl
@Tom-dq7tl Жыл бұрын
thanks!
@shikharadhikari
@shikharadhikari 3 жыл бұрын
GG 100k🔥❤️
@zeynepyarensargecili5623
@zeynepyarensargecili5623 Жыл бұрын
thank youu
@yusiferzendric1489
@yusiferzendric1489 3 жыл бұрын
Congratulations
@JLSXMK8
@JLSXMK8 3 жыл бұрын
Python has both a bin() and hex() operator, I just realized!
@user-td4pf6rr2t
@user-td4pf6rr2t 29 күн бұрын
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 11 ай бұрын
Bruh
@minegun7248
@minegun7248 3 жыл бұрын
Only 400 more brother
What is Python's Main Function Useful For?
8:08
NeuralNine
Рет қаралды 77 М.
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 77 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 4,5 МЛН
Alat yang Membersihkan Kaki dalam Hitungan Detik 🦶🫧
00:24
Poly Holy Yow Indonesia
Рет қаралды 11 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
What is The Walrus Operator in Python?
12:45
NeuralNine
Рет қаралды 14 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Modern Python logging
21:32
mCoding
Рет қаралды 185 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 305 М.
JSON Tutorial in Python
13:22
NeuralNine
Рет қаралды 60 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 805 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 155 М.
Python dataclasses will save you HOURS, also featuring attrs
8:50
Make Your Python Code More Professional
19:43
NeuralNine
Рет қаралды 65 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 4,5 МЛН