{"id":319,"date":"2009-12-11T18:40:22","date_gmt":"2009-12-11T17:40:22","guid":{"rendered":"http:\/\/pocoproject.org\/blog\/?p=319"},"modified":"2009-12-12T13:56:48","modified_gmt":"2009-12-12T12:56:48","slug":"samsung-bada","status":"publish","type":"post","link":"https:\/\/pocoproject.org\/blog\/?p=319","title":{"rendered":"Samsung Bada"},"content":{"rendered":"<p>Samsung has released a new <a href=\"http:\/\/www.bada.com\/\">OS\/platform for smartphones<\/a>, based on C++. My initial excitement for the platform has vanished quickly, though, after looking at their <a href=\"http:\/\/dpimg.ospos.net\/contents\/tutorials\/bada%20Tutorial.Fundamentals.pdf\">introductory presentation<\/a> for developers. First thing that caught my eye was &#8220;two-phase construction&#8221;. That immediately rang my alarm bells. This was followed by their explanation that they cannot use C++ exceptions due to &#8220;resource constraints&#8221; on embedded devices. Instead, one has to use a home-grown macro-based exception handling mechanism, as well as return value error codes. Now that explains the need for two-phase construction. Note to Samsung: Symbian called &#8211; it wants its design mistakes from the 90s back. Other things that I noticed were a lack of smart pointer usage (apparently, smart pointers are too resource hungry) and a few other things that should send shivers down the spine of any C++ developer. And they have Java-like container classes. So, unfortunately, nothing to get excited about. Looks like iPhone, Symbian 9.x and Linux-based platforms like Maemo remain the only choices for C++ developers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Samsung has released a new OS\/platform for smartphones, based on C++. My initial excitement for the platform has vanished quickly, though, after looking at their introductory presentation for developers. First thing that caught my eye was &#8220;two-phase construction&#8221;. That immediately rang my alarm bells. This was followed by their explanation that they cannot use C++ [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=319"}],"version-history":[{"count":2,"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":321,"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/319\/revisions\/321"}],"wp:attachment":[{"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pocoproject.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}