返回资讯中心
外部精选
软件工程
#开发者实时流

Show HN: Impossible Machines: declaratively program the physical world

Hey all —Sharing a thought experiment I put together. The premise: what might declarative programming feel like for the physical world?We’re already familiar with this paradigm in software land (eg SQL etc where we decl…

Hacker News 最新bhaprayan2026/10/22 · 23 天前3 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Hey all —Sharing a thought experiment I put together. The premise: what might declarative programming feel like for the physical world?We’re already familiar with this paradigm in software land (eg SQL etc where we declare what we want and the execution engine figures out how).I didn’t have access to an actuator so I mocked up the concept in software. The way it works is you demonstrate the effect and the system figures out how to achieve it. So say you want to ring a bell and you have a crank. The system will find a way to connect the two. If you add obstacles it figures out how to work around them (runs a constraint solver runs behind the scenes).I think what’s interesting about this is being able to think about the problem at a higher level of abstraction, with the system figuring out a way to achieve the intended effect.Anyways, curious to read reactions, feedback, and interesting ideas on how to extend this! Comments URL: https://news.ycombinator.com/item?id=50202746 Points: 1

Comments: 0

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →