Bitwise Operators in Python - Tutorial & Application Fields

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 46

  • @gambichiang2012
    @gambichiang2012 6 місяців тому +2

    I stuck on Cisco Python 3.3.5 and your explanation is much clearer. Thanks a lot.

  • @calitts4708
    @calitts4708 3 роки тому +14

    Hey! Just realize you reached 100k! Congrats!

  • @aditya_asundi
    @aditya_asundi 3 роки тому +1

    Congrats on 100k!!

  • @rajchakravarthy1132
    @rajchakravarthy1132 2 роки тому

    Really a great explanation! Thank you.

  • @sirojiddinyakubov
    @sirojiddinyakubov 2 роки тому +1

    very good video

  • @josemanz
    @josemanz Рік тому

    Thanks a lot.

  • @sarvarjuraev1376
    @sarvarjuraev1376 3 місяці тому

    Thanks a lot

  • @idabomofavour286
    @idabomofavour286 Рік тому

    thanks man

  • @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 роки тому +1

      I test it after watching this video. The speed is the same.
      For boosting speed you should use cython.

  • @minegun7248
    @minegun7248 3 роки тому

    Only 400 more brother

  • @thomasgoodwin2648
    @thomasgoodwin2648 3 роки тому +11

    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 місяців тому +1

      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 роки тому +9

    This is exactly what I've been missing about these bitwise operators!!
    Thank you, great video!

  • @vladimirtayzhev4211
    @vladimirtayzhev4211 2 роки тому +2

    Thanks man! I really loved the Application fields. Not many youtubers list examples of applications. This is most useful.

  • @MajonezaEU
    @MajonezaEU 8 місяців тому

    thy man you saved my life

  • @bhavyamverma70
    @bhavyamverma70 3 роки тому +2

    Nice video bro, just want to ask what is theme of your pycharm?

    • @NeuralNine
      @NeuralNine  3 роки тому +1

      One dark

    • @bhavyamverma70
      @bhavyamverma70 3 роки тому

      @@NeuralNine thankyou bro, I love your videos , direct at point , good explanation.

  • @jim2376
    @jim2376 4 місяці тому

    Good video. I'm a rookie and was having trouble with bitwise.

  • @ChristopherBruns-o7o
    @ChristopherBruns-o7o Місяць тому

    I don't how he is deciding for 2 & 1.

  • @DeathRebel369
    @DeathRebel369 Рік тому

    Bruh

  • @_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!

  • @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!

  • @Sam_A2
    @Sam_A2 3 роки тому

    Please continue with the codewars challenges series, they're pretty entertaining and engaging

  • @dewe1144
    @dewe1144 3 роки тому

    congrats for 100k

  • @insho.
    @insho. 8 місяців тому

    quick, precise. thanks

  • @JLSXMK8
    @JLSXMK8 3 роки тому

    Python has both a bin() and hex() operator, I just realized!

  • @shikharadhikari
    @shikharadhikari 3 роки тому

    GG 100k🔥❤️

  • @someoneoutthere3586
    @someoneoutthere3586 Рік тому

    Thanks a lot! This is really helpful.

  • @johnyprigioni859
    @johnyprigioni859 Рік тому

    Super helpful, ty so much!

  • @achiyederi3622
    @achiyederi3622 3 роки тому

    Just learned it this weekend 😃.

  • @sc0urge561
    @sc0urge561 3 роки тому

    Congrats to the 100k subs bro

  • @devonhurd7013
    @devonhurd7013 Рік тому

    dude is on gear big time

  • @nimanazari6850
    @nimanazari6850 2 роки тому

    thanks a lot, it was amazing 👏❤

  • @anonlegion9096
    @anonlegion9096 3 роки тому

    you're my hero Flori!

  • @minegun7248
    @minegun7248 3 роки тому

    Congrats on 100k!

  • @yusiferzendric1489
    @yusiferzendric1489 3 роки тому

    Congratulations

  • @zeynepyarensargecili5623
    @zeynepyarensargecili5623 Рік тому

    thank youu

  • @rtr195807
    @rtr195807 3 роки тому

    Danks again.

  • @minegun7248
    @minegun7248 3 роки тому

    100 more

  • @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