News for hackers. Stuff that matters.
Re:Templating in C by jesionaj on Saturday February 28, 2015 @03:40PM (#9124965)
I've actually used a subset of that book for on an embedded system. It ended up being scrapped, partly due to project management issues and partly because we were writing twice as much code for very little benefit, so I can't say I recommend it for embedded projects. The need for malloc was a pretty big negative as well.

That said, I would recommend it as a good learning experience.

Re:Templating in C by marvy on Saturday February 28, 2015 @05:06PM (#9125227)
why do you need malloc here?
Re:Templating in C by jesionaj on Sunday March 01, 2015 @01:11AM (#9126222)
Looking the PDF over again you don't need malloc, that was a quirk of our implementation. We had separated public/private structs, meaning private variables were inaccessible by non-class methods (and thus also unable to be instantiated statically by other code modules.)

(Our implementation was not very good.)