Computer Forums Binary

 06-14-2012, 03:56 PM #1 Baseband Member   Join Date: Jun 2012 Posts: 79 Binary I just recently learned binary, and I'm wondering what I can possibly to with it. I learned it to impress my friends, but now I want to put it to use, anyone know of it's uses? __________________ __________________
 06-14-2012, 04:50 PM #2 Site Team     Join Date: Sep 2006 Posts: 10,720 Re: Binary I learned Binary 4 years ago in school and short of using it to explain some low-level networking stuff have only used it to read my binary clock. I would say an x to binary and vis-versa would be nice but there are so many of those on the internet already it's kind of pointless IMO. __________________ __________________ "as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it" Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
 06-18-2012, 06:21 AM #3 Site Team     Join Date: Jul 2009 Location: England, UK Posts: 3,434 Re: Binary Sometimes when programming it helps when you need to bit-fiddle integers (since most languages represent them in binary.) Most common case for this is when you're reading back information from a serial port (USB or RS232) - it's often encoded in some way that needs a bit of bit fiddling to extract the values you want. Other than that, it's the *way of thinking* that helps more than the actual act of learning binary. You can traverse a (balanced) binary tree for instance by incrementing a number in binary and then reading it as an encoded form of the path through that tree - say if a digit is 0 you go left, if it's 1 you go right. Make the number of digits as long as the depth of the tree and hey presto, you've got an easy way of calculating all available paths in an encoded form. Think of it as another tool in your arsenal of thinking outside the box __________________ Save the whales, feed the hungry, free the mallocs.
 06-19-2012, 09:45 AM #4 Beta Member   Join Date: Apr 2012 Location: United States Posts: 2 Re: Binary I only had experience on assembly language before, and it's really not difficult to handle it. It had similar functionality as C language, only thing need to remeber is that there are only limited variables that you can use and some variables are register for system use. __________________
06-19-2012, 09:58 AM   #5
Site Team

Join Date: Jul 2009
Location: England, UK
Posts: 3,434
Re: Binary

Quote:
 Originally Posted by firstStep I only had experience on assembly language before, and it's really not difficult to handle it. It had similar functionality as C language, only thing need to remeber is that there are only limited variables that you can use and some variables are register for system use.
Binary != Assembly
__________________
Save the whales, feed the hungry, free the mallocs.

 06-19-2012, 10:08 AM #6 Fully Optimized     Join Date: Jun 2009 Posts: 4,867 Re: Binary There are only 10 kinds of people in this world. Those who can read binary and those who can't. Sorry couldn't resist. Beyond that I don't know anything impressive to do with it. __________________ __________________ **************************************** Don't take life too seriously -- no one gets out alive. Plus, who wants to arrive to the hereafter in pristine condition wearing a suit and tie? I want to slide in sideways, worn out, used up, hair a mess, clothes tattered, & screaming, "Whooo! What a ride!" ****************************************