|  | |
11-23-2008, 01:22 AM
|
#1 (permalink)
|
Corrupt Techie Join Date: Sep 2005 Posts: 752
| 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?
__________________ |
| |
11-23-2008, 05:22 AM
|
#2 (permalink)
|
Join Date: Sep 2005 Location: Toronto, Canada Posts: 5,465
| 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.
|
| |
11-23-2008, 09:52 AM
|
#3 (permalink)
|
Join Date: Feb 2007 Posts: 6,362
| 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. |
| |
11-23-2008, 03:50 PM
|
#4 (permalink)
|
Join Date: Jul 2005 Location: England Posts: 2,157
| 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 |
| |
11-23-2008, 04:05 PM
|
#5 (permalink)
|
Software Developer Join Date: Mar 2006 Location: Columbus, OH Posts: 569
| 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. |
| |
11-26-2008, 12:31 AM
|
#6 (permalink)
|
Corrupt Techie Join Date: Sep 2005 Posts: 752
| Re: Writing a program in binary Quote:
Originally Posted by jaeusm 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.
__________________ |
| |
11-26-2008, 02:05 AM
|
#7 (permalink)
|
I am of the highest lvl.. Join Date: Oct 2007 Location: Sydney, Australia Posts: 2,452
| Re: Writing a program in binary Quote:
Originally Posted by aetherh4cker 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" |
| |
11-26-2008, 06:25 PM
|
#8 (permalink)
|
Join Date: Feb 2007 Posts: 6,362
| 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. |
| |
11-26-2008, 07:58 PM
|
#9 (permalink)
|
Electrical Systems Design Join Date: Jun 2008 Location: Maine, USA Posts: 1,646
| 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. |
| |
11-26-2008, 08:16 PM
|
#10 (permalink)
|
Join Date: Sep 2005 Location: Toronto, Canada Posts: 5,465
| 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). |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |