编程 · 最新文章

今日新增 29 篇 · 共 2,698 篇 · 来自 79 个博客

Glyph··Glyph

Programming Isn’t Special

AI 摘要The author argues that programming is a form of art, rejecting the notion that functional or mundane work is fundamentally distinct from creative expression, citing examples like commissioned portraits and the aesthetic motivations behind inventions such as Deferred. While other creative industries are actively resisting AI, many programmers resignedly accept it on the premise that code is merely functional, but the author contends that using AI to eliminate mundane creative work destroys the practical opportunities and contemplation needed to develop true skill and achieve moments of greatness. Programming isn't special—it is simply Art, and therefore worth defending against AI encroachment just as much as any other creative medium.

Daniel Lemire··Daniel Lemire

Faster Python startup with lazy imports

AI 摘要The article explores Python 3.15's new lazy imports, which defer module loading until an import is actually used, requiring only a one-word change per import line. In benchmarks with a toy command-line tool importing sixteen modules, startup times dropped dramatically—printing the version went from 295 ms to 20 ms (15× faster), and imports alone shrank about 35-fold—though paths using the modules saw smaller gains. The main downside is that missing-module errors now surface at first use rather than at startup, potentially deep inside a function or a long-running server.

Clojure News·

Clojure 1.13.0-alpha9

AI 摘要Clojure 1.13.0-alpha9 has been released, featuring the removal of the :defaults directive, faster transient metadata propagation in into and update-vals, and various bug fixes such as catching protocol extensions of non-protocol methods and correcting the TransientArrayMap expansion threshold. The release also favors class files when reproducible builds set matching class and source timestamps. Users can try it by updating their deps.edn dependency or starting a REPL with the Clojure CLI.

Charity Majors··Charity Majors

If your team is happy, are you doing a good job?

AI 摘要The author argues that psychological safety, originally grounded in Google's Project Aristotle research on team excellence, has drifted in popular understanding from a performance-enabling practice into a belief that a manager's job is to keep everyone happy and comfortable. She contends that learning—which often feels uncomfortable—and accountability are what actually drive high performance, so making team happiness a business outcome confuses feelings with results. The piece closes by suggesting we unfairly credit or blame individual managers for outcomes largely shaped by structural and systemic factors, and poses a question about how to measure fairness in organizations.

Swift.org··Tim Condon

What's new in Swift: September 2026 Edition

AI 摘要This September 2026 edition of 'What's new in Swift' celebrates the Vapor web framework's tenth anniversary with the first beta of Vapor 5, a complete rewrite adding full structured concurrency and dropping EventLoopFutures, and covers the release of Swift 6.4 with Swift Build as the new SwiftPM default, Subprocess 1.0, and up to 40x faster WebAssembly bridging. Community highlights include Google's official Cloud client libraries for Swift, a Swift-written kernel demo, Solbach Leads' migration of a production AI pipeline from Kotlin to Swift and Vapor, and new releases like WasmKit 0.4 and Swift AWS Lambda Runtime 3.0. The digest also rounds up Swift Evolution activity, including the under-review SE-0554 deployment target conditional compilation and recently accepted proposals such as SE-0546 same-file memberwise initializer extensions and SE-0540 default target settings.

Eli Bendersky··Eli Bendersky

Monte-Carlo simulations

AI 摘要Monte Carlo simulations are a technique that applies randomness and the Law of Large Numbers to solve various scientific and engineering problems. One of their earliest documented uses was by Stanislaw Ulam and John von Neumann for nuclear weapon simulations after World War II.

Swizec Teller·

When code is cheap, judgement becomes the job

AI 摘要The author describes working at a 21-person engineering organization that ships code with remarkable velocity—merging multiple times per day, auto-approving 16% of pull requests, and letting AI write 97% of their code—while still maintaining reliability in a business where outages cost thousands of dollars. The central takeaway is that when AI makes writing code cheap and fast, human judgment becomes the engineer's primary job.

Adam Johnson··Adam Johnson

Django: set up its test suite with uv

AI 摘要This article presents an alternative to Django's official contributing docs for setting up its test suite, using the uv tool instead of pip and a manually managed virtual environment. It covers cloning the repository, creating a virtual environment with uv venv, and installing Django in editable mode with test requirements in one command, then running runtests.py. It also offers a workaround for the common pylibmc compilation failure by filtering it out of the requirements file on the fly with grep -v and shell process substitution, allowing the rest of the test suite to run while Django skips pylibmc-dependent tests.

Kotlin Blog··Anton Makeev

Start Your Next KMP App With Kotlin Toolchain 0.13

AI 摘要The Kotlin Toolchain v0.13 release establishes the tool as JetBrains' recommended entry point for new Kotlin Multiplatform projects, offering a unified declarative configuration and CLI for building, testing, and publishing across JVM, Android, iOS, web, and server targets. Key updates include the new interactive 'kotlin new' command, smoother iOS onboarding with automatic Xcode and simulator setup, Android SDK provisioning during IDE import, Swift Package Manager dependency support, faster Kotlin/Native builds via compiler caching, and dedicated AI agent skills plus a Hot Reload MCP server for agentic workflows. Future roadmap items include installation via Homebrew, out-of-the-box AI skills, Swift Export support, and automated app store publishing workflows.

DHH··David Heinemeier Hansson

Redundancy is the engine of progress

AI 摘要The article argues that technological progress has always made certain jobs redundant—from farm laborers to switchboard operators and typists—and that AI agents will likely do the same for programmers. While this disruption deserves compassion for affected individuals, the author contends that the resulting drop in software creation costs will spark an unprecedented boom in apps and services, reshaping rather than eliminating programming work. Attempts to halt progress through legislation, such as requiring human safety monitors in self-driving cars, have never succeeded and shouldn't be pursued.

Daniel Lemire··Daniel Lemire

Mastering SIMD with Java Vector API

AI 摘要The article reviews Roman Snytsar's book 'Mastering SIMD with Java Vector API' (Apress, 2026), praising its problem-driven approach to teaching single-core performance optimization using Java's Vector API, which has been available as an incubator module since JDK 16. The reviewer, who served as the book's technical reviewer, highlights how it rebuilds common problems like array summation and duplicate removal while examining benchmarks, assembly code, and cases where data parallelism fails to deliver gains. The article concludes that the book is worth buying for Java programmers focused on performance.

Daniel Lemire··Daniel Lemire

Faster software linking with mold

AI 摘要The article introduces mold, a modern linker by Rui Ueyama designed as a fast drop-in replacement for GNU ld, and benchmarks it by linking the ~160 MB Node.js executable on a Linux server. Mold 3.0 with 128 threads linked Node.js in 0.11 seconds—about 24 times faster than GNU ld and 14 times faster than GNU gold—and even single-threaded it was five times faster than GNU ld. Adopting mold is easy via -fuse-ld=mold or the mold -run wrapper, making the link step nearly free for developers who rebuild many times a day.

DHH··David Heinemeier Hansson

Over my dead pencil

AI 摘要Speaking at Rails World, the author argues that coding agents have become so capable that hand-writing most code is no longer economically viable, and programmers must accept AI as capable coworkers rather than mere tools. While this shift feels threatening to a profession so young, the author predicts a boom in software development as costs plummet, meaning those who embrace AI collaboration have little to fear. The only programmers at risk are those who refuse to adapt and insist on going down with the pencils.

Armin Ronacher··Armin Ronacher

What is Codemode

AI 摘要The article introduces Codemode, a new Pi 1.0 feature that lets the LLM orchestrate complex operations on the harness side by writing JavaScript that runs in a heavily sandboxed QuickJS/WASM runtime with no network, file system, or timers. Because tool calls are composed in code rather than passing through the model's context, Codemode avoids context bloat, enables concurrency and multi-step workflows, allows state to be stashed and reloaded across invocations, and exposes internal APIs like image generation and classifier models (e.g., Jev) as well as MCP servers without loading their tools into the context. The author illustrates these capabilities with real agent-generated examples, including image creation, sentiment analysis of GitHub issues, driving a tank game loop with a classifier, and tool discovery for MCP servers.