Тёмный

Bitwise Operators in Python - Tutorial & Application Fields 

NeuralNine
Подписаться 373 тыс.
Просмотров 29 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 3 года назад
This is exactly what I've been missing about these bitwise operators!! Thank you, great video!
@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 6 месяцев назад
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
@vladimirtayzhev4211
@vladimirtayzhev4211 2 года назад
Thanks man! I really loved the Application fields. Not many youtubers list examples of applications. This is most useful.
@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!
@MajonezaEU
@MajonezaEU 9 месяцев назад
thy man you saved my life
@insho.
@insho. 8 месяцев назад
quick, precise. thanks
@achiyederi3622
@achiyederi3622 3 года назад
Just learned it this weekend 😃.
@Sam_A2
@Sam_A2 3 года назад
Please continue with the codewars challenges series, they're pretty entertaining and engaging
@aditya_asundi
@aditya_asundi 3 года назад
Congrats on 100k!!
@trebelojaques458
@trebelojaques458 3 года назад
Where datt Silver play button be ❤️❤️ Congratulations!
@johnyprigioni859
@johnyprigioni859 Год назад
Super helpful, ty so much!
@rajchakravarthy1132
@rajchakravarthy1132 2 года назад
Really a great explanation! Thank you.
@someoneoutthere3586
@someoneoutthere3586 Год назад
Thanks a lot! This is really helpful.
@devonhurd7013
@devonhurd7013 Год назад
dude is on gear big time
@sc0urge561
@sc0urge561 3 года назад
Congrats to the 100k subs bro
@sirojiddinyakubov
@sirojiddinyakubov 2 года назад
very good video
@josemanz
@josemanz Год назад
Thanks a lot.
@minegun7248
@minegun7248 3 года назад
Congrats on 100k!
@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.
@sarvarjuraev1376
@sarvarjuraev1376 3 месяца назад
Thanks a lot
@anonlegion9096
@anonlegion9096 3 года назад
you're my hero Flori!
@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!
@nimanazari6850
@nimanazari6850 2 года назад
thanks a lot, it was amazing 👏❤
@idabomofavour286
@idabomofavour286 Год назад
thanks man
@dewe1144
@dewe1144 3 года назад
congrats for 100k
@shikharadhikari
@shikharadhikari 3 года назад
GG 100k🔥❤️
@rtr195807
@rtr195807 3 года назад
Danks again.
@Tom-dq7tl
@Tom-dq7tl Год назад
thanks!
@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.
@yusiferzendric1489
@yusiferzendric1489 3 года назад
Congratulations
@zeynepyarensargecili5623
@zeynepyarensargecili5623 Год назад
thank youu
@JLSXMK8
@JLSXMK8 3 года назад
Python has both a bin() and hex() operator, I just realized!
@ChristopherBruns-o7o
@ChristopherBruns-o7o Месяц назад
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
Далее
10 Crazy Python Operators That I Rarely Use
11:37
Просмотров 26 тыс.
Bitwise Operators and WHY we use them
8:41
Просмотров 80 тыс.
КОГДА НАКРОШИЛ НА ПОЛ #shorts
00:19
Data Classes in Python Are The New Standard
20:34
Просмотров 67 тыс.
Intro to Binary and Bitwise Operators in C++
21:40
Просмотров 134 тыс.
DuckDB in Python - The Next Pandas Killer?
19:32
Просмотров 31 тыс.
Bitwise Operations & Bit Masking
13:08
Просмотров 35 тыс.
How To Write Better Functions In Python
14:17
Просмотров 29 тыс.
Please Master These 10 Python Functions…
22:17
Просмотров 170 тыс.
Python Decorators in 15 Minutes
15:14
Просмотров 444 тыс.