12 Replies - 1031 Views - Last Post: 25 April 2013 - 09:57 PM

#1 olimoli123  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 35
  • Joined: 01-February 09

Binary and Programming

Posted 23 April 2013 - 07:41 PM

I sat down and started to study my Software Development course for a big exam and came across the topic of Binary and came to think to myself - "Would binary be necessarily needed in the future of programming?"

It seems everything is pretty much already in code syntax's, but does anyone actually use binary for certain things in programming?
Is This A Good Question/Topic? 0
  • +

Replies To: Binary and Programming

#2 GunnerInc  Icon User is offline

  • "Hurry up and wait"
  • member icon




Reputation: 856
  • View blog
  • Posts: 2,246
  • Joined: 28-March 11

Re: Binary and Programming

Posted 23 April 2013 - 07:53 PM

Uh, yes. EVERYTHING is binary! It is the only thing the CPU knows, 1 or 0, on or off. If you don't understand binary, how would you twiddle bits? Files are stored as binary, math is binary, internet is binary, etc...; understanding binary will always be needed.

This really isn't a topic for the Lounge, I will move this on over to, let's say, Software Development...
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10188
  • View blog
  • Posts: 37,629
  • Joined: 27-December 08

Re: Binary and Programming

Posted 23 April 2013 - 07:59 PM

Bit twiddling is important, especially as you get into topics like hashing and low-level development. For your average business application, you probably don't need to know binary.
Was This Post Helpful? 0
  • +
  • -

#4 olimoli123  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 35
  • Joined: 01-February 09

Re: Binary and Programming

Posted 23 April 2013 - 08:02 PM

Ah I see. Never done any bit-twiddling so far, but i guess i have a lot to learn haha! What would Bit-twiddling be used for?
Was This Post Helpful? 0
  • +
  • -

#5 Ahmed92  Icon User is offline

  • New D.I.C Head

Reputation: -8
  • View blog
  • Posts: 42
  • Joined: 10-August 12

Re: Binary and Programming

Posted 23 April 2013 - 08:04 PM

How can I write a program using binary?
Was This Post Helpful? -1
  • +
  • -

#6 olimoli123  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 35
  • Joined: 01-February 09

Re: Binary and Programming

Posted 23 April 2013 - 08:05 PM

View PostAhmed92, on 23 April 2013 - 09:04 PM, said:

How can I write a program using binary?

I'd say programs shouldnt be written in binary, thats why there are programming languages! I assume bit twiddling is just making small modifications haha.
Was This Post Helpful? 0
  • +
  • -

#7 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7294
  • View blog
  • Posts: 12,149
  • Joined: 19-March 11

Re: Binary and Programming

Posted 23 April 2013 - 08:07 PM

View Postolimoli123, on 23 April 2013 - 10:02 PM, said:

What would Bit-twiddling be used for?


Ask your father...
Was This Post Helpful? 0
  • +
  • -

#8 olimoli123  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 35
  • Joined: 01-February 09

Re: Binary and Programming

Posted 23 April 2013 - 08:09 PM

View Postjon.kiparsky, on 23 April 2013 - 09:07 PM, said:

View Postolimoli123, on 23 April 2013 - 10:02 PM, said:

What would Bit-twiddling be used for?


Ask your father...


He told me to come here sir.
Was This Post Helpful? 0
  • +
  • -

#9 Ahmed92  Icon User is offline

  • New D.I.C Head

Reputation: -8
  • View blog
  • Posts: 42
  • Joined: 10-August 12

Re: Binary and Programming

Posted 23 April 2013 - 08:10 PM

I want to create an application using binary.. any tutorials?
Was This Post Helpful? -1
  • +
  • -

#10 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7294
  • View blog
  • Posts: 12,149
  • Joined: 19-March 11

Re: Binary and Programming

Posted 23 April 2013 - 08:16 PM

View PostAhmed92, on 23 April 2013 - 10:10 PM, said:

I want to create an application using binary.. any tutorials?



Probably the thing to do would be to get hold of an old Altair 8800 or an emulator. The most basic mode of programming for those involved entering machine instructions and data registers in binary via a set of switches on the front of them.

I know that there are emulators out there, and the operator's manual is available as a scan (In fact, I have a printout of it on a pile of papers by my desk - don't ask me why...)

As it turns out, the Altair is historically an interesting machine. It was one of the earliest home computers, and it was the machine that launched Microsoft, when Bill Gates wrote a BASIC interpreter for it. Jobs and Wozniak also hacked on it, as part of the Homebrew Computer Club, if I remember right.
Was This Post Helpful? 1
  • +
  • -

#11 olimoli123  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 35
  • Joined: 01-February 09

Re: Binary and Programming

Posted 23 April 2013 - 08:18 PM

View Postjon.kiparsky, on 23 April 2013 - 09:16 PM, said:

View PostAhmed92, on 23 April 2013 - 10:10 PM, said:

I want to create an application using binary.. any tutorials?



Probably the thing to do would be to get hold of an old Altair 8800 or an emulator. The most basic mode of programming for those involved entering machine instructions and data registers in binary via a set of switches on the front of them.

I know that there are emulators out there, and the operator's manual is available as a scan (In fact, I have a printout of it on a pile of papers by my desk - don't ask me why...)

As it turns out, the Altair is historically an interesting machine. It was one of the earliest home computers, and it was the machine that launched Microsoft, when Bill Gates wrote a BASIC interpreter for it. Jobs and Wozniak also hacked on it, as part of the Homebrew Computer Club, if I remember right.


Great way to handle a troll post hahaha!
Was This Post Helpful? 0
  • +
  • -

#12 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 571
  • View blog
  • Posts: 2,979
  • Joined: 19-May 09

Re: Binary and Programming

Posted 25 April 2013 - 09:52 PM

There are 10 kinds of people in the world: those who understand binary and those who don't.
Was This Post Helpful? 0
  • +
  • -

#13 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7294
  • View blog
  • Posts: 12,149
  • Joined: 19-March 11

Re: Binary and Programming

Posted 25 April 2013 - 09:57 PM

View PostBobRodes, on 25 April 2013 - 11:52 PM, said:

There are 10 kinds of people in the world: those who understand binary and those who don't.



... and the E different gradations of understanding that fall in between those extremes.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1