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: Anonymous 2012-07-20 19:27

>>47
you offer a very interesting counter evidence for embedded languages, I'll give you partial credit for contradicting me. Its worth commenting on why its only partially corrrect:

C++- its not used as much as C, but it is the second most used. I recommend you listen to this podcast of Bruce Powell Douglas who uses runable UML to design Real Time systems (like flight controls that have a severe time limit in reacting to input)
http://www.se-radio.net/2007/10/episode-73-real-time-systems-with-bruce-powel-douglass/
this guy is a strong proponent of using OO in embedded systems

Forth- Yes that is true that forth is by for the most popular language for testing embedded electronics. But I would counter that it is only used as a testing language and rarely used for production code except on systems where code has to be changeable on live running systems like satellites. I dont have proof to back this statement up though so I will give you credit.

BASIC- Im aware there are some BASIC compilers for microcontrollers like PIC, but I think it is only used because its an easy language to teach. The common standard of BASIC would not work as it had a very primitive type system that would not be suitable for electronics. So partial credit.

Wiring- that is just Java/Processing. Most guys I know who are serious about programming microcontrollers dont consider Arduino to be a serious learning tool and just something to help hobbyists avoid hard issues in embedded programming. no credit

Pascal- the fact that the original Pascal standard was never good enough to make production code has to do with it being designed as a teaching language and not a production language. This is where C got its reputation for being a serious programming language by beating out Pascal for professional use. The fact is that Pascal produces that is as fast and efficient as C but is much safer. So Pascal/Delphi died an undeserved death against C. I'll give you full credit for disproving me although I dont know of anyone who uses it for embedded programming.

Lisp- Im aware it has been used for the same purpose as Forth, it is not as efficient as Forth requiring garbage collection and a large runtime

Python/Lua/Scheme- there have been rare occasions that a scripting langauge has been used in writing drivers, but these are very inefficient for this role. partial credit

Logo- this is not embedded electronics, its a program that runs on an OS. no credit

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