Lifestream

Posts from September 2019

06:46 utc sep 17 2019 permalink

I added a feature to rust-bindgen to make a dependency optional to make the build lighter #github #patch https://github.com/rust-lang/rust-bindgen/pull/1615

07:30 utc sep 02 2019 permalink

Reported a critical bug in rustfmt #fail #github #patch https://github.com/rust-lang/rustfmt/issues/3770

07:28 utc sep 02 2019 permalink

Also added many more converter implementations with macros. There are 988 TryConvert implementations. #win #fail #artichoke

07:28 utc sep 02 2019 permalink

Led to reporting this #mruby bug: https://github.com/mruby/mruby/issues/4684 #github #fail although I was able to work around it #artichoke

07:27 utc sep 02 2019 permalink

This change added new functionality: Converting to and from byte and string slices #win #artichoke

Photo for post 740
07:26 utc sep 02 2019 permalink

The converters are central to #artichoke. Changing this core abstraction was painful: 84 files changed, 2000 lines added, 2800 lines removed. #fail #git

07:24 utc sep 02 2019 permalink

The converters allow the runtime to convert between Rust and Ruby types. They are the glue that the entire Ruby Core and Ruby Standard Library implementation is built upon. #artichoke

07:23 utc sep 02 2019 permalink

I'm separating the core of #artichoke from the #mruby backend specific glue. This step involved reimplementing the converters with the new traits in core.