If you're familiar with the Java Native Interface (JNI), as this article
presumes, you know that it's tailored primarily for C and C++ programmers.
Compile-time support for JNI in these languages comes straight from the Sun
specification, and is frankly a work of art.
The architects of the JNI had a terrifying three-part task: to tame the hydra
of platform-specific issues inherent in so-called "native" code, provide a
way to use native code in Java, and to do so in as "portable" a fashion as
possible. The ubiquity and standardization of C and C++ made them the natural
choices for preferred native languages, and their affinity to Java is
apparent to anyone who has programmed to the JNI.
If you're familiar with IBM's e(logo)Server iSeries machine, you know it
supports a wide range of programming languages, including: C (in several
incarnations) C++ (quite recently) RP... (more)
For C++ programmers all over the world, Boost and the Boost libraries have
become indispensable. Weighing in at 60 C++ libraries, Boost is a large
collection of peer-reviewed code covering a wide range of domains. But why
should you care about that? Well, because Boost can quickly become
indispensable for you too.
It all started in 1998 when Beman Dawes, a member of the C++ Standards
Committee, founded Boost as a proving ground for new C++ libraries. C++ and
the C++ Standard Library had just become standardized in ISO/IEC 14882-98,
but that didn't mean that the work was done. So... (more)
Rogue Wave announced the results of a global survey of software developers to
determine the role C++-based applications will play in their future IT plans.
Given that service-oriented architecture (SOA) spending is expected to grow
60 percent per year, Rogue Wave conducted the survey to determine how C++
applications figured into SOA migration plans. The survey revealed that while
most companies using C++ applications are enthusiastic about the future plans
for existing C++ applications, there is no consistent approach to migrating
those apps to an SOA.
According to the research... (more)
C++ Developer on Ulitzer
Intel has put out its promised beta SDK for Windows (C and C++) and Moblin
(C) developers working on future Atom-based netbook apps and ports.
It can be downloaded at http://appdeveloper.intel.com.
Intel couldn't help but repeat the forecast that netbook units shipped should
top 50 million by the end of the year.
Intel said that with the beta SDK, developers can submit their applications
for validation and, once validated, begin to take advantage of the program's
revenue-generating opportunities in 2010 when an app store, pre-installed on
netbooks, is sup... (more)
While moving from C++ to C# means giving up template-based containers, that
doesn't mean you can't effectively organize your data. And like C++, C#
collections have some unique benefits.
The concept of computerized arrays has been around almost as long as
computers themselves. It allows a program to deal with large quantities of
data almost as simply as dealing with a single unit of data. It underlies
almost all sorting algorithms. C++, like most other languages, has built-in
language support for arrays.
In C++, arrays are always one-dimensional - but you can allocate arrays of ... (more)