Rust concepts I wish I learned earlier

Mapping Python to LLVM

How to document tribal knowledge while offboarding employees

For your next side project, make a browser extension

Issue #320

1/19/2023

{{PreviewText}} 

Howdy
Went for another ice dip today and swam about 40 meters. I'd highly recommend it to anyone who has the chance to do it. Very invigorating. It also makes the prospect of sitting comfortably inside, typing away on a computer much more pleasant.
Last issue before the weekend, so hope you have a good one and here it is!

====================================================================

Today's Sponsor: Swimm

Let’s be honest, code documentation has a bad rep. But it doesn’t have to be that way. With Swimm, you can easily create documentation containing code from across your repos that updates automatically as you make changes in the code. And the best part? You can find those docs right in your IDE, next to the relevant code! 

====================================================================

Rust concepts I wish I learned earlier

Published: 16 January 2023
Tags: rust


Raul Jordan explores some of the trickier concepts in Rust that are worth learning when picking up the language.
Some highlights:

  • "There are two kinds of references in Rust, a shared reference (also known as a borrow), and a mutable reference (also known as an exclusive reference)"
  • Implement Deref to make your code cleaner
  • Really annoyed by the borrow checker? Use immutable data structures


====================================================================

Mapping Python to LLVM

Published: 9 January 2023
Tags: compiler, python


Exaloop presents how the Codon compiler works and how various Python constructs are mapped to LLVM IR.
Some highlights:

  • The compiler works by first parsing source code into an abstract syntax tree (AST), then performing type checking on the AST using a modified Hindley-Milner-like algorithm
  • The AST is converted to an intermediate representation called CIR and various analyses, transformations, and optimizations are performed on the CIR
  • The CIR is converted to LLVM IR and the LL


====================================================================

How to document tribal knowledge while offboarding employees

Published: 23 November 2022
Tags: business, sponsored


Swimm dives into the best approaches to take for documenting tribal knowledge in your company.
Some highlights:

  • Explains how onboarding and offboarding are intertwined
  • How to implement offboarding
  • Why a good offboarding process is necessary


====================================================================

For your next side project, make a browser extension

Published: 8 January 2023
Tags: business, web


The last issue's business/tech article was pretty popular, so I thought I'd include this one too. Geoffrey Litt talks about why it's worth trying to make a browser extension and how to make a business around it.
Some highlights:

  • "making an extension is a fun and efficient way to create useful software"
  • Covers how to perfect the extension to make it seem "native" to the platform
  • Building an app for a specific platform comes with risks, including platform risks like if the website implements your extension's functionality as a feature


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 3038

Opens: 1374

Clicks: 437

Link Clicks Clicks % Unique Clicks Unique Clicks %
Rust concepts I wish I learned earlier 106 40.15% 120 41.81
Mapping Python to LLVM 50 18.94% 54 18.82
How to document tribal knowledge while offboarding employees Awaiting Update Awaiting Update Awaiting Update Awaiting Update
For your next side project, make a browser extension 108 40.91% 113 39.37

Previous

Back to Issues

Next