Promises in JavaScript and Clojure

Async Cancellation I

Make your monorepo feel small with Git’s sparse index

Issue #123

11/11/2021

{{PreviewText}} 

Howdy-ho
If you write and publish technical content, and don't mind answering max 5 questions for me, can you please reach out to me by replying to this email? Hope you all have a lovely weekend, and here's the issue!

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

Promises in JavaScript and Clojure

Published: 10 November 2021
Tags: javascript, clojure


Promises are a tricky topic for people first starting out with programming. Hell, I bet most senior developers don't know the details of how they work. In this informative article, Otee dives into the depths of how promises function in JavaScript, and then compares them to the similar "future" feature in Clojure.


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

Async Cancellation I

Published: 10 November 2021
Tags: rust


I guess today is an async kind of day huh? As Yoshua Wuyts correctly surmises "sometimes we start things but decide midway through that we would prefer to rather not be doing them". How would this kind of functionality be done in Rust? Yoshua's article first distinguishes between tasks and futures, then goes on to explain how cancellation propagation should work for both, how it can be backported, how to reason about structured concurrency, and much more.


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

Make your monorepo feel small with Git’s sparse index

Published: 10 November 2021
Tags: git


Monorepos have become fairly popular in recent times (again? I feel like these are one of those concepts that were popular in the 70s, and have no been rediscovered, but couldn't find any sources on this theory). But a few (performance) issues arise with having all of your code contained in one place, especially when it comes to version control. Derrick Stolee's extensive article presents the newly implemented git feature "sparse index", which helps reduce the file load on git when using sparse checkout.


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!

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! 

Thanks to sponsors and supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, and Joe Hill this newsletter is provided to you for free. If you'd like to also show your support and buy me a monthly meal, you can donate on 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: 2466

Opens: 1121

Clicks: 357

Link Clicks Clicks % Unique Clicks Unique Clicks %
Promises in JavaScript and Clojure 135 38.90% 122 38.24
Async Cancellation I 86 24.78% 78 24.45
Make your monorepo feel small with Git’s sparse index 126 36.31% 119 37.30

Previous

Back to Issues

Next