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

We then had to go through all the code base and find every place we imported JSON and replace it with orJSON.

Rust in Production
Cloudsmith with Cian Butler

And then we did these each incremental steps.

Rust in Production
Cloudsmith with Cian Butler

We didn't flip the switch.

Rust in Production
Cloudsmith with Cian Butler

We flipped the switch on the Django one first.

Rust in Production
Cloudsmith with Cian Butler

Then we went through and flipped the switch on updating all the JSON files one at a time.

Rust in Production
Cloudsmith with Cian Butler

Until I think one day I just got very bored, sat down and had a train ride and just banged through every single... I just grabbed everywhere we imported JSON library and just iterated through those files, making sure they were all correct.

Rust in Production
Cloudsmith with Cian Butler

Like if you asked my previous employer if they're on Rust, they would say, nope, we have no Rust.

Rust in Production
Cloudsmith with Cian Butler

And I know for a fact there is Rust in every service because of the fact I put it there through that Python library.

Rust in Production
Cloudsmith with Cian Butler

And I think that's actually like a nice thing.

Rust in Production
Cloudsmith with Cian Butler

It's also true of the cryptography library in Python.

Rust in Production
Cloudsmith with Cian Butler

It's Rust based now.

Rust in Production
Cloudsmith with Cian Butler

There is Rust and there's Rust in Linux now.

Rust in Production
Cloudsmith with Cian Butler

Like Rust is everywhere.

Rust in Production
Cloudsmith with Cian Butler

It's getting rolled out everywhere.

Rust in Production
Cloudsmith with Cian Butler

But it's those nice places like or JSON where someone has sat down and said, how can I make this faster without breaking the API or in such a way that it doesn't take a massive lift to switch it out?

Rust in Production
Cloudsmith with Cian Butler

Yeah, not as often as I would like.

Rust in Production
Cloudsmith with Cian Butler

It's totally not as often as like, we've managed to get...

Rust in Production
Cloudsmith with Cian Butler

I talked about this before in previous talks at FOSDEM about our experience at it.

Rust in Production
Cloudsmith with Cian Butler

We switched or JSON first and it worked great.