News for hackers. Stuff that matters.
Re:NPM and Left-Pad: Have We Forgotten How to Program? by TickleSteve on Thursday March 24, 2016 @02:39AM (#11351007)
It already is on the server-side. Feel free to use C; at least it would be performant.
Re:NPM and Left-Pad: Have We Forgotten How to Program? by lmm on Thursday March 24, 2016 @06:14AM (#11351681)
It's easy to write code that does the wrong thing quickly in any language, and IME that tends to be the usual result of choosing C.
Re:NPM and Left-Pad: Have We Forgotten How to Program? by TickleSteve on Thursday March 24, 2016 @06:24AM (#11351720)
ok, you are aware that the vast majority of the worlds software is written in C.... yes there are problems with it but it is still suitable for real-time, embedded, safety critical software of the sort I've been making quite successfully for close to 30 years.

Don't fall into the 'C is the devil' trap, any tool can be misused.

Re:NPM and Left-Pad: Have We Forgotten How to Program? by lmm on Thursday March 24, 2016 @07:26AM (#11351934)
Straight-up C is not at all suitable for safety-critical software. C plus various bolt-on tools for static analysis and the like can be usable, but is always going to be less effective (IMO) than a unified language where every tool is working according to the same rules.

There might be a few legitimate use cases for C, but I've seen people pick it for the wrong reason so often (and using C because "it would be performant" is entirely invalid IME).

Re:NPM and Left-Pad: Have We Forgotten How to Program? by TickleSteve on Thursday March 24, 2016 @07:52AM (#11352059)
You would have to argue with the overwhelming majority of safety-critical software that is and has been for decades, written in C...

Of course, static analysis is always used in combination with proper coding style... but that is just the normal (professional) C development environment.

Re:NPM and Left-Pad: Have We Forgotten How to Program? by Jtsummers on Thursday March 24, 2016 @09:49AM (#11352711)
> You would have to argue with the overwhelming majority of safety-critical software that is and has been for decades, written in C...

> Of course, static analysis is always used in combination with proper coding style... but that is just the normal (professional) C development environment.

>> Straight-up C is not at all suitable for safety-critical software. C plus various bolt-on tools for static analysis and the like can be usable, but is always going to be less effective (IMO) than a unified language where every tool is working according to the same rules.

Pretty sure you've just restated GP's point in your second paragraph.

Re:NPM and Left-Pad: Have We Forgotten How to Program? by ktRolster on Thursday March 24, 2016 @11:04AM (#11353333)
You just have to use the right libraries:

https://github.com/Adaptv/ribs2