Jump to content
43oh

Compiler optimization traps for the unaware


Recommended Posts

"The Go Programming Language", was coauthored by Brian Kernighan (also of Bell Labs and the 'k' in the AWK utility under Unix).  These guys pretty much know what they're doing.  Anyway enough threadjacking :)

 

@@spirilis Funny you say  "the K in AWK" because most people know him as the K in K&R ;) But to be honest, I'm, not a big fan of the book . . . because by the time I figured out much of C, K&R code looked so trivial / basic that it couldn't keep my interest.

Link to post
Share on other sites
  • 2 weeks later...

@@spirilis

 

So I picked up that book for go lang you mentioned above. Partly because of what you said here. But also very recently I talked with another developer for the project I've been writting test software for lately. Who pretty much started out in C exactly how I did gamedev, and reading Andre Lamothe's programming books . . . but anyhow he is writing the functional application code for this same project using GO . . . So now, I'm forced to read this book on a new object oriented language that uses no classes, inheritance . . . etc heh. Sounds interesting so far !

 

Sorry @@chicken, but I did not know where else to post this . . .

Link to post
Share on other sites

@@spirilis

 

So I picked up that book for go lang you mentioned above. Partly because of what you said here. But also very recently I talked with another developer for the project I've been writting test software for lately. Who pretty much started out in C exactly how I did gamedev, and reading Andre Lamothe's programming books . . . but anyhow he is writing the functional application code for this same project using GO . . . So now, I'm forced to read this book on a new object oriented language that uses no classes, inheritance . . . etc heh. Sounds interesting so far !

 

Sorry @@chicken, but I did not know where else to post this . . .

Yeah Go really goes about it a bit differently, the "implicitly satisfied interfaces" becomes your rough method of inheritance and class-ishness I guess.  It's working well enough for me so far.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...