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

Daily Coding Problem: Problem #1707 [Medium]

Monday, March 3, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. In chess, the Elo rating system is used to calculate player strengths based on

Simplification Takes Courage & Perplexity introduces Comet

Monday, March 3, 2025

Elicit raises $22M Series A, Perplexity is working on an AI-powered browser, developing taste, and more in this week's issue of Creativerly. Creativerly Simplification Takes Courage &

Mapped | Which Countries Are Perceived as the Most Corrupt? 🌎

Monday, March 3, 2025

In this map, we visualize the Corruption Perceptions Index Score for countries around the world. View Online | Subscribe | Download Our App Presented by: Stay current on the latest money news that

The new tablet to beat

Monday, March 3, 2025

5 top MWC products; iPhone 16e hands-on📱; Solar-powered laptop -- ZDNET ZDNET Tech Today - US March 3, 2025 TCL Nxtpaper 11 tablet at CES The tablet that replaced my Kindle and iPad is finally getting

Import AI 402: Why NVIDIA beats AMD: vending machines vs superintelligence; harder BIG-Bench

Monday, March 3, 2025

What will machines name their first discoveries? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

GCP Newsletter #440

Monday, March 3, 2025

Welcome to issue #440 March 3rd, 2025 News LLM Official Blog Vertex AI Evaluate gen AI models with Vertex AI evaluation service and LLM comparator - Vertex AI evaluation service and LLM Comparator are

Apple Should Swap Out Siri with ChatGPT

Monday, March 3, 2025

Not forever, but for now. Until a new, better Siri is actually ready to roll — which may be *years* away... Apple Should Swap Out Siri with ChatGPT Not forever, but for now. Until a new, better Siri is

⚡ THN Weekly Recap: Alerts on Zero-Day Exploits, AI Breaches, and Crypto Heists

Monday, March 3, 2025

Get exclusive insights on cyber attacks—including expert analysis on zero-day exploits, AI breaches, and crypto hacks—in our free newsletter. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

⚙️ AI price war

Monday, March 3, 2025

Plus: The reality of LLM 'research' ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 03/03/2025

Monday, March 3, 2025

New blogs from Syncfusion ® AI-Driven Natural Language Filtering in WPF DataGrid for Smarter Data Processing By Susmitha Sundar This blog explains how to add AI-driven natural language filtering in the