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

推荐订阅源

Hacker News: Ask HN
Hacker News: Ask HN
C
Cisco Blogs
The Hacker News
The Hacker News
T
Tor Project blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The GitHub Blog
The GitHub Blog
A
Arctic Wolf
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The Register - Security
The Register - Security
云风的 BLOG
云风的 BLOG
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
Vercel News
Vercel News
C
CERT Recently Published Vulnerability Notes
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
M
MIT News - Artificial intelligence
I
Intezer
aimingoo的专栏
aimingoo的专栏
U
Unit 42
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
Microsoft Security Blog
Microsoft Security Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyberwarzone
Cyberwarzone
P
Proofpoint News Feed
P
Proofpoint News Feed
B
Blog
T
Threat Research - Cisco Blogs
博客园 - 叶小钗
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Know Your Adversary
Know Your Adversary
Engineering at Meta
Engineering at Meta
G
Google Developers Blog
PCI Perspectives
PCI Perspectives
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Application and Cybersecurity Blog
Application and Cybersecurity Blog
MyScale Blog
MyScale Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Schneier on Security
Schneier on Security
N
News | PayPal Newsroom
C
Cybersecurity and Infrastructure Security Agency CISA
H
Help Net Security
博客园 - 聂微东
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
GRAHAM CLULEY

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
Why Elixir and Phoenix are the Best Stack for the AI Era — PorchLab
Will Cromwell · 2026-06-21 · via Hacker News - Newest: "AI"

If you’ve spent the last year building AI-integrated applications, you’ve probably noticed a recurring architectural nightmare.

We are constantly waiting on network calls. We are juggling thousands of persistent WebSocket connections to stream tokens back to impatient users. And to handle all of this, we are bolting complex asynchronous queues, Redis instances, and bloated frontend frameworks onto our traditional MVC or microservice backends.

We’re trying to build next-generation, highly concurrent AI applications using tools designed for the stateless request/response web of 2014.

After years of architecting systems at scale, I’ve realized that the most pragmatic choice for building in the generative AI era isn’t the stack you might expect. It’s Elixir and the Phoenix framework.

When building AI wrappers, agents, or multi-user chat interfaces, your application is inherently I/O bound. You are spending most of your time waiting for an LLM provider’s API to respond. In traditional environments like Ruby, Python, or Node.js, holding open thousands of connections while waiting for an external API requires serious infrastructure gymnastics — event loops, worker pools, and memory bloat.

Elixir runs on the Erlang VM (BEAM), which was literally invented by telecom engineers to handle millions of concurrent phone calls without dropping a sweat.

In Elixir, every user connection, every background task, and every LLM API call runs in its own lightweight process. These aren’t OS-level threads; they take up literal kilobytes of memory. You can easily manage tens of thousands of concurrent users chatting with AI agents on a single, cheap server. No Kubernetes clusters required. No complex autoscaling rules just to handle a traffic spike. The system simply absorbs the concurrency natively, leaving a remarkably small infrastructure footprint.

2. The Ideal Engine for Streaming Text

The “ChatGPT effect” has permanently changed user expectations. You cannot make a user wait 15 seconds for a complete response; you have to stream the output token-by-token.

In a standard stack, this is surprisingly hard to get right. You need a frontend framework (React/Vue) managing complex state, a WebSocket server handling the streams, and a message broker (like Redis) keeping everything in sync across your backend containers. It’s a distributed systems headache just to put words on a screen.

Enter Phoenix LiveView.

LiveView keeps the state on the server and pushes HTML updates directly to the client over a single, multiplexed WebSocket. When your backend receives a new text token from the OpenAI API, you simply update the server-side state. Phoenix automatically diffs the UI and pushes just the new token across the wire to the browser.

No frontend state management. No separate GraphQL API. No message brokers. Because Phoenix has distributed PubSub built directly into the framework, broadcasting AI-generated streams to one user — or ten thousand users in a shared collaborative room — is functionally a one-liner.

3. Ecosystem Sanity: Elixir vs. the Node.js Moving Target

When you build a fast-moving AI startup, the last thing you want to spend time on is fighting your own tools. Look at the Node.js ecosystem right now. It is in a perpetual state of identity crisis. You have to choose between Node, Deno, or Bun. You have to figure out if your libraries support CommonJS or ESM. You have to stitch together a meta-framework like Next.js with an ORM, a WebSocket library, and a background worker queue, hoping they all play nice after the next major npm upgrade. It’s an exhausting treadmill of breaking changes and fragmented community standards.

Elixir offers absolute architectural sanity by comparison.

The core tooling in Elixir is remarkably mature and stable. Phoenix isn’t just a router; it’s a cohesive, battery-included framework that has evolved predictably for a decade. Data persistence is handled by Ecto, a robust database wrapper that doesn’t suffer from the object-relational impedance mismatch of JavaScript ORMs.

Because Elixir is built on the BEAM, features that require third-party infrastructure in the Node world — like background job processing (via Oban) or pub/sub messaging — run directly inside the application memory pool. You get a single, rock-solid ecosystem where code written five years ago still compiles and runs flawlessly today. You can focus 100% of your energy on shipping AI features, rather than refactoring build tools and managing dependency hell.

4. Iterating at “AI Speed”: The Case for the Monolith

The generative AI landscape is shifting underneath our feet on a weekly basis. New foundation models drop constantly, user expectations are evolving at lightspeed, and what looked like a solid product idea on Monday might be rendered obsolete by an OpenAI or Anthropic update on Thursday.

In this hyper-volatile environment, finding Product-Market Fit (PMF) is a brutal race. It’s not about slowly optimizing a stable feature set; it’s about radical, rapid experimentation. You might need to completely rip out a RAG pipeline, pivot your entire core use case, and fundamentally alter your database schema — all in the same week.

If your startup is built on a complex web of microservices, this kind of agility is mathematically impossible. You cannot afford to coordinate a schema change in a database service, a prompt update in a Python AI worker, and a UI overhaul in a React frontend across three different repositories and CI/CD pipelines just to test a new hypothesis. Microservices optimize for massive, specialized engineering teams, but they absolutely slaughter your iteration speed when you are still searching for PMF.

Phoenix encourages the monolith, bringing your entire stack into a single codebase. Need to drastically change how an AI agent stores conversational memory and immediately stream that new format to the user? You make the change in one place, open one pull request, and deploy one artifact.

But unlike the tangled spaghetti codebases of the past, Elixir provides built-in tools (like Contexts) to enforce strict, logical boundaries between your domains. You get the agility to pivot your product overnight to match the shifting AI market, along with the architectural soundness to scale it once you actually strike gold.

5. The Secret Weapon: AI Writes Better Elixir

This is the point that usually raises eyebrows. Isn’t Python the language of AI?

For training models and running data science pipelines, absolutely. But for building robust web applications using those models, Elixir holds a massive advantage: Large Language Models are exceptionally good at writing it.

This isn’t just an anecdotal observation; it’s backed by rigorous benchmarking. In late 2025, Tencent’s AI team published the AutoCodeBench study, a large-scale benchmark comprising nearly 4,000 real-world programming problems across 20 languages. The results were staggering: Elixir scored the highest completion rate of any language tested.

When combining the output of over 30 evaluated models, 97.5% of Elixir problems were solved by at least one model. Even looking at individual model performance, Elixir reigned supreme. Claude Opus 4, for example, achieved an 80.3% success rate on Elixir tasks — its highest score overall, decisively beating languages with vastly more training data like C# (74.9%) and Kotlin (72.5%).

How does a language with a fraction of Python’s market share perform so much better? It comes down to architecture:

  • Immutability enables local reasoning: LLMs struggle profoundly with hidden state, complex object-oriented inheritance trees, and unpredictable side effects. In Elixir, data is immutable. The AI doesn’t have to guess if a function mutates an object five layers deep; it simply takes data in and returns data out.
  • Explicit Data Flow: The pipe operator (|>) forces a clean, linear transformation of data from top to bottom. It’s highly predictable for an LLM to generate and extend.
  • Pattern Matching over Defensive Coding: Instead of writing dozens of nested if/else checks that easily confuse coding agents, Elixir relies on strict pattern matching to handle both “success” and “error” tuples cleanly.

When you ask Claude or GPT-4 to write an Elixir module, the fundamental rules of the language force the AI to produce clean, decoupled, and predictable code. Because the boundaries are so explicit and the mix format styling is universal, AI-generated Elixir code works on the first try far more often than in any other language I’ve used in my career.

The Takeaway

The AI boom is rewarding teams that can ship highly interactive, real-time applications quickly. If you are bogging your team down in managing connection pools, debugging React rendering cycles for streaming text, coordinating microservice deployments, and scaling up cloud infrastructure just to handle idle WebSocket connections, you are wasting cycles on the wrong problems.

Elixir and Phoenix give you the concurrent power of a telecom switch, the real-time interactivity of a complex SPA, the rapid iteration speed required to find PMF in a volatile market, and a functional paradigm that pairs beautifully with AI coding assistants. It is, without a doubt, the unfair advantage of the modern web.