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

Sebastian Scholz

๐Ÿ‘ค Speaker
485 total appearances

Appearances Over Time

Podcast Appearances

Rust in Production
Gama Space with Sebastian Scholz

So not a lot of space and some of the space you need for data as well.

Rust in Production
Gama Space with Sebastian Scholz

Because, yeah, you talked about this in a previous episode.

Rust in Production
Gama Space with Sebastian Scholz

You talked with, I think, KSAT, a provider of ground stations.

Rust in Production
Gama Space with Sebastian Scholz

So you might be familiar already, but a satellite doesn't have a direct communication to the ground all of the time.

Rust in Production
Gama Space with Sebastian Scholz

We also need to store data on the satellite itself before we can pass it down to the ground stations.

Rust in Production
Gama Space with Sebastian Scholz

Yes, as much as possible.

Rust in Production
Gama Space with Sebastian Scholz

So whenever we can use it, we try to avoid the allocations and just use stack variables.

Rust in Production
Gama Space with Sebastian Scholz

Or we have our own stack allocated statically and use elements out of that.

Rust in Production
Gama Space with Sebastian Scholz

But sometimes it's just not possible to know at compile time how much memory you need to use.

Rust in Production
Gama Space with Sebastian Scholz

For example, think about the telecommand stack.

Rust in Production
Gama Space with Sebastian Scholz

For the Alpha satellite, we were able to send telecommands to it.

Rust in Production
Gama Space with Sebastian Scholz

And on the satellite itself, you don't know how many telecommands will come in at a given time and how long it takes for each telecommand to be worked on.

Rust in Production
Gama Space with Sebastian Scholz

And so we had a queue of telecommands.

Rust in Production
Gama Space with Sebastian Scholz

And this queue, of course, has an upper limit.

Rust in Production
Gama Space with Sebastian Scholz

But the memory out of it was kind of heap allocated, you know, because it had an upper limit, but it was taken out of a big slab.

Rust in Production
Gama Space with Sebastian Scholz

But in all other cases where we can, we really try to avoid using the heap.

Rust in Production
Gama Space with Sebastian Scholz

I mean, that's the no-STD environment for you.

Rust in Production
Gama Space with Sebastian Scholz

You don't get heap for free.