Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C-Based languages

Name: Anonymous 2012-07-19 21:01

C is an amazingly designed language.  It's beautiful, simple, elegant and fast.
Everything a well designed programming language should be.

C++ then came along and shit all over Dennis Ritchie's masterpiece.  Bjarne took a beautiful, simple, elegant and fast language. And kept shitting on it until all that was left was 'fast'.  Dennis should of beat the shit out of him for turning his work of art into an abomination.

Then Gosling came along, surveyed the turd that Bjarne had dropped, and attempted to clean it up.    He redesigned C++ to remove the crap and attain the elegance that C had.  Unfortunately, in his cleaning frenzy, he over-simplified the language and sacrificed speed.  In the name of simplicity he removed pointers, manual memory management,  generics, operator overloading and native code compilation.  A noble effort, but ultimately just as much of a failure as C++.

Name: >>80 2012-07-21 1:54

And to expand on that, the -Ox flag in nasm picks smaller encondings.
Example:
Instead of assembling add ebx, 3 as add r32, i32 it assembles as add r32, i8.
Proof:
_start: add ebx, 3
No optimization:
00000000  6681C303000000    add ebx,0x3
Optimization:
00000000  6683C303          add ebx,byte +0x3

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List