Re:Show HN: Smart pointers for the C programming language
by minthd on Wednesday January 14, 2015 @11:43AM
(#8887330)
Isn't the whole point is to make sure the abstraction always work ?
[ Parent
| on HN ]
Re:Show HN: Smart pointers for the C programming language
by Igglyboo on Wednesday January 14, 2015 @11:47AM
(#8887358)
Isn't the whole point of C to have as minimal abstraction as possible?
Re:Show HN: Smart pointers for the C programming language
by Snaipe on Wednesday January 14, 2015 @11:52AM
(#8887397)
Not really, otherwise even the standard library would not exist, and we would manually ask pages to the kernel every time we want memory.
C, as a language, is indeed low level, but that does not mean that programs and libraries shouldn't build abstractions on top of the low level interface.
Re:Show HN: Smart pointers for the C programming language
by Retra on Wednesday January 14, 2015 @03:14PM
(#8888723)
Not at all. The point of C is to have as much abstraction as possible while still allowing maximal control. And 'as much abstraction as possible' is a matter of historical context, since we learn all the time that there are better ways of doing abstraction than C does.