
a pile of words in a trenchcoat im new heresay hi to me i would like to meet you :)
297 posts
You Ever Start Using A Tool For A Project And The Vibes Are Just Sliiiiightly Off? Thats How I Feel About
You ever start using a tool for a project and the vibes are just sliiiiightly off? That’s how I feel about actix-web. It seems nice, but I get the impression there may be something more sinister under the surface.
More Posts from Word-heap
a dinner date with rust
I’m a programmer and as a programmer I write code. There are a bunch of different programming “languages” that you can write code in, and one that I frequently find myself reaching for is called C. “Ok, cool, why do I care?” Well because C is monster that will eventually consume all of humanity. Created in the void from which all computing was born, it is The One Language that undergirds all the others. Rarely written but subtly permeating every crevice of our technology. It contains deep, dark secrets understood by only those steeped in the occult, the conduits to the souls of our computers, the systems programmers 🧙 (like me!)
oh and also pretty much every piece of software ever relies on it somehow ^.^ Don’t worry though everything is fine!
“Oh, that sounds Concerning!” you may say. Well, yes! Yes it is. And so Rust was born. The sales pitch for Rust goes something like this: “Rust! Because C is Bad and is Literally The Bane Of Your Existence.” Which... well, they make a compelling case! As a C programmer, I was skeptical of a language that claimed to have all the same features without any of the downsides, but eventually I decided to give it a go.
“Mmmmm tasty!” I say, biting into some bounds-checked arrays. I take a sip of the mutability rules and exclaim “Wow! This really is something incredible!”. For desert, I decide to order some of their world renowned ownership/borrowing system. It arrives, piping hot, and I begin to dig in. “Hmmm, this is nice... I think?” Worry begins to slip into my voice. I think to myself, “this does seem useful, but it feels like there’s some trade off being made here”. The waiter tells me how this was made with the worlds finest data race protection and my worry begins to grow.
A brief tangent on data races:
You know the little people who live inside the computer and make everything work? A data race is when 2+ little people are trying to work on the same project at once without talking to each other or making a plan. Things Will Go Wrong.
Data races are generally very bad and Rust does it’s very best to make sure that having one is literally impossible. The problem with that is that sometimes, you can have a data race, but it can actually be safe and fine and good! And by sharing the work, the program can finish it’s work much more quickly! However Rust is very quick to put it’s foot down and say “No! That’s too risky! I can’t allow you to put yourself in danger like that!” whereas C would say “Yeah, sure, go ahead, good luck ;-)”
So, this is where my dinner date with Rust started to go downhill. One of the things I write a lot of in C are “highly concurrent” which means that they have lots of little computer people working on them at once. It’s tricky, but it’s something I have a lot of expertise in. And when I tried to replicate those programs in Rust was fighting me at every turn.
It’s odd because while Rust is very picky about this stuff, and it even provides ways to tell it “Yes, I know what I’m doing, I promise you can trust me.” But these ways are just a little too clunky for my liking and proved to be enough of a pain to manage it really soured my whole meal. And I was so eager about it too!
I still would like to try Rust from time-to-time on smaller projects, but it’s really unfortunate that it’s just so unergonomic in many of the ways that matter most to me. And while it isn’t a great fit for my use-cases, I’d highly recommend it to anyone who wants to make their first foray into systems programming. For nearly everything aside from my specific use-case it seems to be leaps and bounds ahead of C, and C is really the only thing like it.
Rust is cool, tasty, and elegant to C’s old, rickety, and ugly, and it’s a huge boon for the systems programming ecosystem. But I get the sense that Rust isn’t exactly the C-killer it was made out to be and that C still has a place in the ecosystem (and our hearts 💖)
day 6.
so yesterday i decided to reblog some stuff because i was feeling fresh and funky and uh wow it has been ehm.. well it got waaaay more attention that I expected :D im glad people liked my little IoT explainer!!
im really enjoying this site ^.^ my only complaint is that there’s some stuff im interested in that doesn’t have fandoms on here, but aside from that im going to have to disagree with the “hell-site” classification. i get the feeling ill stick around for a good while at least :)
Hey OP, I feel ya. I really do. But the nice thing is that there’s an easy something you (yes you!) can do about that! You can just ask, in a totally chill and platonic way, “hey, do you mind if I rest my head on your shoulder/put my arm around you/give you a hug?” It took me the longest time to realize that as much as I’m a touchy-feely person, so are many, many other people.
That’s only my experience, but I think it makes a lot of sense -- humans like touch, and we like feeling close to each other. And while a lot of the time that stuff reads as ““romantic”“ it really really don’t have to. By challenging that idea and being physically close with your friends, you can help to change that :) Plus, who doesn’t like being cozy with their pals?
Sometimes I get the worst yearning to just lean in and hold my friend, but like--platonically. I don't know his orientation but I wouldn't want him to think anything of it either way. I wish touch wasn't seen as such a romantic thing at times
So I’ve been doing this whole new-to-tumblr daily journaling thing for a week now, and I feel like I’ve gotten a pretty good handle on how things work here! I’m having a great time, I’ve found some really cool stuff, and I’m just generally enjoying myself :D
Now that like more than 2 people follow me, I just wanted to ask ✨the crowd✨ if any of y’all have tips or suggestions for how to get the most out of this platform! Literally any kind of tumblr related advice, cool fandoms, tags to check out, accounts you think are great, hard-to-discover features, things I should post about, anything you think would be handy for a new user like myself ^.^
day 5.
wow that sure is a lot of blogs im following... no way ill regret this when i next look at my dash ahaha