Re: OT: Open letter to the Linux World

From: Alexander Holler
Date: Sat Sep 06 2014 - 21:42:56 EST


Am 07.09.2014 01:44, schrieb Lennart Sorensen:

So why C++ then if you care about making the code easy to make safe when
there are clearly even better options. Why not OCAML or Erlang or one
of the other much more robust languages that don't contain all the
dangers of C?

I would choose Prolog. ;)

I don't have to provide an answer because I'm not one of those which have gone out to change this critical part of many systems.

My concerns are that C is one of the worst languages for that. I'm not
saying that C++ would be the best solution. But I'm pretty sure it would have been a much better solution than C.

That means I haven't spend much time (around zero) to think about what an init-replacement has to do and how it would be done best. I'm just very concerned about what happens there.

So here are just some thoughts:

- Why do you call OCAML or Erlang more robust? Many problems in other languages just aren't well known because they are only used by a few people which don't tell you bad things about the language they've choosen. ;)

- Can you achieve all goals with just using OCAML or another language? My experience is that in almost all of those "very well designed languages", you are reaching very often some limits or problems which are very ugly to solve, if it's possible at all to solve them.

- How many people do you know which can program (and review) that language?

- How robust are the compilers/interpreters? How are they maintained? What happens if you find a bug in the compiler/interpreter?

But, as said above, I don't have to provide a solution because I'm not the one who has gone out to change PID 1 into something more complicated. ;)

Regards,

Alexander Holler
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/