函数式编程

Search documents
为什么 Claude Code 放弃代码索引,使用 50 年前的 grep 技术?
程序员的那些事· 2025-09-25 02:53
以下文章来源于腾讯云开发者 ,作者余志臻 腾讯云开发者 . 腾讯云官方社区公众号,汇聚技术开发者群体,分享技术干货,打造技术影响力交流社区。 目录 1 引言:一个看似倒退的选择 2 理解状态的本质 3 无状态思想的历史脉络 4 无状态设计的优势 5 现实的权衡 6 AI时代的新思考 当AI编程助手都在比拼谁的索引更智能时,Claude Code选择了每次都实时搜索、不保留任何状态。这个反直觉的设计背后,是对Unix哲学的现代传 承,也是对"什么才是好工具 " 的重新定义。 01 引言:一个看似倒退的选择 最近,Claude Code的技术选择引发了不少讨论。 有观点认为,Claude Code与Gemini放弃代码索引是"一步烂棋 " 。Milvus的技术博客更是直言不讳:"Claude Code的grep-only方式会烧掉太多tokens " 。 在HackerNews的讨论中,有开发者质疑:"Claude用grep,Cursor用向量搜索——我们是在技术倒退吗? " 当主流AI编程助手纷纷采用向量索引实现语义搜索时,Claude Code却选择了grep——这个诞生于1973年的命令行工具。它不建立持久 ...
担心失业的软件工程师:数学才是AI时代你的生存利器
3 6 Ke· 2025-06-10 07:08
Core Insights - The article emphasizes that mathematics is a practical tool for survival rather than an eternal truth, evolving to meet the demands of different eras [4][11][14] - It highlights the historical context of mathematical advancements, showing how they were developed to solve pressing real-world problems, such as navigation and engineering [5][7][15] - The current landscape of AI and technology necessitates a rethinking of mathematical foundations to adapt to new challenges and opportunities [22][30][31] Historical Context - Mathematics has historically contributed approximately 25-35% to economic growth, serving as a critical tool for various industries [7] - Key mathematicians like Newton and Euler created mathematical tools to address immediate needs in navigation and engineering, rather than for abstract purposes [10][15] - The evolution of mathematics reflects humanity's need to adapt and innovate in response to crises and technological advancements [14][20] Modern Applications - The article argues for the importance of modern mathematical concepts such as category theory and functional programming in shaping AI and technology [22][30] - It suggests that understanding advanced mathematical tools is essential for professionals in technology to remain relevant and innovative [27][30] - The shift towards AI hardware design requires a blend of traditional and modern mathematical insights to create efficient and scalable systems [28][30] Future Directions - The article posits that the future of AI and technology lies in the ability to construct models rather than merely running them, emphasizing the need for a strong mathematical foundation [28][31] - It encourages professionals to deepen their understanding of mathematical abstractions to maintain a competitive edge in an increasingly automated landscape [31] - The integration of advanced mathematical tools into hardware design is seen as crucial for overcoming traditional limitations in AI development [30]