Re:Rules for Developing Safety-Critical Code (2006) [pdf]
by scatters on Friday October 18, 2019 @11:27AM
(#21292168)
Well - in C, you can use macros as well as in Lisp. Classically, you'd use X-Macros, requiring a separate file to hold the list of bytecodes; in the modern style you can use Boost.Preprocessor to operate on preprocessor data structures.
[ Parent
| on HN ]
Re:Rules for Developing Safety-Critical Code (2006) [pdf]
by saghm on Friday October 18, 2019 @04:07PM
(#21294671)
You can use Boost in C? Is this something that's commonly done? I thought Boost was for C++
Re:Rules for Developing Safety-Critical Code (2006) [pdf]
by AlotOfReading on Friday October 18, 2019 @04:31PM
(#21294833)
Boost.Preprocessor is the only part usable from C, though I wouldn't generally recommend using it.