Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Writing a program in binary
Closed Thread
Old 11-23-2008, 01:22 AM   #1 (permalink)
aetherh4cker's Avatar
 
Corrupt Techie

Join Date: Sep 2005

Posts: 752

aetherh4cker is on a distinguished road

Default Writing a program in binary

Can someone give me any information on sitting down and writing 1's and 0's to make your program?

It's so impractical that even Google couldn't find anything for me, but I would really like to see a Hello World tutorial in binary.

Anyone have any information on this at all? It *has* to be possible, right?
__________________
aetherh4cker is offline  
Old 11-23-2008, 05:22 AM   #2 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,465

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: Writing a program in binary

Not possible on the machines we have now. Closest you can get is Assembly Language.
__________________


Last edited by Baez; 11-23-2008 at 05:25 AM.
Baez is offline  
Old 11-23-2008, 09:52 AM   #3 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,362

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Re: Writing a program in binary

I believe in the old days it was called bootstraping, but I am with Baez there is no really way for it to be done on modern machines as it was done with old computers using punch cards.
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

Saxon is offline  
Old 11-23-2008, 03:50 PM   #4 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,157

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Writing a program in binary

I remember programming in hex on a cut down Z80. I think it was a z80. Anyway Baez and Saxon are dead on.

PS that z80 programming is something I did in college as part of an electronics course. so if you are still thinking about this (I would not recommend thinking about it too much) then maybe you will be able to find a course with something similar.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 11-23-2008, 04:05 PM   #5 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Writing a program in binary

Quote:
It *has* to be possible, right?
Technically, yes, it is possible. However, there's really no value in doing it. If you want to work at the lowest levels, use assembly language -- that's what it's for.
jaeusm is offline  
Old 11-26-2008, 12:31 AM   #6 (permalink)
aetherh4cker's Avatar
 
Corrupt Techie

Join Date: Sep 2005

Posts: 752

aetherh4cker is on a distinguished road

Default Re: Writing a program in binary

Quote:
Originally Posted by jaeusm View Post
Technically, yes, it is possible. However, there's really no value in doing it. If you want to work at the lowest levels, use assembly language -- that's what it's for.
Meh, it's not really about doing anything constructive, it's about experiencing it.

You know how cool it would be to say "I programmed Hello World in binary"?

Where I come from, it would be *very* cool.
__________________
aetherh4cker is offline  
Old 11-26-2008, 02:05 AM   #7 (permalink)
zedman3d's Avatar
 
I am of the highest lvl..

Join Date: Oct 2007

Location: Sydney, Australia

Posts: 2,452

zedman3d will become famous soon enoughzedman3d will become famous soon enough

Default Re: Writing a program in binary

Quote:
Originally Posted by aetherh4cker View Post
Meh, it's not really about doing anything constructive, it's about experiencing it.

You know how cool it would be to say "I programmed Hello World in binary"?

Where I come from, it would be *very* cool.
Round here you'd get bashed.
__________________



My pick up line is: I know Vernong.

Trotter: "Ask all the questions you want... whatever we don't know, we'll make
up something that sounds pretty good."

Antec-User: "I have a display now, but the darn system is crash-bandicoot on stock"
zedman3d is offline  
Old 11-26-2008, 06:25 PM   #8 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,362

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Re: Writing a program in binary

No bashing has taken place, we are just saying that while it is theoretically possible it isn't going to happen now a days. If he was able to find one of the much older computers (pre 80's) he could take a pop at it but it just isnt going to happen on modern hardware.
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

Saxon is offline  
Old 11-26-2008, 07:58 PM   #9 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Writing a program in binary

I applaud your enthusiasm aetherh4cker, although I personally would find the sheer number of 1's and 0's required would be like staring at a paisley wallpaper pattern for 10 hours .... I would at least want to make it hexadecimal ! Binary shorthand so to speak, a little more human-friendly anyway.
oldskool is offline  
Old 11-26-2008, 08:16 PM   #10 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,465

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: Writing a program in binary

If you want a rediculously hard language with an actual compiler try Brainf**k (yes that's the actual name with asterisks).
__________________

Baez is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my writing tablet chatfouz Everything Laptops 0 10-11-2008 10:29 PM
BFG Announces Graphics Card 100 Day Trade Up Program Osiris Other Computer HW Topics 5 03-18-2008 08:34 PM
Join The Windows Feedback Program and grab some free apps Osiris Windows Operating Systems and Software 4 12-14-2007 05:45 PM
friends log Static_11 HijackThis Logs (finished) 11 11-25-2007 10:27 PM