User loginNavigation |
archivesDimensional analysis typingThis link describes an implementation of dimensional analysis in C++ using the Boost MPL. What this means is that physical quantities have a type parametrised by a tuple of integers representing the order of physical dimension (i.e. mass, length, time, etc...) with rules determining what operations can be carried out. This is a standard sanity check for equations in physics and easily catches typos. For example the equation for the force acting on two massive bodies is G(m1m2)/d2. If this were accidentally entered as This is clearly a useful techniques for say, rocket guidance systems. What other languages are capable of doing this without having to declare a morass of types and functions relating those types to each other? Shape analysis for composite data structuresShape analysis for composite data structures. MSR-TR-2007-13.
Seems relevant to some of the discussions currently going on (e.g., how PLT can help practitioners). The analysis described in this paper fits in to the common structure of shape analyses, and is based on abstract interpretation. |
Browse archivesActive forum topics |
Recent comments
22 weeks 14 hours ago
22 weeks 18 hours ago
22 weeks 18 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 1 day ago
50 weeks 1 day ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago