Show HN: Impossible Machines explores declarative programming for physical systems
A developer shared a thought experiment called Impossible Machines, asking what declarative programming might look like for the physical world. The approach mirrors software paradigms like SQL, where users state a desired outcome and the engine determines execution. Lacking a physical actuator, the creator built a software mock-up in which users demonstrate an effect and the system works out how to produce it. In one example, a user wants to ring a bell connected to a crank, and the system finds a mechanism linking the two, using a constraint solver to route around added obstacles. The project was posted to Hacker News seeking feedback and ideas for extension.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in