One of the biggest traps C lays for beginners is its idiosyncratic and confusing treatment of arrays. I often times see people learn, or conclude themselves, that arrays in C are just pointers, which is not the case. In C, arrays are not pointers, and in this post I want to go over the main reasons why that is the case.1 1. sizeof() This is the first situation that caused me to see how arrays and pointers are really distinct.
Every year I think of writing a “Rust 20xx”1 post, and I never do, but this year I’ve decided to power through the procrastination, I’m also on a 5 hour flight with no Wi-Fi, so this will at least provide me with some form of entertainment! Since I’m blessed enough to work full-time using Rust I end up having two separate sets of goals for Rust, one from the point of view of Standard Cognition (Sc) as a company that is committed to Rust, and another as someone who likes to work on projects in Rust in his free time.
I was 18 when I moved to Lisbon. I wasn’t really sure who I wanted to be, and I mean that quite literally. I was aware that, having just left my home country, I had a chance to choose who I wanted to be, in a sense. Of course I couldn’t just throw away all my baggage and persona, a lot of it was going to be part of who I was no matter what, but somehow it felt like a chance to pick new hobbies, new habits, things like that.
I grew up in a farm, a farm in the middle of nowhere. Well, of course it is somewhere, 22° 02′ 46.2″ S 43° 02′ 38.2″ W to be exact, it’s just that “where” isn’t the question to be asked, because it doesn’t matter. It doesn’t matter because it could’ve been anywhere; I could’ve grown in a farm in China, Alabama, or France, it wouldn’t make much of a difference because those are just names; home is home.
A few weeks ago I finally got my new work computer. I had been using an underpowered MacBook Pro that I had grown to hate for months, and so I asked for a Linux laptop, and another systems engineer followed along. When they asked me which laptop I would like, I recommended a Thinkpad. I had heard nothing but good things about them and their Linux support, and so I felt confident they would prove to be a good choice.