Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Cian Butler

๐Ÿ‘ค Speaker
690 total appearances

Appearances Over Time

Podcast Appearances

Rust in Production
Cloudsmith with Cian Butler

Well, it worked great.

Rust in Production
Cloudsmith with Cian Butler

One customer broke because they were parsing JSON with...

Rust in Production
Cloudsmith with Cian Butler

Bash and grep and seds and all those things, don't do that.

Rust in Production
Cloudsmith with Cian Butler

They realized it was bad and they moved on.

Rust in Production
Cloudsmith with Cian Butler

So, orjson, great drop from Python.

Rust in Production
Cloudsmith with Cian Butler

After the success of orjson, I didn't want to like, I knew Pyotr existed.

Rust in Production
Cloudsmith with Cian Butler

So I sat down and said, where could Pyotr be used next?

Rust in Production
Cloudsmith with Cian Butler

The one that I wanted to look at was XML parsing.

Rust in Production
Cloudsmith with Cian Butler

Not parsing, serialization.

Rust in Production
Cloudsmith with Cian Butler

We have to serialize very large XML payloads.

Rust in Production
Cloudsmith with Cian Butler

So I was interested in seeing how could I come up with a more efficient way of doing this for our use case using Rust and Pyotr.

Rust in Production
Cloudsmith with Cian Butler

But I got distracted when I went on to Pyotr's docs and I noticed that they had a JSON schema library there.

Rust in Production
Cloudsmith with Cian Butler

And I thought, oh, cool.

Rust in Production
Cloudsmith with Cian Butler

I wonder if this is faster than our JSON schema library.

Rust in Production
Cloudsmith with Cian Butler

So I went to see our usage of JSON schema library and found out we were already using the Rust one.

Rust in Production
Cloudsmith with Cian Butler

But also we were using the Python one.

Rust in Production
Cloudsmith with Cian Butler

We had both installed and we're using them both at different parts in the code.

Rust in Production
Cloudsmith with Cian Butler

And I kind of just looked at myself going,

Rust in Production
Cloudsmith with Cian Butler

How do we, what happened here?