Rust
Search documents
Rust 贡献者推出新语言 Rue,探索 AI 辅助编译器开发
AI前线· 2026-02-02 07:27
作者 | Tim Anderson 译者 | 刘雅梦 策划 | 丁晓昀 Steve Klabnik 是《Rust 编程语言》的作者,并且在过去的 13 年里对 Rust 项目做出了贡献,他宣 布了 Rue,这是一种系统编程语言,它在没有垃圾回收的情况下探索内存安全性,同时优先考虑开 发人员的人机工程学,而不是 Rust 的复杂性。该项目是在 Anthropic 的 Claude AI 的大力帮助下开 发的,目标是填补高性能系统语言和垃圾回收替代品之间的未充分服务的设计空间。 在使用 Rust 13 周年之际,Klabnik 在一篇博客文章中解释了他的动机: 我一直在想我是否应该尝试创造自己的语言。我真的很喜欢它们!这就是为什么我最初参与 Ruby,然后是 Rust 的部分原因! 语言名称遵循他的"Ru"前缀模式(Ruby、Rust、Rue),同时保持双重解释——既是花又是遗憾的 表达。 Klabnik 的核心设计问题是:"如果 Rust 不试图与 C 和 C++ 竞争最高性能会怎么样?"如果我们愿意 为了易用性而使性能稍微降低,但不要太低,会怎样?" Rust 之所以成功地制造出没有垃圾回收的内存安全语言,是 ...
50万行代码不敢交给AI?TypeScript之父直言:它就像是个“高级复读机”
3 6 Ke· 2026-01-30 13:08
近日,TypeScript 与 C# 的发明者、微软技术研究员 Anders Hejlsberg 表示,现有编程语言之所以更适合 AI 编程,并不是因为它们更"先进",而是因为它们拥有最大的训练数据集。 而对于 AI,他给出了一个直接的评价: 当前的大模型,本质上更像是一个"把别人做过的事情重新吐出来,在此基础上做一些简单 推演"的高级复读机。 这番表态来自他与 GitHub 研究顾问 Eirini Kalliamvakou 的一次对谈。此次访谈中,Hejlsberg 不仅分享 了 TypeScript 团队内部使用 AI 的实际经验,也回顾了 TypeScript 的发展历程,并展望了它未来可能的 演进方向。 TypeScript 7.0 核心升级:原生编译器登场,性能提升 10 倍 即将到来的 TypeScript 7.0,最重要的变化之一,是引入原生编译器。目前该版本已经进入预览阶段。 Hejlsberg 表示,原先的 TypeScript 编译器是用 TypeScript 自己写的,并运行在 V8 JavaScript 引擎之 上。但随着项目规模和使用场景不断扩大,这种实现方式在性能上已经明显吃紧:" ...
【2025新品】java-antd-web3全栈dapp开发教程
Sou Hu Cai Jing· 2026-01-19 20:12
Group 1 - The article discusses the integration of Java and Ant Design (AntD) in the development of Web3 DApps, highlighting their importance in enterprise-level blockchain solutions [2][4]. - Java's strong typing and exception handling capabilities enable efficient interaction with major blockchains like Ethereum and Solana, achieving event listening delays of 500 milliseconds [4]. - AntD Pro provides ready-to-use solutions for DApp management, enhancing user experience with features like dynamic forms and visual components [4]. Group 2 - The evolution of the Web3 tech stack is noted, with Solidity remaining the primary language for smart contract development, while Rust is gaining traction on the Solana chain [4]. - The Graph protocol improves on-chain data query performance by three times, addressing the slow response issues of traditional DApp frontends [4]. - The course design emphasizes modularity, security practices using tools like Slither, and real-world case studies to ensure data consistency in cross-chain asset management [4][7]. Group 3 - The demand for composite talent in the blockchain sector is increasing, with salary premiums of 30-50% for engineers skilled in both Java and smart contract development [8]. - Typical career paths include roles in blockchain middleware development, digital asset management system architecture, and regulatory technology (RegTech) solution design [8]. - Practical project blueprints include building DeFi protocols, NFT platforms, and DAO governance systems [8]. Group 4 - The article outlines new paradigms for DApp development in 2026, including cross-chain asset transfers via Wormhole and enhanced transaction privacy through zero-knowledge proof technology [6][8]. - Innovations in user experience are highlighted, such as account abstraction wallets that eliminate the burden of mnemonic management and gasless transaction models that lower entry barriers for users [8]. - Regulatory compliance innovations are also discussed, including on-chain KYC solutions and real-time tax calculation engines [8].
Python 大哥,C 老二,Java 小三……Go 彻底跌出前十
程序员的那些事· 2026-01-07 23:34
Core Insights - C has regained the title of "Programming Language of the Year" in the 2025 TIOBE index, marking a significant rise in its ranking after three years [1] - The programming landscape is shifting, with C and C++ swapping positions, and C language maintaining its dominance in the embedded systems market [1] - Perl has made a remarkable leap from 32nd to 11th place, while R language has returned to the top ten, driven by growth in the data science sector [1] - Go language has fallen out of the top ten, and Ruby has dropped out of the top twenty, indicating a potential decline in their usage [1] Ranking Summary - Python remains the top programming language with a rating of 22.61%, although it has seen a slight decrease of 0.68% [2] - C has moved up to the second position with a rating of 10.99%, showing an increase of 2.13% [2] - Java and C++ have dropped to third and fourth positions, respectively, with Java at 8.71% (down 1.44%) and C++ at 8.67% (down 1.62%) [2] - C holds the fifth position with a rating of 7.39%, reflecting an increase of 2.94% [2] - Visual Basic and SQL are in sixth and eighth positions, respectively, with ratings of 2.41% and 2.27% [2] - R has climbed to the tenth position with a rating of 1.82%, up by 0.81% [2] - Perl's rise to 11th place with a rating of 1.63% marks a significant increase of 1.14% [2] - Rust has moved to 13th place with a rating of 1.51%, showing a modest increase of 0.34% [2] - Go has dropped to 16th place with a rating of 1.24%, down by 1.37% [2]
11天狂写10万行代码,13年Rust老兵,与Claude联手从零造了一门新语言
3 6 Ke· 2026-01-07 12:49
Core Insights - Steve Klabnik, a senior technical expert in the Rust community, has developed a new experimental systems programming language called Rue in just 11 days with the help of AI tool Claude, writing approximately 100,000 lines of Rust code [1][11] - Klabnik's motivation to create a programming language stems from his long-standing interest in language design and compiler development, which he has pursued for over a decade [3][4] - The name "Rue" was chosen for its connection to Klabnik's admiration for Ruby and Rust, as well as its connotations and brevity [8] Development Process - Klabnik initially hesitated to develop a programming language due to the high expectations and complexities involved, which have increased over the years [4][10] - His perspective shifted with the advancement of AI tools, leading him to explore the feasibility of using AI to assist in compiler development [4][12] - The project faced a temporary halt due to work commitments but resumed in late 2025, with Klabnik feeling more adept at utilizing AI for software development tasks [5][6] Project Features and Goals - Rue aims to provide memory safety without relying on garbage collection, positioning itself as a higher-level language than Rust but lower than Go, focusing on usability [8][10] - The development of Rue has already attracted attention from other developers, evolving from a personal experiment into a collaborative effort [6][15] - The project is still in its early stages, with Klabnik emphasizing that it is primarily for fun and exploration rather than a serious push for adoption [15] Community Reactions - The announcement of Rue has sparked discussions in the programming community, with opinions divided on the necessity of new languages in the age of AI [15][16] - Some argue that the emergence of AI reduces the need for learning new languages, while others believe it enhances the value of language experimentation [16]
曾对AI嗤之以鼻,如今2周生成7万行代码:Rust大佬与Claude联手打造新语言Rue
机器之心· 2026-01-07 00:49
Core Insights - The article discusses Steve Klabnik's journey with Rust and his new programming language, Rue, highlighting the evolution of his perspective on AI as a valuable tool in software development [1][3][21] Group 1: Klabnik's Perspective on AI - Klabnik transitioned from being an AI skeptic to recognizing the practical benefits of AI tools in coding, particularly with the use of Claude for generating code [3][10] - He emphasizes that AI serves as a high-level tool, enhancing productivity for those with a foundational understanding of software engineering principles [10][21] Group 2: Introduction of Rue - Rue is a new programming language designed by Klabnik, aiming to bridge the gap between high-performance languages like Rust and more accessible languages like Go [6][20] - The name Rue reflects both a sense of self-deprecation and a botanical reference, indicating a blend of good and bad qualities [6] Group 3: Development Process of Rue - The Rue project has rapidly accumulated around 70,000 lines of Rust code within two weeks, showcasing the efficiency of AI-assisted coding [8][20] - Klabnik's workflow involves AI (Claude) handling the implementation details while he focuses on design and architecture [14][20] Group 4: Rust's Role in AI Programming - Rust's strict compiler serves as a quality control mechanism, ensuring that AI-generated code meets safety and type-checking standards [13][19] - This strictness, once seen as a barrier for beginners, is now viewed as an advantage in the context of AI programming, as it helps eliminate critical errors [17][21] Group 5: Future of Programming Roles - Klabnik's experiment with Rue suggests a shift in developer roles from "bricklayers" to "architects," where human developers focus on higher-level design while AI handles more routine coding tasks [21]
AI、Rust、Java、Go...全学科资料,给大家整理出来了!| 极客时间
AI前线· 2025-12-25 05:52
Core Insights - The article emphasizes the power of knowledge and the potential for individuals to excel in the technology field through access to free educational resources [2]. - It promotes a comprehensive offering of over 200 hours of free IT self-study courses covering 14 popular subjects, including AI, Java, architecture, Go, cloud-native technologies, and more [2][5]. Course Offerings - The courses are taught by industry experts, including former executives from major tech companies, providing practical insights and experiences [2]. - The curriculum is designed for various skill levels, catering to beginners, experienced programmers, and those curious about new technologies [5]. Specific Course Highlights - Courses include topics such as AIGC applications, multi-modal large model technologies, and practical applications of AI tools [9][10]. - There are specialized sessions on programming languages like Rust, Java, and Go, focusing on performance, reliability, and practical applications [18][22]. Learning Pathways - The article outlines structured learning paths for different audiences, ensuring that everyone can find suitable courses to enhance their skills and career prospects [5]. - It encourages immediate action to enroll in the limited-time offer of free courses, emphasizing the urgency and value of the opportunity [36].
微软定目标:2030年,彻底删除C、C++代码,换成Rust
机器之心· 2025-12-25 01:20
Core Viewpoint - Microsoft aims to eliminate C and C++ code from its systems by 2030, focusing on rewriting its entire codebase using AI and algorithms, as stated by Galen Hunt, a senior engineer at Microsoft [2][4]. Group 1: Microsoft's Strategy - Galen Hunt's team has set an ambitious goal for each engineer to write 1 million lines of code per month, supported by infrastructure for AI-driven code processing [4][5]. - The new programming language intended to replace C is Rust, which is seen as a more advanced language that addresses memory and concurrency safety issues while maintaining performance [10][11]. Group 2: Challenges and Concerns - There is skepticism regarding the feasibility of rewriting a vast amount of well-tested code quickly and the assumption that Rust will be superior in all aspects without bugs [10]. - Microsoft's previous attempts to replace C++ and other native languages have not gained acceptance, leading to concerns about memory usage in applications like Discord and Teams [11]. Group 3: AI's Role in Code Generation - Microsoft CEO Satya Nadella mentioned that 20-30% of the code is already generated by AI, with varying success across different programming languages [13]. - Microsoft CTO Kevin Scott predicts that by 2030, 95% of code will be AI-generated, although the reliability of this approach remains unproven [15].
5 年了!Rust 终于在 Linux 内核中“转正”了
程序员的那些事· 2025-12-18 01:41
Core Viewpoint - The introduction of Rust into the Linux kernel has transitioned from an experimental phase to being recognized as a long-term component, marking a significant shift in the kernel's development approach [2][6]. Group 1: Historical Context and Development - The Rust for Linux project began in 2020, aiming to assess whether Rust could justify the additional complexity it brings to kernel development [4]. - Initially, Rust code was limited and marked as "experimental," indicating a cautious approach to its integration into the kernel [4]. Group 2: Key Developments and Milestones - Over 20,000 lines of Rust code have been merged into the Linux upstream kernel since 2022, indicating a shift from mere proof of concept to real engineering progress [5]. - Rust-written kernel drivers are now running in real-world environments, such as in Google Pixel devices, demonstrating Rust's practical safety benefits [5]. - The ecosystem around Rust in the kernel is maturing, with foundational libraries and tools being developed, making it more accessible for developers [5]. Group 3: Official Recognition and Future Directions - The "experimental phase" of Rust support in the Linux kernel was officially declared over at the 2025 Linux Kernel Maintainers Summit, signaling a commitment to its long-term use [6]. - Despite the end of the experimental phase, significant work remains to adapt Rust for various architectures and configurations within the kernel [6]. - The transition to Rust is seen as a long-term investment, encouraging companies and hardware manufacturers to consider Rust for future driver development [8]. Group 4: Coexistence with C - The Linux kernel will continue to primarily use C, but the focus has shifted to how Rust can coexist and complement C within the kernel [9].
5 年了,Rust 终于在 Linux 内核中“转正”了
3 6 Ke· 2025-12-15 11:53
Core Insights - The introduction of Rust into the Linux kernel has transitioned from an experimental phase to being recognized as a long-term component of the mainline kernel, marking a significant milestone in the ongoing debate about its role in kernel development [1][6]. Group 1: Rust's Journey in Linux Kernel - The Rust for Linux project began in 2020 with a cautious approach, aiming to assess whether Rust could justify the additional complexity it introduces to kernel development [3]. - Over 20,000 lines of Rust code have been integrated into the Linux upstream kernel since 2022, indicating a shift from mere proof of concept to a substantial engineering effort [4]. - Rust-written kernel drivers are now running in real-world environments, such as in Google Pixel devices, demonstrating that Rust's safety benefits are not just theoretical but applicable in practice [4]. Group 2: Official Recognition and Future Work - Miguel Ojeda, the project lead, announced that Rust support was integrated into the Linux v6.1 version, with the aim of evaluating its suitability for kernel development [5]. - The conclusion of the experimental phase does not imply that all challenges have been resolved; significant work remains regarding compatibility across different architectures and configurations [6]. - The acknowledgment of Rust's role in the kernel signals to companies and developers that Rust is a viable long-term investment, encouraging more training and development in Rust for kernel projects [7]. Group 3: Upcoming Projects and Developments - Several significant projects involving Rust are set to be integrated into the Linux mainline, including: - The Asahi project, targeting GPU drivers for Apple Silicon, with support for Devicetree schema expected in Linux 6.17 [8]. - The Nova driver, a Rust successor to Nouveau for NVIDIA GPUs, aiming for initial activation in Linux 6.19 [8]. - The Tyr driver for ARM Mali GPUs, which has already been able to launch the GNOME desktop and run basic games on Linux 6.18 [8].