Re:Node.js running in the new Airbus A350 inflight servers
by kodr on Saturday November 28, 2015 @12:02PM
(#10641589)
I'd rather use a statically typed language, like C++11 to avoid surprises at runtime. I guess you could use TypeScript to circumvent this problem.
[ Parent
| on HN ]
Re:Node.js running in the new Airbus A350 inflight servers
by pcwalton on Saturday November 28, 2015 @12:31PM
(#10641689)
You'd rather use a language full of undefined behavior as opposed to one in which (practically) every behavior of a program is specified by ECMA-262? To "avoid surprises at runtime"?
Re:Node.js running in the new Airbus A350 inflight servers
by striking on Saturday November 28, 2015 @01:52PM
(#10641947)
Surprises based on undefined behavior are usually not surprises at runtime, because of superior tooling. Either way, C is best because it has both of those things (tooling, defined behavior). It is possible to write very nice C.
Re:Node.js running in the new Airbus A350 inflight servers
by pcwalton on Saturday November 28, 2015 @03:37PM
(#10642323)
> Surprises based on undefined behavior are usually not surprises at runtime, because of superior tooling.
Yes, they are. Empirically ([1], just to name one example).
> Either way, C is best because it has both of those things (tooling, defined behavior).
C has tons of undefined behavior.