RSSAmplifier

Blog

that one thing that one time

ramblings by Adam Perry

blog.anp.lolRSS feed ↗9 posts

Latest posts

moxie: incremental declarative UI in Rust

moxie is a small incremental computing runtime focused on efficient declarative UI, written in Rust. moxie itself aims to be platform-agnostic, offering tools to higher-level crates that work on specific platforms. Most applications using moxie will do so through bindings between the runtime and a concrete UI system like the web or a consumer desktop platform. The general goal of moxie is to…

lolbench: automagically and empirically discovering Rust performance regressions

lolbench compiles ~350 benchmarks with every Rust nightly. It then runs them and highlights potential performance regressions in the standard library and the output of the compiler. Each toolchain's run is summarized with a list of likely candidates, as seen in the image below, and we're now getting started using these to safeguard the performance of Rust programs. Come help!

Snapshots: Automating Golden Master Regression Tests in Rust

I've been playing around with snapshot , a crate for automating golden master tests in Rust. It's experimental and unstable, but I think it's a cool example of how easy it is to build procedural macro helpers with the newer Rust APIs.

For Posterity: New job, conference talks

Blogs serve lots of purposes. In the past I've written here to talk about mostly technical Rust things, but I thought it'd be worth writing a little bit about what I've been doing since last fall. I don't expect anyone to read this but it'll be nice to have for myself down the road.

Rust Performance: A story featuring perf and flamegraph on Linux

Gaining some performance wins in a Rust program with a 7 line diff, using cargo bench , perf , and flamegraph on Linux.

cue: a little parallel pipeline

Update: the cue crate on crates.io has been transfered to someone working with CUE format files for compact discs. I published a quick little crate for long-running "streaming" parallel tasks.

Baby Steps: Slowly Porting musl to Rust

I'm toying with writing a C standard library in Rust by porting musl-libc over function-by-function. The work is in progress at https://github.com/anp/rusl .

Measuring Rust Runtime Performance: cargo bench vs. getrusage()

Comparing cargo bench results to a slightly more robust method eliminates a lot of the noise, but there still appear to be a few performance regressions that both methods agree on. If someone has the statistics expertise to set me straight or help me take this further or both, please get in touch.

(Almost) 6 Months of Rust Runtime Performance

After reading this issue , I decided to poke around in the history of rustc 's runtime performance.