<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C++ write your own stream class - part 1a: the cost of objects can be zero (embedded friendly C++)</title><link>/technologies/code_exchange/b/blog/posts/c-write-your-own-stream-class---part-1a-the-cost-of-objects-can-be-zero-embedded-friendly-c</link><description>I wrote a little output stream class in a previous post: C++ write your own stream class - part 1: output stream initial design (embedded friendly C++) .
In this post, I&amp;#39;m adding an input stream, and an input / output stream that&amp;#39;s su...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: C++ write your own stream class - part 1a: the cost of objects can be zero (embedded friendly C++)</title><link>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</link><pubDate>Thu, 13 Nov 2025 20:38:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9eae9fa2-f977-4d6e-8447-95f82795e6ae</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&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;</description></item><item><title>RE: C++ write your own stream class - part 1a: the cost of objects can be zero (embedded friendly C++)</title><link>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</link><pubDate>Thu, 13 Nov 2025 17:46:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9eae9fa2-f977-4d6e-8447-95f82795e6ae</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;In case you want to embark on a RISC vs ARM tangent: this post is not about that.&lt;br /&gt;It&amp;#39;s a comparison about C++ and C designs, and a check: are C++ constructs too expensive for microcontrollers (any)?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d be interested into a GCC vs other toolchains battle though ...&lt;/p&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;</description></item><item><title>RE: C++ write your own stream class - part 1a: the cost of objects can be zero (embedded friendly C++)</title><link>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</link><pubDate>Thu, 13 Nov 2025 16:38:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9eae9fa2-f977-4d6e-8447-95f82795e6ae</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I added the RISC-V assembler:&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:2ff237af-4343-4f39-b075-b5fadb28a4fe:type=text&amp;text=main%3A%0A%20%20%20%20%20%20%20%20addi%20%20%20%20sp%2Csp%2C-16%0A%20%20%20%20%20%20%20%20li%20%20%20%20%20%20a5%2C53%0A%20%20%20%20%20%20%20%20sb%20%20%20%20%20%20a5%2C15%28sp%29%0A%20%20%20%20%20%20%20%20li%20%20%20%20%20%20a0%2C0%0A%20%20%20%20%20%20%20%20addi%20%20%20%20sp%2Csp%2C16%0A%20%20%20%20%20%20%20%20jr%20%20%20%20%20%20ra]&lt;/p&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;</description></item></channel></rss>