我们为什么不直接让 AI 来写汇编代码呢?

3作者: canterburry4 个月前
编程语言、框架等等的存在,仅仅是为了提升开发者的使用体验、代码复用和便于人类理解。<p>如果未来我们使用人工智能生成大量代码,以至于没有人真正去查看或阅读代码,仅仅是验证最终的功能,那我们是不是可以直接跳过这些,直接使用汇编语言呢?<p>当然,我们可以复用一些基本的构建模块,比如 TCP/IP 协议、HTTP、套接字等的实现,但像 FastAPI 这样的服务器框架,也仅仅是建立在这些基础之上的、对人类友好的抽象。
查看原文
Programming languages, frameworks etc are just there for developer ergonomics, code reuse and human understanding.<p>If we generate so much code using AI that no one is really looking or reading the code anymore, just verifying end functionality, we can really just skip all that and go straight to assembler, no?<p>Sure, we could reuse some basic building blocks like implementations of the tcp&#x2F;ip protocol, http, sockets etc but server frameworks like fastapi are just human friendly abstractions over all that.