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

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power