@heaths@fosstodon.org cover
@heaths@fosstodon.org avatar

heaths

@heaths@fosstodon.org

Principal Software Engineer currently working on #AzureSDK at #Microsoft :microsoft:. My opinions are my own. Work on a number of OSS projects for work and personally in numerous languages including #cpp :cpp_language:, #csharp :csharp:, #javascript :javascript:, #golang :golang:, #rustlang :rust:, et. al. See a problem, fix a problem (or at least create an issue)!

Avid outdoor adventurer 🏔️❄️👞🚴‍♂️, husband, father.

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

heaths , to random
@heaths@fosstodon.org avatar

“Dev by a thousand cuts”

That’s often what feels like. I started learning C in the late 80s and BASIC before that. Since then I’ve become an expert in several languages and proficient in several others. I’m an experienced and though the rust compiler is by far the most helpful - and pushing other compilers to improve - there’s a lot of sharp edges in the grammar itself. Some other polyglots I’m getting into the language agree.

heaths OP ,
@heaths@fosstodon.org avatar

@ekuber you just beat my self-reply! 🙂 My instance still limits length.

That’s the main one for me. For many others - especially those new to the language or memory management in general - it all about lifetimes of which you’ve no doubt heard plenty.

Many are interested to learn in my division and I’m trying to put together a sort of curriculum so these things have been top of mind. I don’t have good solutions for how to solve them.

heaths OP ,
@heaths@fosstodon.org avatar

@ekuber I’ve also been warning people about refs on structs and enums. Often times the memory overhead of allocating isn’t worth it if a ref is only used for that reason. We’ve been taking that approach in the new stuff I’ve been driving.

About clone: that underscores my apprehension in more perf-related work - understanding when we’ll be allocating. Of course, with clone I’d always expect it unless using Arc and the like.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines