Real Physical Computing in Swift
summary
An open source Swift package called Physical Swift package builds on Foundation’s Measurement to give real units, dimensional algebra, and constants with uncertainties, claiming to wipe out whole classes of unit bugs and speed up heavy numeric work. It tracks sig figs tracking, converts and composes arbitrary units, interoperates with C libraries, runs array math via hardware-accelerated arrays (Accelerate), and surfaces a dimensional error traceback when calculations become “not a thing.”
AI-written summary · about
chapters (6)
- 0:00Start
- 15:55Measurement Framework
- 27:10Chaining Units
- 36:00Dimensional Description
- 44:07Physical Objects
- 44:44Experimental Geometry
related talks
18mScientific Swift
12mFeatherweight Swift: A Core Calculus for Swift’s Type System
26mSwift beyond Apple: Making Software for the Physical World
36mSwift & Interoperability
06mLet’s Try Making Things Move with Swift!
20mSwift WTF: Weirdness, traps, and fixes
47mAn Introduction to the Swift Programming Language
41mSwift + Metal: The future of scientific programming?
