Journal Articles
Browse in : |
All
> Topics
> Programming (877)
All > Journal Columns > Editorial (221) 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.
Code Critique Competition
Bob Schmidt
03 September 2018 18:22:33 +01:00
Set and collated by Silas Brown. 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.
Challenge 4 Report & Outlining Challenge 5
Bob Schmidt
02 September 2018 18:16:03 +01:00
Francis Glassborow presents the responses to the challenge from last time and outlines the next 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.
Should I Lead by Example?
Bob Schmidt
07 August 2018 19:01:22 +01:00
Stuck on a problem? Frances Buontempo considers where to turn to for inspiration.
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.
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.
Automate all the things
Bob Schmidt
05 June 2018 17:17:28 +01:00
Automation can speed things up. Frances Buontempo considers how it can make things worse.
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.
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.