惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Scott Helme
Scott Helme
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
Project Zero
Project Zero
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
S
Schneier on Security
S
SegmentFault 最新的问题
G
GRAHAM CLULEY
J
Java Code Geeks
IT之家
IT之家
爱范儿
爱范儿
Latest news
Latest news
阮一峰的网络日志
阮一峰的网络日志
P
Palo Alto Networks Blog
Jina AI
Jina AI
腾讯CDC
V
Visual Studio Blog
Apple Machine Learning Research
Apple Machine Learning Research
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
T
Threatpost
V
V2EX
D
Darknet – Hacking Tools, Hacker News & Cyber Security
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
美团技术团队
小众软件
小众软件
NISL@THU
NISL@THU
Simon Willison's Weblog
Simon Willison's Weblog
T
The Exploit Database - CXSecurity.com
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
S
Securelist
V
Vulnerabilities – Threatpost
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
A
Arctic Wolf
U
Unit 42
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
I Tested 5 AI Coding Tools on Real Work. Here Are the Results.
yan yan · 2026-05-14 · via DEV Community

I Tested 5 AI Coding Tools on Real Work. Here Are the Results.

I gave Copilot, Cursor, Claude Code, Windsurf, and Aider the same 3 real tasks. The results were not even close.

AI coding tools are everywhere. GitHub Copilot. Cursor. Claude Code. Windsurf. Aider. Every week there is a new one, and every review says "this tool changed my life."

I don't trust those reviews. Most test on toy problems — a todo app, sorting an array, fetching from an API. That is not how real software works.

So I designed a real-world benchmark. Three tasks pulled from my actual work. Not contrived. Not simplified. The same mess you deal with every day.

Here are the results.


The Test Setup

The tasks:

  1. Legacy refactor: A 400-line Python script with no tests, no types, and a known bug. Add type hints, write tests, and fix the bug without breaking anything else.
  2. Greenfield feature: Build a real-time data pipeline with WebSocket ingestion, transformation, and PostgreSQL writes. Must handle reconnection, backpressure, and schema evolution.
  3. Debug mystery: A Node.js service randomly returns 502 errors under load. No error messages. Been open for 2 weeks. Find it.

The contestants:

Tool Type Pricing
GitHub Copilot VS Code extension $10/mo
Cursor AI-native IDE $20/mo
Claude Code CLI agent API pay-per-use
Windsurf AI IDE $15/mo
Aider Open-source CLI Free (API cost only)

Scoring (1-10):

  • Accuracy: Did it produce correct, working code?
  • Context awareness: Did it understand the existing codebase?
  • Autonomy: How much did I have to hand-hold?
  • Speed: Time from prompt to working solution.

Task 1: Legacy Refactor

The script processes CSV files from an IoT sensor fleet. 400 lines. Zero comments. Variable names like x, tmp, and stuff. Been in production for 2 years. Nobody wants to touch it.

The known bug: on files larger than 10MB, the script silently drops the last batch of rows.

GitHub Copilot — 6/10

Copilot added type hints quickly and correctly. It caught several obvious bugs. But it struggled with the big-picture refactor — understanding why certain choices were made. The type hints were correct but superficial.

When I asked it to "refactor this into smaller functions," it gave a reasonable split but broke the data pipeline ordering. I had to manually fix the function call chain.

Best for: Tab completion and boilerplate. Not architecture.

Cursor — 7/10

Cursor did better at understanding full file context. Its inline suggestions for type hints were solid. When I selected a 100-line block and asked "refactor this," it proposed a clean extraction with proper error handling.

It missed the silent data loss bug on its own, but when I pointed at the specific region, it correctly identified the off-by-one error in the batch processing loop.

Best for: Refactoring with context awareness.

Claude Code — 5/10

Claude Code was too aggressive. When I said "refactor this file," it rewrote the entire thing from scratch — new structure, new patterns, everything. The result was cleaner code, but it changed behavior in subtle ways that would break production.

To be fair, when I said "no, just add types and fix bugs," it did exactly that. But I had to catch its first attempt. That is not autonomy.

Best for: Greenfield projects where you want a fresh architecture.

Windsurf — 6/10

Solid basics. Good type inference. Decent refactor suggestions. But it asked for confirmation on every single change. After 47 confirmations, I wanted to throw my laptop out the window.

In cascade mode, it got more autonomous but also more error-prone. It changed a dict to a defaultdict without asking, which subtly changed error behavior.

Best for: People who want fine-grained control over every change.

Aider — 4/10

Aider struggled with the 400-line file. It kept losing context — making a change, then suggesting another that contradicted the first one. The refactor it proposed was correct in isolation but broke imports across the codebase.

I had to explicitly say "keep all imports unchanged" for it to produce safe output.

Best for: Small, well-defined tasks with clear boundaries.

Winner: Cursor (7/10)

Best balance of autonomy and accuracy for refactoring legacy code.


Task 2: Greenfield Feature

Build a service that:

  • Connects to a WebSocket stream (crypto exchange ticker)
  • Transforms raw events into normalized records
  • Batches writes to PostgreSQL (1000 records or 5 seconds)
  • Handles reconnection with exponential backoff
  • Implements backpressure — stop reading if DB queue exceeds 10,000
  • Supports schema evolution — new fields should not crash the pipeline

I gave each tool the exact same specification paragraph. No starter code.

GitHub Copilot — 4/10

Copilot is a tab-completion engine, not an architect. It wrote reasonable code line by line but had no sense of overall design. The WebSocket client was fine. The PostgreSQL writer was fine. But the connection between them — the part that actually matters — was a mess. No backpressure. No graceful shutdown. Thread-safety issues everywhere.

I had to design the architecture myself and use Copilot as a faster typing tool.

Verdict: Good pair programmer, bad system architect.

Cursor — 8/10

Cursor impressed me here. It asked clarifying questions before writing code:

"Should the backpressure block the WebSocket reader or drop messages?"
"Do you want schema evolution to be strict (reject unknown fields) or permissive (store them in a JSONB column)?"

Then it generated a complete, working implementation. AsyncIO based. Proper connection management. Real backpressure with asyncio.Queue(maxsize=10000). Schema evolution via a JSONB overflow column. All in ~200 lines.

I ran it against a test WebSocket server. It worked on the first try.

Verdict: Closest thing to an "AI software engineer" I have seen.

Claude Code — 6/10

Claude Code generated beautiful code. Clean architecture. Type annotations everywhere. Comprehensive error handling. It even added a health check endpoint and structured logging that I didn't ask for.

The problem: it used asyncio.gather() without proper error propagation. When the WebSocket connection dropped, the entire process silently hung instead of crashing. I caught it during testing, but this is the kind of bug that makes it to production if you trust the output without reading it.

Verdict: Beautiful code, subtle bugs. Always review before shipping.

Windsurf — 7/10

Strong implementation. Good structure. It chose a multi-process approach instead of async, which I disagreed with but it worked. The backpressure implementation was creative — semaphore-based throttle instead of queue size checking.

It missed the schema evolution requirement entirely. I had to explicitly ask for it.

Verdict: Solid but not thorough. You need to be the project manager.

Aider — 5/10

Aider produced working code after three iterations. The first attempt had no error handling. The second added error handling but broke the batch writer. The third was functional but had a subtle race condition in the backpressure logic.

Verdict: Feels like pair programming with a junior dev who reads docs fast.

Winner: Cursor (8/10)

Its ability to ask clarifying questions and design a system end-to-end is unmatched.


Task 3: Debug Mystery

A Node.js Express service in Kubernetes. Under load (>500 concurrent requests), ~3% return 502 Bad Gateway. No stack traces. No error logs. Health check works fine. Memory and CPU look normal.

This bug had been open for 2 weeks. Two senior engineers had looked at it.

GitHub Copilot — 3/10

Copilot is not a debugger. It suggested checking error handlers, adding logging, and looking at the reverse proxy config — the same things the human engineers already tried.

Verdict: Useless for debugging.

Cursor — 6/10

When I gave Cursor access to the full codebase, it noticed something: the service uses a connection pool for downstream HTTP calls, and the pool has a default timeout of 30s. But the service has middleware that sets a request timeout of 29s.

The bug: When traffic spikes, connections queue up. Some requests hit the middleware timeout before the connection pool returns a connection. The middleware catches the timeout and returns a 502 — but the error happens outside the try-catch that logs errors. No log, no trace, just a 502.

This was the actual bug. A cursed interaction between two timeouts implemented by two different people 6 months apart.

Verdict: Actually useful for debugging. Reads the whole codebase.

Claude Code — 7/10

Claude Code found the same bug as Cursor but faster. It read the middleware chain, the connection pool config, and the error handling in sequence and said:

"There is a 1-second gap between the middleware timeout (29s) and the pool timeout (30s). During this gap, requests are cancelled by the middleware but the error handler does not catch cancellation errors. Try adding process.on('unhandledRejection', ...) and check if cancellation errors are being swallowed."

It was right. The fix was a 3-line change to the error handler.

Verdict: Best debugger of the bunch. Reads code like a senior engineer.

Windsurf — 5/10

Windsurf found the timeout mismatch but didn't connect it to the missing error logging. It said "these timeouts look close, maybe that's the problem?" — but didn't explain why or how to verify it.

I had to do the actual debugging myself.

Verdict: Hints at the answer but doesn't get you all the way there.

Aider — 4/10

Aider couldn't handle this task. It doesn't have a "read the whole codebase and form a hypothesis" mode. It works on files you explicitly show it. By the time I had shown it all the relevant files, I had basically debugged it myself.

Verdict: Not built for debugging.

Winner: Claude Code (7/10)

Fastest to the correct diagnosis. Best at reasoning about system-level interactions.


Overall Scores

Tool Task 1 (Refactor) Task 2 (Greenfield) Task 3 (Debug) Average
Cursor 7 8 6 7.0
Claude Code 5 6 7 6.0
Windsurf 6 7 5 6.0
GitHub Copilot 6 4 3 4.3
Aider 4 5 4 4.3

The Verdict

If you write code for a living, get Cursor. It is the only tool that consistently helps across all three task types. The $20/month is cheaper than one hour of your time.

If you do a lot of debugging, add Claude Code to your toolkit. It reasons about code differently — more like a senior engineer than a code completion engine.

GitHub Copilot is fine if you already have it, but it is not worth $10/month if you don't. It is a fancy autocomplete, not a coding assistant.

Aider is the best free option if you are comfortable on the command line and don't mind hand-holding the AI.

Windsurf is Cursor but more annoying to use. Skip it unless you really want that cascade feature.


The One Thing Nobody Tells You

All of these tools make you faster at writing code. None of them make you faster at thinking about what to build.

If you don't know what you're doing, AI will help you build the wrong thing faster.

The developers who get the most out of these tools are not the ones who prompt the best. They are the ones who already know what good code looks like and use AI to get there faster.

AI is a force multiplier, not a replacement for judgment.


If you found this useful, follow me on Dev.to for more honest tool reviews and practical engineering advice. No affiliate links, no sponsorship, just real testing.