Multi-Threading in C/C++: Implications on Software Library Design, Lambda Week: Syntax changes, C++11 to C++20, Use NATURAL FULL JOIN to compare two t

View email in your browser

1f0314a4-8aab-4e0f-926f-2f00a8e93e02.png
Issue #522 - August 17, 2020

Hello peeps,

Sorry for the absence of newsletters last week. I (Alex) was on a one week beach holiday, soaking up the sun, salt, and sounds of the ocean. Don't have anything exciting to mention at the start of this week since I spent most of my time at the beach practicing my Russian reading Russian fantasy or soaking up that vitamin D. Anyway, there's an exciting week of articles to look forward to, so let's dive right into it.

Articles

Lambda Week: Syntax changes, C++11 to C++20

(Aug 04) #cpp Save to Pocket

Lambda functions and/or closures allow you to inline a function without much hassle. They haven't always been around though, and over the years languages have added more features for using them. In this concise article, Bartlomiej Filipek highlights the changes made to lambda functions in C++11, 14, 17, and 20. Bartlomiej specifically focuses on the elements that make up the lambda function call and provides examples of what would work, what wouldn't and why.

Use NATURAL FULL JOIN to compare two tables in SQL

(Aug 05) #sql #postgres Save to Pocket

SQL has some pretty esoteric functions. They're really handy though for that 1 out of 100 use case situations though, especially if you're looking to optimize something. Lukas Eder has written an article that explores of these hidden SQL gems in the form of the NATURAL JOIN. Lukas explains how it can help you optimize table comparison, since most other solutions require accessing the tables multiple times, whereas with NATURAL JOIN, you only need one. Lukas also provides an alternative solution if you have pesky NULLs.

Multi-Threading in C/C++: Implications on Software Library Design

(Mar 04) #cpp Save to Pocket

Optimization has been moving more and more towards parallelization as hardware performance has been gradually stagnating. Although this article is from a while back, Karl Rupp does a good job of demonstrating timeless good practice principles; keep your library code flexible and convenient for the user. Karl explains these principles in the context of parallelizing in C++11 and the inconvenience of libraries forcing users to choose between multi or single threading in their applications.

And that's it for today! Discuss this issue at our subreddit r/morningcupofcoding.

Did you like what you read? Let us know by clicking one of the links below.

Liked - Disliked

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting us by becoming a patron (Patreon) for perks like ad-free issues, or via a one-time donation via PayPal.

Interested in sponsoring our newsletter? Click here to send us an email.

Cheers,
Alex

A Human Readable Project
Copyright © 2020 Human Readable Publications, All rights reserved.
You are receiving this email because you opted in via our website.

Our mailing address is:
Human Readable Publications
3015 31st Ave
Astoria, NY 11106-2404

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp

Older messages

What every developer should know about database consistency, Why Rust's Unsafe Works, Hiding messages in x86 binaries using semantic duals

Tuesday, August 25, 2020

View email in your browser Issue #523 - August 18, 2020 Articles What every developer should know about database consistency (Jul 31) #distributed systems Save to Pocket Distributed systems take a

Neuromorphic Chips Take Shape, Proposal: Register-based Go calling convention, Types as axioms, or: playing god with static types

Tuesday, August 25, 2020

View email in your browser Issue #524 - August 19, 2020 Articles Proposal: Register-based Go calling convention (Aug 10) #go Save to Pocket Go has been growing in popularity, and I've even heard it

Possibly one step towards named arguments in Rust, Why the C Language Will Never Stop You from Making Mistakes, The implication of const or reference

Tuesday, August 25, 2020

View email in your browser Issue #525 - August 21, 2020 Articles Possibly one step towards named arguments in Rust (Aug 08) #rust Save to Pocket Named arguments are pretty much when you can assign

You Might Also Like

📧 Implementing API Gateway Authentication With YARP

Saturday, May 4, 2024

​ Implementing API Gateway Authentication With YARP Read on: m​y website / Read time: 5 minutes BROUGHT TO YOU BY ​ Supercharging Development With AI and APIs ​ ​Announcing Postman v11: Streamline API

Software Testing Weekly - Issue 218

Friday, May 3, 2024

Unit, Integration and End-to-End Tests 🔧 View on the Web Archives ISSUE 218 May 4th 2024 COMMENT Welcome to the 218th issue! I loved going through this discussion among software engineers: What is your

gpt2-chatbot and OpenAI search engine - Weekly News Roundup - Issue #465

Friday, May 3, 2024

Plus: Med-Gemini; Vidu - Chinese answer to OpenAI's Sora; the first race of Abu Dhabi Autonomous Racing League; deepfaking celebrities to teach math and physics; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

NASA comes to the rescue of crowded rocket launch sites

Friday, May 3, 2024

Plus: Fisker's legal woes and Sprinklr lays off 100 View this email online in your browser By Christine Hall Friday, May 3, 2024 Good afternoon, and welcome to TechCrunch PM. We made it to Friday,

🎮 Forget the PS5 Pro, I Still Love My PS4 — The Best Lock Screen Widgets for iPhone

Friday, May 3, 2024

Also: Smart Home Mistakes to Avoid, and More! How-To Geek Logo May 3, 2024 Did You Know Half of the world's geysers are located in Yellowstone National Park. 🔑 More Passkeys Happy Friday! You can

JSK Daily for May 3, 2024

Friday, May 3, 2024

JSK Daily for May 3, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Musk raises $6B for AI startup

Friday, May 3, 2024

Also, is TikTok dodging Apple's commissions? View this email online in your browser By Haje Jan Kamps Friday, May 3, 2024 Welcome to Startups Weekly — Haje's weekly recap of everything you can

SWLW #597: Seek first to understand, The "Iterative Adjacent Possible", and more.

Friday, May 3, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

iOS Dev Weekly - Issue 659

Friday, May 3, 2024

Is Swift 6 hitting one of the REAL hard problems? Not generics, not data race safety, but naming things! 😬 View on the Web Archives ISSUE 659 May 3rd 2024 Comment Naming things is one of the two hard

Daily Coding Problem: Problem #1430 [Easy]

Friday, May 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. You have a large array with most of the elements as zero. Use a more space-