7 ms·
You know what is sad? I've read them all before I knew there were other programming languages! I say it's sad because the time spent reading that - thinking tha
by d0m 16y ago
You know what is sad? I've read them all before I knew there were other programming languages! I say it's sad because the time spent reading that - thinking that would make me a better programmer - was wasted as I could have learned higher level languages. Still, from time to time in my life, when I need to get a C+ job done, it helps to be able to understand it. Also, it helps in interview questions where they seem to pick question from effective or exceptional ;)
- raz0r 16y agoYou say funny things. Not everything can be built with high-level languages. Some people work on operating systems, others on database systems, etc. So stop this nonsense, I have some breaking news for you: not everyone writes web applications these days.
- tomjen3 16y agoCouchdb is written in Erlang, which also powers a 3d software program. Java with a jit compiler is as fast as C++ for digital signal processing. And ocaml is considered faster than C++, Stalin can compile Scheme to faster than c.
- rubashov 16y ago> Java with a jit compiler The JRE is substantially C++.
- blinkingled 16y agoNot all JREs are - Jikes RVM for example is implemented in Java and yet has decent performance - http://jikesrvm.org/FAQ#FAQ-GeneralWhatIs http://jikesrvm.org/FAQ#FAQ-GeneralWhatIs
- 16s 16y agoThe speed-critical parts (like HotSpot) are most certainly written in C++.
- blinkingled 16y agoFrom TFA I linked - Jikes RVM is unique in that it is the first self-bootstrapped virtual machine written entirely in the Java programming language, i.e., its Java code runs on itself, without requiring a second virtual machine.
- raz0r 16y agoBoth Erlang VM and HiPE are written in C, which powers.. The point is not who powers which software program, the point is that you cannot write operating systems and drivers in Java. I hope you realize that Java gets run inside a vritual machine. And so is Erlang. Also C and C++ power a number substantially bigger than "a 3d software program", if you want to put it like that, which isn't the point..
- tomjen3 16y agoA virtual machine means nothing. There exists chips that natively run Java and you could in principle run x86 on a PPC with a suitable virtual machine. And realtime Java does allow you to specify drivers. The Symbolics Lisp Machine ran everything in Lisp, top to bottom.
- d0m 16y ago"You say funny things", "Stop this nonsense", "some breaking news for you" -> Not needed to prove your point. I never said that C++ was not useful, neither that it was not a good programming language or not in use today. In fact, of all the offers I receive, half of them are in C++. And I don't think everyone writes web applications. I said that I was wrong thinking that I would become a better programming by reading those books. I would become a more technical C++ programmer, but not a better programmer. By learning other languages, helping other communities and understanding their philosophies, I get a different perspective on C++. It's like trying to understand the humanity by sticking in your city instead of traveling around the world. So, I understand now why Meyers suggest using Fonctor and High-Level STL functions instead of for-loops. I understand that Andrei Alexandrescu, in Modern C++ Design, based its TMP on Lisp cons principles. I understand the advantage - and disadvantage - of compiling. Do you use raz0r (4 karma for 500+ days?!) when you are frustrated and want to bash on something?
- blub 16y agoi.e: "I now prefer higher level languages, but my hard-gained C++ knowledge is still useful sometimes".