Journal Articles

Overload Journal #139 - June 2017 or Programming Topics
Browse in : All > Journals > Overload > o139 (7)
All > Topics > Programming (822)
All of these categories
Options:
View Article Map
View Archives

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Cache-Line Aware Data Structures

Bob Schmidt

06 August 2018 18:56:32 +01:00

Structuring your program to consider memory can improve performance. Wesley Maness and Richard Reich demonstrate this with a producer–consumer queue.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

miso: Micro Signal/Slot Implementation

Bob Schmidt

05 August 2018 18:45:43 +01:00

The Observer pattern has many existing implementations. Deák Ferenc presents a new implementation using modern C++ techniques.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

(Re)Actor Allocation at 15 CPU Cycles

Bob Schmidt

04 August 2018 18:37:42 +01:00

(Re)Actor serialisation requires an allocator. Sergey Ignatchenko, Dmytro Ivanchykhin and Marcos Bracco pare malloc/free down to 15 CPU cycles.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

How to Write a Programming Language: Part 2, The Parser

Bob Schmidt

03 August 2018 18:32:59 +01:00

We’ve got our tokens: now we need to knit them together into trees. Andy Balaam continues writing a programming language with the parser.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Compile-time Data Structures in C++17: Part 1, Set of Types

Bob Schmidt

02 August 2018 18:29:36 +01:00

Compile time data structures can speed things up at runtime. Bronek Kozicki details an implementation of a compile time set.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Don’t Assume Any Non-Zero exit() Will Fail!

Bob Schmidt

06 July 2018 17:13:44 +01:00

Silas S. Brown shares his finding on process exit codes.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Everyday Coding Habits for Safety and Simplicity

Bob Schmidt

05 July 2018 16:54:46 +01:00

Arun Saha has some simple advice for forming good habits in C++.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Code Critique Competition 112

Bob Schmidt

03 July 2018 16:27:33 +01:00

Set and collated by Roger Orr. A book prize is awarded for the best entry.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Program Challenge Report 3 and Challenge 4

Bob Schmidt

02 July 2018 16:24:33 +01:00

Francis Glassborow comments on his last challenge and presents a new one.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Type-agnostic Tracing Using {fmt}

Bob Schmidt

03 June 2018 17:07:06 +01:00

Tracing compound and custom types is a challenge. Mike Crowe demonstrates how {fmt} provides a safe alternative to printf.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

A Short Overview of Object Oriented Software Design

Bob Schmidt

02 June 2018 16:45:39 +01:00

Object oriented design has many principles. Stanislav Kozlovski demonstrates good design through a role playing game.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Libraries, Console Apps and GUIs

Bob Schmidt

11 May 2018 18:39:48 +01:00

Chris Oldwood compares the use of different application interfaces.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

The New C++ Interview

Bob Schmidt

09 May 2018 18:07:29 +01:00

Pete Goodliffe introduces a new way to test programming skills.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Code Critique Competition 111

Bob Schmidt

04 May 2018 17:23:55 +01:00

Set and collated by Roger Orr. A book prize is awarded for the best entry.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

No News is Good News

Bob Schmidt

06 April 2018 16:54:50 +01:00

Using ‘new’ without care can be slow. Paul Floyd uses Godbolt’s compiler explorer to see what happens when you do.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

5 Reasons NOT to Use std::ostream for Human-Readable Output

Bob Schmidt

03 April 2018 16:42:39 +01:00

C++’s ostream can be hard to use. Sergey Ignatchenko suggests we use the {fmt} library instead.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

The Expressive C++ Coding Challenge in D

Bob Schmidt

06 March 2018 16:22:44 +00:00

Sebastian Wilzbach presents a D language solution to a C++ problem.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Code Critique Competition 110 Part II

Bob Schmidt

04 March 2018 22:19:03 +00:00

[Web Editor's Note: Article is continued from here.]

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

CTAD – What Is This New Acronym All About?

Bob Schmidt

05 February 2018 16:39:05 +00:00

What is class template argument deduction? Roger Orr elucidates this new C++17 feature.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Functional Error-Handling with Optional and Expected

Bob Schmidt

02 February 2018 16:17:18 +00:00

Exceptions should be exceptional. Simon Brand shows modern alternatives from the standard library and ways to improve them.


  |<   <<   1   2   3   4   5   6   7   8   9   10   >>   >|
Sort by Date Title