frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Xmloxide – an agent made rust replacement for libxml2

https://github.com/jonwiggins/xmloxide
20•jawiggins•2h ago
Recently several AI labs have published experiments where they tried to get AI coding agents to complete large software projects.

- Cursor attempted to make a browser from scratch: https://cursor.com/blog/scaling-agents

- Anthropic attempted to make a C Compiler: https://www.anthropic.com/engineering/building-c-compiler

I have been wondering if there are software packages that can be easily reproduced by taking the available test suites and tasking agents to work on projects until the existing test suites pass.

After playing with this concept by having Claude Code reproduce redis and sqlite, I began looking for software packages where an agent-made reproduction might actually be useful.

I found libxml2, a widely used, open-source C language library designed for parsing, creating, and manipulating XML and HTML documents. Three months ago it became unmaintained with the update, "This project is unmaintained and has [known security issues](https://gitlab.gnome.org/GNOME/libxml2/-/issues/346). It is foolish to use this software to process untrusted data.".

With a few days of work, I was able to create xmloxide, a memory safe rust replacement for libxml2 which passes the compatibility suite as well as the W3C XML Conformance Test Suite. Performance is similar on most parsing operations and better on serialization. It comes with a C API so that it can be a replacement for existing uses of libxml2.

- crates.io: https://crates.io/crates/xmloxide

- GitHub release: https://github.com/jonwiggins/xmloxide/releases/tag/v0.1.0

While I don't expect people to cut over to this new and unproven package, I do think there is something interesting to think about here in how coding agents like Claude Code can quickly iterate given a test suite. It's possible the legacy code problem that COBOL and other systems present will go away as rewrites become easier. The problem of ongoing maintenance to fix CVEs and update to later package versions becomes a larger percentage of software package management work.

Comments

blegge•51m ago
> arena-based tree with zero unsafe in the public API

Why "in the public API"? Does this imply it's using unsafe behind the hood? If so, what for?

DetroitThrow•2m ago
Yeah I'm a bit confused because you can have an entirely unsafe code base with just the public interface marked as safe. No unsafe in the interface isn't a measure of safety at all.
fourthark•46m ago
Does it fix the security flaws that caused the original project to be shut down?
blegge•33m ago
https://gitlab.gnome.org/GNOME/libxml2/-/commit/0704f52ea4cd...

Doesn't seem to have shut down or even be unmaintained. Perhaps it was briefly, and has now been resurrected?

notpushkin•14m ago
If by flaws you mean the security researchers spamming libxml2 with low effort stuff demanding a CVE for each one so they can brag about it – no, I don’t think anybody can fix that.
nicoburns•41m ago
How does it compare to the original in terms of source code size (number of lines of code?)
kburman•31m ago
Amazing work! I'd love to hear more details about your workflow with Claude Code.

As a side note and this isn't a knock on your project specifically. I think the community needs to normalize disclaimers for "vibe-coded" packages. Consumers really need to understand the potential risks of relying on agent-generated code upfront.

wooptoo•9m ago
A comment on libxml, not on your work: Funny how so many companies use this library in production and not one steps in to maintain this project and patch the issues. What a sad state of affairs we are in.

Just two days of oatmeal cut bad cholesterol by 10%

https://www.sciencedaily.com/releases/2026/02/260225081217.htm
1•gradus_ad•6m ago•0 comments

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
1•tambourine_man•10m ago•0 comments

Blender iPad App Development Halted as Android Tablets Get Priority

https://www.macrumors.com/2026/02/27/blender-ipad-pro-app-development-halted/
1•mrkpdl•14m ago•0 comments

Reconstructing OPL: Joseph Weizenbaum's Online Programming Language

https://timereshared.com/reconstructing-joseph-weizenbaums-opl/
1•abrax3141•19m ago•0 comments

Running a One Trillion-Parameter LLM Locally on AMD Ryzen AI Max+ Cluster

https://www.amd.com/en/developer/resources/technical-articles/2026/how-to-run-a-one-trillion-para...
3•mindcrime•25m ago•0 comments

Banning children from VPNs and social media will erode adults' privacy

https://www.newscientist.com/article/2516996-banning-children-from-vpns-and-social-media-will-ero...
4•hn_acker•26m ago•1 comments

Agentation: Structured UI feedback for coding agents

https://agentation.dev/
1•firloop•27m ago•0 comments

AMA about our work with the Dow and our thinking over the past few days

https://twitter.com/sama/status/2027900042720498089
1•caaqil•30m ago•0 comments

Show HN: Cognitive architecture that hit #1 on LiveBench (68.5%)

https://truthagi.ai
1•felipemayamuniz•31m ago•1 comments

Show HN: Quizz MCP – Turn Claude Code Conversations into Quizzes

https://github.com/ThoBustos/quizz-mcp
1•ThoBustos•34m ago•0 comments

AI What Do: A framework for thinking about AI power and human agency

https://osh.works/posts/ai-what-do/
1•oshoma•37m ago•0 comments

Daily Tetonor- the Daily Math Logic Puzzle

https://dailytetonor.com/
1•H3d3s•38m ago•0 comments

How Awesome? annotates GitHub awesome lists with repo stats, stars, last commit

https://how-awesome.libklein.com/
1•zdw•38m ago•0 comments

Show HN: Integrate governance before your AI stack executes – COMMAND console

https://www.mos2es.io
1•Burnmydays•38m ago•0 comments

deleted

1•folkstack•39m ago•0 comments

Ubuntu 26.04 ends a 40-year old sudo tradition

https://www.omgubuntu.co.uk/2026/02/ubuntu-26-04-sudo-password-asterisks
2•campuscodi•39m ago•0 comments

Napkin Math Flashcards

https://chughes87.github.io/napkin-math-flashcards.html
1•archarios•39m ago•1 comments

Fast Autoscheduling for Sparse ML Frameworks

http://fredrikbk.com/cgo26scorch.html
1•matt_d•40m ago•0 comments

Sam Altman AMA about DoD deal

https://xcancel.com/i/status/2027900042720498089
8•marcuschong•40m ago•1 comments

TENSURE: Fuzzing Sparse Tensor Compilers (Registered Report)

https://www.ndss-symposium.org/ndss-paper/auto-draft-689/
1•matt_d•44m ago•0 comments

OpenAI has released Dow contract language, and it's as Anthropic claimed

https://twitter.com/justanotherlaw/status/2027855993921802484
1•erwald•44m ago•0 comments

A Day in the Life of an Enshittificator [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
3•zahlman•45m ago•1 comments

Claude making me more productive every day usecases

1•joel_hainzl•48m ago•0 comments

DeepExplain: Interactive Guide to Dirac Notation and Quantum Mechanics

https://deepexplain.dev/dirac-notation/
2•crawde•50m ago•0 comments

Show HN: A live playground for Beautiful Mermaid

https://play.beautiful-mermaid.dev/
1•Justineo•50m ago•0 comments

Show HN: Atom – open-source AI agent with "visual" episodic memory

https://github.com/rush86999/atom
1•rush86999•50m ago•0 comments

A Reinforcement Learning Environment for Automatic Code Optimization in MLIR

https://arxiv.org/abs/2409.11068
1•matt_d•51m ago•0 comments

"Half the dads at this 7am swim practice have Codex or Claude Code fired up."

https://twitter.com/mattyglesias/status/2027724808406831604
5•jmeister•51m ago•0 comments

Show HN: Tool to surface past architectural decisions directly on Pull Requests

https://github.com/DecispherHQ/decision-guardian
5•iamalizaidi•53m ago•0 comments

Show HN: Pare – would you let strangers play matchmaker for you?

https://www.paredate.com
1•nanamanso1•55m ago•0 comments