I'm excited to share / launch an early preview of https://t.co/K1rCfFUvda.
Diffui takes a different approach to AI design, leveraging diffusion as the first step. Take it for a spin - I'd love your thoughts.
Demos in thread:
@paulgb Yep, "Review this branch / commit", and then describe what you don't like about it / want fixed. It's pretty effective (particularly with plan mode); probably helps that it's getting a fresh context window to work with.
Claude Code is great at "duct tape" build systems and refactor work. Here's an example, commit link below.
Input: Could we compile quickjs libregexp to wasm, call it via wazero, and use it as a replacement for regexp2 which can actually handle some of the unicode edge cases?
I wrote a JS Engine in Go using Claude Code. This has been my side project for the past two months.
It's passing ~44000 Test262 tests, almost reaching parity with QuickJS on Test262.
The code is available on Github (MIT License), and I wrote a short blog about it.
@awesomekling@ladybirdbrowser Nice! Yeah the classic JS benchmarks don't spend that much time in parse / compile. It might come more into play with multi-megabyte JS bundle sizes on the web.
Those generated property-escapes tests in Test262 are really brutal.
@awesomekling@ladybirdbrowser Ah that makes lot more sense, it's a nice isolated subsystem to start off with. That means you don't have to deal with the GC integration yet, either.
Any change on Test262 runtime, or do you run that with cached bytecode?
@davidcrawshaw It's unclear to me how easy it is to escalate from those to an exploit given the use-after-free protections in the allocator, but still deeply annoying. There's also a bunch of type confusion footguns around downcasting.
https://t.co/wMPw6I6fD4
@davidcrawshaw "Too dangerous" depends on the threat model.
For web browsers, a successful exploit is extremely valuable; a likely target for nation-state level actors.
C++ with smart pointers has a bunch of sharp edges which are easy to make mistakes that can lead to memory safety issues.