The Code behind Coding Languages?

Off Topic (Everything besides dubstep)
Forum rules
Please read and follow this sub-forum's specific rules listed HERE, as well as our sitewide rules listed HERE.

Link to the Secret Ninja Sessions community ustream channel - info in this thread
User avatar
fractal
Mako
Posts: 12133
Joined: Tue Apr 18, 2006 5:58 pm
Location: emerald city, cascadia

Re: The Code behind Coding Languages?

Post by fractal » Wed Aug 03, 2011 6:04 pm

wormcode wrote:Machine code? That's when it gets down to binary and meaningless strings of letters (as opposed to if then else).
Assembly/ASM is probably the lowest level language there is, or at least the most widely used.
sub.wise:.
slow down
epochalypso wrote:man dun no bout da 'nuum

User avatar
Phyalow
Posts: 710
Joined: Thu Oct 01, 2009 8:56 am
Location: Auckland, NZ

Re: The Code behind Coding Languages?

Post by Phyalow » Wed Aug 03, 2011 8:29 pm

If your interested in this go and read this http://www.amazon.com/Introduction-Comp ... 0072467509. Covers Machine code (& Binary operations) -> Assembly -> C

User avatar
stappard
Posts: 1529
Joined: Mon Feb 09, 2009 1:56 am
Location: se5

Re: The Code behind Coding Languages?

Post by stappard » Wed Aug 03, 2011 9:02 pm

yeah this wasnt that deep of a question

User avatar
Naan_Bread
Posts: 879
Joined: Sat May 28, 2011 2:24 pm

Re: The Code behind Coding Languages?

Post by Naan_Bread » Wed Aug 03, 2011 9:06 pm

A code within a code you say?

[img]inceptionmemeofyourchoice.jpeg[/img]

User avatar
hugh
Posts: 4164
Joined: Wed Jan 23, 2008 12:00 pm
Contact:

Re: The Code behind Coding Languages?

Post by hugh » Wed Aug 03, 2011 9:53 pm

Image
Lost Dreams - Final
Soundcloud
Ipso Facto - Final
Soundcloud

slothrop
Posts: 2655
Joined: Thu Aug 24, 2006 11:59 am

Re: The Code behind Coding Languages?

Post by slothrop » Wed Aug 03, 2011 11:03 pm

Phyalow wrote:If your interested in this go and read this http://www.amazon.com/Introduction-Comp ... 0072467509. Covers Machine code (& Binary operations) -> Assembly -> C
Might have a look at that at some point.

This:
http://www.amazon.com/New-Turing-Omnibu ... 544&sr=1-1
also covers some of it, in a more informal (but still technically solid) way. And is cheaper...

slothrop
Posts: 2655
Joined: Thu Aug 24, 2006 11:59 am

Re: The Code behind Coding Languages?

Post by slothrop » Wed Aug 03, 2011 11:07 pm

collige wrote:
ketamine wrote:
pkay wrote:likely the english meaning of if, else, and then had something to do with it

if you're asking who wrote C then that was Stroustrup. So he initially dictated what went into the C language
Right. I have no problem finding who defines languages, or originated them. Like I know HTML is “governed” by mysterious “Standards Organizations” who put in syntax, and take out syntax between versions, I’m asking WHAT LANGUAGE are CODING languages written in?

How did Stroustrup MAKE “C”
Assembly language, I assume since that's what C compiles into. Other high-level languages were probably written in C. You have to understand that for programming languages, the only thing that defines a "language" in any real way is the compiler/interpreter (because that's what enforces the syntax), which can be written in anything. I read somewhere that it's possible to write the compiler for a language in the language that it compiles. :-o
http://www.jargon.net/jargonfile/b/break-evenpoint.html

I don't know a great deal about this sort of stuff, but this kind of suggests that Kerninghan either wrote C in one of its predecessor languages (ie B) or wrote it in assembler initially and then wrote newer versions of the C compiler in older versions of C...

noam
Posts: 10825
Joined: Fri Jan 18, 2008 4:10 pm
Location: Manchester/Leeds

Re: The Code behind Coding Languages?

Post by noam » Thu Aug 04, 2011 2:28 am

£10 Bag wrote:It's all 0s and 1s at the end of the day. Read up on logic gates ( http://en.wikipedia.org/wiki/Logic_gate ) and how its possible to make flip-flops (memory) out of them. It's pretty amazing...or at least I was pretty amazed when I learnt about them. They're like the fundamental building blocks of digital electronics. On a side note, someone was trying to explain quantum computing to me the other day - fuck me, I thought standard binary computing was hard to understand!
doesn't quantum computing roughly mean that instead of just linear processing based on definite, i duno... ermmm... binary code(?!) a processor can process a '0' and a '1' at the same time so can operate at speeds which dwarf even the largest most powerful, standard processors now

i kind of thought about it like the difference between bacteria which grows 1 by 1 and bacteria which grows exponentially, 1 by 1 it would take 1000's of years for mould to grow on a coffee cup, exponential growth of bacteria means its fully possible for bacteria to grow and be visible within a couple of days

the quantum part is the wave of probability whereby a single command can either be a 0 or a 1 at any point??

but i dont know if thats correct at all, just how i imagined it after hearing someone attempt to explain it in a documentary!

tbf even the guy who runs the thing doesn't really know how it works... so i dont feel too bad!!

Shum
Posts: 9851
Joined: Sun May 16, 2010 9:14 am

Re: The Code behind Coding Languages?

Post by Shum » Thu Aug 04, 2011 2:37 am

Check out "A Shortcut Through Time: The Path To The Quantum Computer" by George Johnson (I think that's his name?). It gives a fairly practical, readable explanation of what Quantum computing is about.

noam
Posts: 10825
Joined: Fri Jan 18, 2008 4:10 pm
Location: Manchester/Leeds

Re: The Code behind Coding Languages?

Post by noam » Thu Aug 04, 2011 2:40 am

im about to watch Pioneers of Quantum Computing, have you seem that/recommend it?

Shum
Posts: 9851
Joined: Sun May 16, 2010 9:14 am

Re: The Code behind Coding Languages?

Post by Shum » Thu Aug 04, 2011 2:41 am

Nope, might have to check it out myself lol.

User avatar
fractal
Mako
Posts: 12133
Joined: Tue Apr 18, 2006 5:58 pm
Location: emerald city, cascadia

Re: The Code behind Coding Languages?

Post by fractal » Thu Aug 04, 2011 6:31 am

I really enjoyed this book, starts off very abstract, walks you through the ideas of relays and flip flops into volatile memory... Brings the concepts of alternate number systems alive before it introduces binary and hexi... Introduces logic gates and ideas like the ones/nines complement and then it slowly brings it all together to describe every part of the process. I can't really explain it very well, but it's completely different from any book I've ever read on the subject. Highly recommended!

http://www.amazon.com/Code-Language-Com ... 097&sr=1-3
sub.wise:.
slow down
epochalypso wrote:man dun no bout da 'nuum

Shum
Posts: 9851
Joined: Sun May 16, 2010 9:14 am

Re: The Code behind Coding Languages?

Post by Shum » Thu Aug 04, 2011 6:49 am

So cheap I double posted!
Last edited by Shum on Thu Aug 04, 2011 6:49 am, edited 1 time in total.

Shum
Posts: 9851
Joined: Sun May 16, 2010 9:14 am

Re: The Code behind Coding Languages?

Post by Shum » Thu Aug 04, 2011 6:49 am

Dirty cheap as well $US10!

User avatar
fractal
Mako
Posts: 12133
Joined: Tue Apr 18, 2006 5:58 pm
Location: emerald city, cascadia

Re: The Code behind Coding Languages?

Post by fractal » Thu Aug 04, 2011 6:52 am

Yeah, it's silly not to get it! Lol

I'd love to hear your thoughts on it if you read it
sub.wise:.
slow down
epochalypso wrote:man dun no bout da 'nuum

User avatar
jrisreal
Posts: 4312
Joined: Thu Mar 03, 2011 6:48 am
Location: the TARDIS

Re: The Code behind Coding Languages?

Post by jrisreal » Thu Aug 04, 2011 6:54 am

those languages arent meant for humans to be able to understand, but obviously some humans must understand it or else it wouldnt have been written, right?
...in my opinion
Image
ImageImageImage

slothrop
Posts: 2655
Joined: Thu Aug 24, 2006 11:59 am

Re: The Code behind Coding Languages?

Post by slothrop » Thu Aug 04, 2011 8:41 am

jrisreal wrote:those languages arent meant for humans to be able to understand, but obviously some humans must understand it or else it wouldnt have been written, right?
Basically the lower level something is the harder it is to read and write, but it'll still be possible to write comparatively small things in it. In particular, you can write a basic assembler or compiler for the next language up the food chain, and then use the higher level language to write the next language up (and a more user-friendly implementation of itself) and so on.

User avatar
magma
Posts: 18810
Joined: Thu May 17, 2007 9:27 am
Location: Parts Unknown

Re: The Code behind Coding Languages?

Post by magma » Thu Aug 04, 2011 9:40 am

My Dad used to code Assembler for Mainframes... he has frequently been known to roll his eyes when I say things like "I've got myself stuck with a VB script..."
Meus equus tuo altior est

"Let me eat when I'm hungry, let me drink when I'm dry.
Give me dollars when I'm hard up, religion when I die."
nowaysj wrote:I wholeheartedly believe that Michael Brown's mother and father killed him.

User avatar
fractal
Mako
Posts: 12133
Joined: Tue Apr 18, 2006 5:58 pm
Location: emerald city, cascadia

Re: The Code behind Coding Languages?

Post by fractal » Thu Aug 04, 2011 4:32 pm

:lol: I bet!
sub.wise:.
slow down
epochalypso wrote:man dun no bout da 'nuum

User avatar
magma
Posts: 18810
Joined: Thu May 17, 2007 9:27 am
Location: Parts Unknown

Re: The Code behind Coding Languages?

Post by magma » Thu Aug 04, 2011 4:54 pm

His best story was taking some programs to Germany to be run in a factory... stopped at the border by German immigration asking what all the holey paper is for and how much it was worth.

"Well, the card is worth about a penny, but the holes are worth millions"

He was there a while.
Meus equus tuo altior est

"Let me eat when I'm hungry, let me drink when I'm dry.
Give me dollars when I'm hard up, religion when I die."
nowaysj wrote:I wholeheartedly believe that Michael Brown's mother and father killed him.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests