[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] boost on embedded target such as ARM
From:       Steven Clark <steven.clark () vgocom ! com>
Date:       2015-04-23 16:20:56
Message-ID: SN2PR0501MB10713FCD61915E953E367DD4ECED0 () SN2PR0501MB1071 ! namprd05 ! prod ! outlook ! com
[Download RAW message or body]

That's a fairly vague question.  I use thread, data_time, chrono, filesyste=
m, and system on an older embedded ARM processor.  These libraries are grea=
t for my application.

I recommend that you not just grab anything you see in Boost indiscriminate=
ly, but rather (as with anything else) look a little deeper and make sure t=
he specific library is suitable.  I think it's fair to say that all Boost l=
ibraries have efficiency as a consideration, but are most uncompromising ab=
out correctness.  A few years back I used Boost.Python and found that it ge=
nerated surprisingly large code in order to be correct in cases that didn't=
 matter to me.  The code size almost became problematic.  Some libraries (I=
 don't have an example at hand) do things that pretty clearly imply a fair =
amount of malloc() and free().  Just because it's Boost doesn't mean it's g=
oing to be suitable for your embedded application.

Steven J. Clark
VGo Communications

From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of=
 Trek
Sent: Thursday, April 23, 2015 5:04 AM
To: boost-users
Subject: [Boost-users] boost on embedded target such as ARM

how is boost doing on embedded environment in terms of efficiency?
thanks

[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">That&#8217;s \
a fairly vague question.&nbsp; I use thread, data_time, chrono, filesystem, and \
system on an older embedded ARM processor.&nbsp; These libraries are great for my  \
application.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">I \
recommend that you not just grab anything you see in Boost indiscriminately, but \
rather (as with anything else) look a little deeper and make sure the specific  \
library is suitable.&nbsp; I think it&#8217;s fair to say that all Boost libraries \
have efficiency as a consideration, but are most uncompromising about \
correctness.&nbsp; A few years back I used Boost.Python and found that it generated \
surprisingly large code in order to  be correct in cases that didn&#8217;t matter to \
me.&nbsp; The code size almost became problematic.&nbsp; Some libraries (I \
don&#8217;t have an example at hand) do things that pretty clearly imply a fair \
amount of malloc() and free().&nbsp; Just because it&#8217;s Boost doesn&#8217;t mean \
it&#8217;s going  to be suitable for your embedded application.<o:p></o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Steven \
J. Clark<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">VGo \
Communications<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><b><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Boost-users \
[mailto:boost-users-bounces@lists.boost.org] <b>On Behalf Of </b>Trek<br>
<b>Sent:</b> Thursday, April 23, 2015 5:04 AM<br>
<b>To:</b> boost-users<br>
<b>Subject:</b> [Boost-users] boost on embedded target such as \
ARM<o:p></o:p></span></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">how is boost doing on embedded environment in terms of \
efficiency?&nbsp;<o:p></o:p></p> <div>
<p class="MsoNormal">thanks<o:p></o:p></p>
</div>
</div>
</body>
</html>



_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
--===============1395771184436084133==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic