Hacker News new | ask | show | jobs
by raz0r 5546 days ago
You 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.
2 comments

Couchdb 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.

Both 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..
A 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.

> Java with a jit compiler

The JRE is substantially C++.

Not all JREs are - Jikes RVM for example is implemented in Java and yet has decent performance -

http://jikesrvm.org/FAQ#FAQ-GeneralWhatIs

The speed-critical parts (like HotSpot) are most certainly written in C++.
From 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.

"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?