-
Future Payments
One of the ways that pure capitalism fails is an inability to price limited resources. There is a real sense in which oil, a limited resource, is almost certainly worth more today than people are paying for it. It seems likely that people in the future will be aghast at the way we are wasting…
-
.gcc_except_table
Throwing an exception in C++ requires more than unwinding the stack. As the program unwinds, local variable destructors must be executed. Catch clauses must be examined to see if they should catch the exception. Exception specifications must be checked to see if the exception should be redirected to the unexpected handler. Similar issues arise in…
-
.eh_frame_hdr
If you followed my last post, you will see that in order to unwind the stack you have to find the FDE associated with a given program counter value. There are two steps to this problem. The first one is finding the CIEs and FDEs at all. The second one is, given the set of…
-
.eh_frame
When gcc generates code that handles exceptions, it produces tables that describe how to unwind the stack. These tables are found in the .eh_frame section. The format of the .eh_frame section is very similar to the format of a DWARF .debug_frame section. Unfortunately, it is not precisely identical. I don’t know of any documentation which…
-
Natural Law
In the past I’ve argued that it may be possible to build a basic system of ethics by looking to our evolutionary background to discover what sort of behaviour is natural for humans. This is a natural law approach which looks to our evolutionary heritage to discover the essential nature of humans. Robert George’s work…