Salakhetdinov Shamil
mcp2004 at mail.ru
Thu May 23 02:59:14 CDT 2013
Hi Jim -- Yes, it does - AFAIK there exists a common Windows API subset: http://blogs.msdn.com/b/b8/archive/2012/02/09/building-windows-for-the-arm-processor-architecture.aspx + you use native C/C++ compile time features: - #define statement, - conditional compilation, - templates etc. to build your app version to be run on a specific Windows platform. Thank you. -- Shamil Четверг, 23 мая 2013, 0:11 -07:00 от "Jim Lawrence" <accessd at shaw.ca>: >Hi Shamil: > >On another point; does Windows OS give the developer the ability to program >the same way regardless of what chip-set, x86 (32 or 64) or ARM, they are >using? > >Jim > >-----Original Message----- >From: dba-tech-bounces at databaseadvisors.com >[mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov >Shamil >Sent: Wednesday, May 22, 2013 11:48 PM >To: Discussion of Hardware and Software issues >Subject: Re: [dba-Tech] TIOBE Programming Community Index for May 2013 > > Hi Stuart -- > >The "multi-core scaling" is a logically following from "multi-core >programming" - that is what I meant by posting the link for the article ( >http://erratasec.blogspot.ru/2013/02/multi-core-scaling-its-not-multi.html# . >UZ0l0bVplfB ) a few days ago and then reposting it yesterday. > ><<< Essentially that article just points out that to scale properly across >multiple cores, threads blocking other threads is very inefficient>>> >Yes - "just" but this "just" is available for C/C++ programmers only... > ><<< It says NOTHIING about what different languages/compilers >can do and certainly doesn't sugggest that C/C++ has some magic >capabilities not avaiable in other languages>>> > >Here is an excerpt from the article referred above: > >"You don't want to mess around with assembly language, especially since you >want your code to run on both x86 and ARM. Therefore, compilers let you >access these instructions with built-in functions. On gcc, example functions >are __sync_fetch_and_add() and __sync_bool_compare_and_swap(). They work >just as well on x86 as ARM. Microsoft has similar intrinsics for their >compilers." > >Please reread also the 'Conclusion' part of the article. > >Thank you. > >-- Shamil <<< skipped >>> >