<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Blog</title><subtitle type="html" /><id>https://community.element14.com/technologies/code_exchange/b/blog/atom</id><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog" /><link rel="self" type="application/atom+xml" href="https://community.element14.com/technologies/code_exchange/b/blog/atom" /><generator uri="http://telligent.com" version="12.1.9.35025">Telligent Community (Build: 12.1.9.35025)</generator><updated>2025-07-19T13:02:00Z</updated><entry><title>Encoders work! i2c bus operational</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/encoders-work-i2c-bus-operational" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/encoders-work-i2c-bus-operational</id><published>2026-05-15T00:45:26Z</published><updated>2026-05-15T00:45:26Z</updated><content type="html">Yesterday I learned that j1939 is Canbus, and that our FC6A Plus PLCs support this.&amp;nbsp;Today I learned that when I plug in the PLC to the network the arduino looses control over the HMI, and the PLC doesnt have it. ..so theres some unknown networki...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/encoders-work-i2c-bus-operational"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29751&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>SensoredHacker0</name><uri>https://community.element14.com/members/sensoredhacker0</uri></author><category term="plc" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/plc" /><category term="hmi" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/hmi" /><category term="encoder" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/encoder" /><category term="On The Line" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/On%2bThe%2bLine" /><category term="pro" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/pro" /><category term="arduino" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/arduino" /></entry><entry><title>Omega 5SRTC hack, and basic IO on arduino to HMI is operational.</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/omega-5srtc-hack-and-basic-io-on-arduino-to-hmi-is-operational" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/omega-5srtc-hack-and-basic-io-on-arduino-to-hmi-is-operational</id><published>2026-05-13T03:07:03Z</published><updated>2026-05-13T03:07:03Z</updated><content type="html">Im doing my on the Line challenge figured out the issues with the HMI Coms,geting readdy to write the helper functions to make the arduino PLC Server respond with the IO of the arduino.6% memory use on a Mega!well anyway all I have for pots are these...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/omega-5srtc-hack-and-basic-io-on-arduino-to-hmi-is-operational"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29744&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>SensoredHacker0</name><uri>https://community.element14.com/members/sensoredhacker0</uri></author></entry><entry><title>Now possible to deploy IDEC PLC code from server of choice.</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/now-possible-to-deploy-idec-plc-code-from-server-of-choice" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/now-possible-to-deploy-idec-plc-code-from-server-of-choice</id><published>2026-02-25T19:46:34Z</published><updated>2026-02-25T19:46:34Z</updated><content type="html">Ok The Docs arent great, and I literally just figured this out 2 days ago.&amp;nbsp;but if you have a ZLD file (the raw instruction files for IDEC PLC Code)it is now possible to deploy native instructions from the server of your choice.This includes Linu...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/now-possible-to-deploy-idec-plc-code-from-server-of-choice"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29541&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>SensoredHacker0</name><uri>https://community.element14.com/members/sensoredhacker0</uri></author><category term="plc" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/plc" /><category term="python" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/python" /><category term="Code Exchange" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Code%2bExchange" /><category term="controls" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/controls" /><category term="idec" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/idec" /><category term="embedded" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/embedded" /><category term="automation" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/automation" /><category term="linux" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/linux" /></entry><entry><title>More FC6A library uses</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/more-fc6a-library-uses" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/more-fc6a-library-uses</id><published>2026-01-23T17:18:16Z</published><updated>2026-01-23T17:18:16Z</updated><content type="html">Yesterday I wanted to reconfigure all the PLCs in my lab with settings for a specific use case.&amp;nbsp;This involves changing the values of 3 registers to make the PLCs listen to a server over DHCP.&amp;nbsp;my lab has 12 FC6A plcs. and loading windLDR on ...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/more-fc6a-library-uses"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29479&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>SensoredHacker0</name><uri>https://community.element14.com/members/sensoredhacker0</uri></author><category term="plc" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/plc" /><category term="python" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/python" /><category term="programming" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/programming" /><category term="automation" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/automation" /></entry><entry><title>Conditional breakpoint in VSCode</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/conditional-breakpoint-in-vscode" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/conditional-breakpoint-in-vscode</id><published>2025-12-15T20:00:16Z</published><updated>2025-12-15T20:00:16Z</updated><content type="html">Sometimes, you want to have a breakpoint that only halts execution (breaks&amp;nbsp;) if a certain condition is true.




My user story:
I have a GPS design that receives data from satellites. Sometimes, that radio receives &amp;quot;not guaranteed&amp;quot; data. The dat...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/conditional-breakpoint-in-vscode"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29420&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="vscode" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/vscode" /></entry><entry><title>modern C++: write my own function that returns true / false, and a value, part 2 (embedded friendly)</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-write-my-own-function-that-returns-true-false-and-a-value-part-2-embedded-friendly" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-write-my-own-function-that-returns-true-false-and-a-value-part-2-embedded-friendly</id><published>2025-12-04T17:59:36Z</published><updated>2025-12-04T17:59:36Z</updated><content type="html">what came before:

&amp;nbsp;&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-modules-function-returns-value-or-error-message"&gt;modern C++: function returns true / false, and a value or error message&lt;/a&gt;&amp;nbsp;
&amp;nbsp;&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-write-my-own-function-that-returns-true-false-and-a-value-or-error-message"&gt;modern C++: write my own function that returns true / false, and a value or error message&lt;/a&gt;&amp;nbsp;

C++&amp;nbsp;has released a new feature: return ...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-write-my-own-function-that-returns-true-false-and-a-value-part-2-embedded-friendly"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29406&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="gcc" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/gcc" /><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++26" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_26" /><category term="c++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_" /></entry><entry><title>modern C++: initialise a static array inside a class</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-initialise-a-static-array-inside-a-class" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-initialise-a-static-array-inside-a-class</id><published>2025-11-24T16:58:50Z</published><updated>2025-11-24T16:58:50Z</updated><content type="html">Pre C++17
In traditional C++, if you have a class that has a static array as data member, you have to initialise that array outside of the class.&amp;nbsp;
class myclass {
protected:
    static uint myarray[4];
};
uint myclass::myarray[4];

You will typi...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-initialise-a-static-array-inside-a-class"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29378&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="c++17" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_17" /><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_" /></entry><entry><title>Monitor your IDEC PLC with Maintenance Protocol using the open source library FC6A</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/monitor-your-idec-plc-with-maintenance-protocol-using-the-open-source-library-fc6a" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/monitor-your-idec-plc-with-maintenance-protocol-using-the-open-source-library-fc6a</id><published>2025-11-23T00:11:54Z</published><updated>2025-11-23T00:11:54Z</updated><content type="html">Maybe you work with IDEC PLCs, or maybe you have to monitor a process using them.&amp;nbsp;Well, from WindLDR, that process might suck, having to monitor trends, or open multiple instances of WindLDR just to look at some select registers, there is now a ...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/monitor-your-idec-plc-with-maintenance-protocol-using-the-open-source-library-fc6a"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29376&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>SensoredHacker0</name><uri>https://community.element14.com/members/sensoredhacker0</uri></author><category term="plc" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/plc" /><category term="industrial" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/industrial" /><category term="automation" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/automation" /><category term="innovation" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/innovation" /><category term="industrial iot" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/industrial%2biot" /></entry><entry><title>Generate Awesome ASCII ART with QAAA.py</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/generate-awesome-ascii-art-with-qaaa-py" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/generate-awesome-ascii-art-with-qaaa-py</id><published>2025-11-22T23:30:03Z</published><updated>2025-11-22T23:30:03Z</updated><content type="html">Hello All from rural Maine. QAAA.py is a novel drawing app, which uses&amp;nbsp; text to draw pictures. Some of y&amp;#39;all might have been around at a time when ASCII text was more prevalent.&amp;nbsp;Well anyway, this app is designed to be cross platform tho...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/generate-awesome-ascii-art-with-qaaa-py"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29375&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>SensoredHacker0</name><uri>https://community.element14.com/members/sensoredhacker0</uri></author><category term="Ascii Art" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Ascii%2bArt" /><category term="games" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/games" /><category term="text" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/text" /></entry><entry><title>C++ write your own stream class - part 1a: the cost of objects can be zero (embedded friendly C++)</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1a-the-cost-of-objects-can-be-zero-embedded-friendly-c" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1a-the-cost-of-objects-can-be-zero-embedded-friendly-c</id><published>2025-11-12T19:48:35Z</published><updated>2025-11-12T19:48:35Z</updated><content type="html">I wrote a little output stream class in a previous post: &amp;nbsp;&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1-output-stream-initial-design-embedded-friendly-c"&gt;C++ write your own stream class - part 1: output stream initial design (embedded friendly C++)&lt;/a&gt;&amp;nbsp;.
In this post, I&amp;#39;m adding an input stream, and an input / output stream that&amp;#39;s&amp;nbsp;su...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1a-the-cost-of-objects-can-be-zero-embedded-friendly-c"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29353&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_" /></entry><entry><title>C++ write your own stream class - part 1: output stream initial design (embedded friendly C++)</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1-output-stream-initial-design-embedded-friendly-c" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1-output-stream-initial-design-embedded-friendly-c</id><published>2025-11-11T19:09:30Z</published><updated>2025-11-11T19:09:30Z</updated><content type="html">In C++ it&amp;#39;s common to stream data. You write to a file using the &amp;lt;&amp;lt; operator.
example:&amp;nbsp;
cout &amp;lt;&amp;lt; &amp;quot;hello, world! &amp;lt;&amp;lt; endl;
In this blog I&amp;#39;m making my own minimal output stream class. Just enough code to show that it works. This co...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1-output-stream-initial-design-embedded-friendly-c"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29344&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_" /></entry><entry><title>modern C++ for loop, but you still want an index</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-for-loop-but-you-still-want-an-index" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-for-loop-but-you-still-want-an-index</id><published>2025-11-05T21:08:59Z</published><updated>2025-11-05T21:08:59Z</updated><content type="html">C++ has a range loop. A for loop that will run over all elements in the range you give it:
std::vector&amp;lt;int&amp;gt; v = {0, 1, 2, 3, 4, 5};
// ...

    for (auto i : v)
        std::cout &amp;lt;&amp;lt; i &amp;lt;&amp;lt; &amp;#39; &amp;#39;;
    std::cout &amp;lt;&amp;lt; &amp;#39;\n&amp;amp;#...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/modern-c-for-loop-but-you-still-want-an-index"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29326&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++26" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_26" /></entry><entry><title>Reflections on Using AI in Software Development</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/reflections-on-using-ai-in-software-development" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/reflections-on-using-ai-in-software-development</id><published>2025-09-11T19:59:54Z</published><updated>2025-09-11T19:59:54Z</updated><content type="html">Context: A Practical Project
Over the past days, I have been developing a Python Qt application to generate weekly meal plans for my baby and family.The project itself is not overly complex, but it has provided a valuable opportunity to reflect on so...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/reflections-on-using-ai-in-software-development"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29208&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>AngelSoto</name><uri>https://community.element14.com/members/angelsoto</uri></author><category term="python" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/python" /><category term="software development" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/software%2bdevelopment" /><category term="qt" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/qt" /><category term="Artficial Intelligence" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Artficial%2bIntelligence" /><category term="learning" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/learning" /><category term="ChatGPT" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/ChatGPT" /></entry><entry><title>C++ moving and returning objects part 2: move and copy  (embedded friendly C++)</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-moving-and-returning-objects-part-2-move-and-copy---rule-of-six" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-moving-and-returning-objects-part-2-move-and-copy---rule-of-six</id><published>2025-07-20T11:25:27Z</published><updated>2025-07-20T11:25:27Z</updated><content type="html">In object oriented designs, there are times when you replace an object by another. Example: when you&amp;nbsp;store an&amp;nbsp;object into an STL container. In a lot of those cases, you create an object, and add it.&amp;nbsp;The object in the container is a cop...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-moving-and-returning-objects-part-2-move-and-copy---rule-of-six"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29083&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++26" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_26" /><category term="stl" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/stl" /><category term="c++23" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_23" /><category term="c++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_" /><category term="c++20" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_20" /></entry><entry><title>C++ moving and returning objects part 1: object as return value (embedded friendly C++)</title><link rel="alternate" type="text/html" href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-moving-and-returning-objects-part-1-object-as-return-value" /><id>https://community.element14.com/technologies/code_exchange/b/blog/posts/c-moving-and-returning-objects-part-1-object-as-return-value</id><published>2025-07-19T11:02:00Z</published><updated>2025-07-19T11:02:00Z</updated><content type="html">You may read guidelines that say: &amp;quot;never&amp;nbsp;use an object as return value of a function. Because of performance reasons&amp;quot;. Because the object&amp;nbsp;is copied into the receiving variable when returning from the function call.&amp;nbsp;That was true in C++...(&lt;a href="https://community.element14.com/technologies/code_exchange/b/blog/posts/c-moving-and-returning-objects-part-1-object-as-return-value"&gt;read more&lt;/a&gt;)&lt;img src="https://community.element14.com/aggbug?PostID=29081&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</content><author><name>Jan Cumps</name><uri>https://community.element14.com/members/jancumps</uri></author><category term="Modern C++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/Modern%2bC_2B002B00_" /><category term="c++26" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_26" /><category term="c++23" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_23" /><category term="c++" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_" /><category term="c++20" scheme="https://community.element14.com/technologies/code_exchange/b/blog/archive/tags/c_2B002B00_20" /></entry></feed>