我让 CodeSpeak 接管我的存储库

当我将超过 10K 行的项目迁移到 AI 原生工作流程中时发生了什么我让 CodeSpeak 接管我的存储库的帖子首先出现在 Towards Data Science 上。

来源:走向数据科学

have evolved significantly over time, becoming increasingly abstract and easier for humans to understand.在计算的早期,程序员直接使用机器代码,使用打孔卡手动输入原始二进制指令,其中的孔为早期大型机编码数据和命令。这个过程非常乏味且极易出错:一个放错位置的漏洞可能会破坏整个程序并迫使开发人员从头开始。

为了减少这种摩擦,汇编语言出现了,用人类可读的助记符(例如 ADD 或 MOV)取代原始二进制代码,然后将其翻译回机器指令。

The next major leap came in the 1950s when the first compiled high-level languages such as FORTRAN and COBOL appeared.他们引入了更接近数学符号和自然语言的语法。后来,ALGOL、C、C++等语言带来了结构化编程、内存抽象和面向对象的概念,极大地降低了软件复杂性并提高了可维护性。

像 Python 和 Java 这样的现代语言延续了这一趋势,优先考虑可读性并提供庞大的内置库生态系统,使工程师能够更多地专注于解决业务问题,而不是处理硬件级细节。

More recently, however, the way we write code has started to shift again with the rise and widespread adoption of AI.这自然提出了一个问题:编程语言也会进化吗?

It feels increasingly plausible that one day we may end up coding in plain English. That’s why I was excited to try one of these potential languages of the future:CodeSpeak, currently available in alpha preview.让我们看看它是如何工作的。

设置一切

As usual, before jumping into building, we first need to set everything up.幸运的是,这个过程非常简单。 We can install CodeSpeak using the uv package manager:

uv工具安装codespeak-cli

代码语言--版本# CodeSpeak CLI 0.4.1接管