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

Gergely Orosz

๐Ÿ‘ค Speaker
1031 total appearances

Appearances Over Time

Podcast Appearances

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

It's now cleared, right?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

This concept is new to me as someone who's not used Rust for sure.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

It's very interesting.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

One thing I've read is on forums, people complaining about so-called fighting the borrow checker.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

What can make it challenging?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Yeah, I'm starting to understand why you mentioned that data structures were a place of learning coming from other languages.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Oftentimes the solution seems to be just think about your data structures, understand them, and do it in the Rust way, right?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

We talked about memory safety, but there is a keyword in Rust called unsafe.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

What does this do, and in what cases do people typically use?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

When does it make sense to use, and why does it even exist?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

That's just a naive question from me.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

You want to avoid this check or if you're in a loop every time.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

So unsafe will just avoid checks.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

May that be as if runtime or compile time checks or both?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Got it.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And then in practice for sensible use cases of unsafe, is it usually to do with high performance code typically?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Or what cases have you seen which are like legitimate?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

This is a great use case for unsafe.

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

Can we talk about the Rust ecosystem, the broader ecosystem?

The Pragmatic Engineer
Why Rust is different, with Alice Ryhl

And when it comes to this, the first thing that people come across, including myself, is the Crate ecosystem, Rust's package manager.