Changing std::sort at Google’s Scale and Beyond

That is not a number, that is a freed object

Faster initialization of instances with new class features

Issue #207

4/21/2022

{{PreviewText}} 

Yo
So from the feedback I got yesterday, I'll try adding a single research paper as an extra article for the Monday issue every week. We'll see how sustainable it is. Also big thanks for everyone who wrote in with feedback. If you're ever hesitant to write in, don't be. I love getting emails from you guys and gals. Also feel free to tell me a bit about yourself if you want (whatever you're comfortable with). I'm always interested in hearing what you're all up to. Plus I sometimes get approached for software projects/work and/or have my own projects/work I need (paid) help on, so having people I could ask would be great. Anyway, hope you all have a lovely weekend and here's the issue.

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

Changing std::sort at Google’s Scale and Beyond

Published: 20 April 2022
Tags: c++


Danila Kutenin illuminates the history of sort in C++, discusses a few issues with the current implementation, and presents a new solution.


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

That is not a number, that is a freed object

Published: 20 April 2022
Tags: c


Siddhesh Poyarekar explains how a common approach to pointer reallocation incorrectly breaks function fortification.


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

Faster initialization of instances with new class features

Published: 20 April 2022
Tags: javascript, v8


Joyee Cheung informs us on how "the initialization of class fields and private methods [being] much slower than the assignment of ordinary properties" was fixed in the V8 JavaScript engine.


Want to help and get cool stuff?

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 or the buttons below.

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! 

Thanks to sponsors and supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, Joe Hill, Astrid Sapphire, Gregory Mazzola, moki scott, Michael, Matt Braun, Tim Nash, Christoffer, and Mike Rhodes 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: 2732

Opens: 1286

Clicks: 345

Link Clicks Clicks % Unique Clicks Unique Clicks %
Changing std::sort at Google’s Scale and Beyond 122 42.51% 135 43.55
That is not a number, that is a freed object 89 31.01% 97 31.29
Faster initialization of instances with new class features 76 26.48% 78 25.16

Previous

Back to Issues

Next