Rethinking Search as Code Generation
Search isn't retrieval anymore. Perplexity is reframing it as code generation—and that changes everything.

Why it matters
Perplexity is publishing research that reframes the fundamental paradigm of search from information retrieval to code generation, signaling a shift in how AI-native search companies think about the problem space and compete with traditional search incumbents.
The key facts
10 to knowPublished on Perplexity Research blog (June 2, 2026)
Frames search-as-code-generation as conceptual shift
Posted to Hacker News (24 points, 2 comments — modest engagement)
Represents strategic positioning of Perplexity's thinking on next-gen search
Academic/research-driven narrative, not product launch or funding event
Published by Perplexity research team on June 2, 2026
Proposes code generation as core search mechanism
Challenges traditional retrieval-augmented generation (RAG) paradigm
Posted on Hacker News (24 points, 2 comments—limited engagement)
Suggests architectural shift for how AI accesses external knowledge
Go to the source
Hacker Newsresearch.perplexity.ai
Publisher excerpt: Article URL: Comments URL: Points: 24 # Comments: 2
