News for hackers. Stuff that matters.
Re:To become a good C programmer (2011) by rayiner on Sunday May 01, 2016 @03:30PM (#11607525)
No the representation model is fine. It's where C tries to be something other than portable assembly where it goes awry. E.g. C has more syntax for arrays than actually exists at runtime, which leads to surprising behavior. The problem with array arguments discussed in the LKML thread posted above is a great example.
Re:To become a good C programmer (2011) by ArkyBeagle on Sunday May 01, 2016 @03:57PM (#11607621)
I am having trouble identifying "the LKML thread."
Re:To become a good C programmer (2011) by kecks on Sunday May 01, 2016 @04:39PM (#11607768)
I think he meant this:

https://lkml.org/lkml/2015/9/3/428

(It's Torvalds on a bug made harder to spot by using array arguments in C, which you shouldn't do.)

Re:To become a good C programmer (2011) by m_mueller on Monday May 02, 2016 @03:34AM (#11609752)
sorry for OT, but:

g+ share: 0, reddit share: 1k.

.. so I guess it becomes clear why Google is deemphasising this.

Re:To become a good C programmer (2011) by ArkyBeagle on Sunday May 01, 2016 @08:36PM (#11608551)
Thanks so much! Agreed.