Linux.com

NewsVac: News from around the Web

  • Overview of the Next C++ Standard 9 months, 1 week ago
    Andareed writes "In a recent talk, C++ creator Bjarne Stroustrup described the goals he and the ISO C++ Committee have for the next version of the C++ standard. The new standard, tentatively 'C++0x', aims to make programs easier to write and maintain without sacrificing efficiency. Unfortunately, the challenges of revising an existing language and the rigor required make the standardization process slow and painful. The number of proposed features for C++0x far exceeds the number that can feasibly be standardized. Stroustrup describes two new features he believes will make the language much more expressive: initializer lists and concepts."
  • Use gperf for efficient C/C++ command line processing 9 months, 3 weeks ago
    Anonymous Reader writes "Command-line processing is historically one of the most ignored areas in software development. Just about any relatively complicated software has dozens of available command-line options. The GNU tool gperf is a "perfect" hash function that, for a given set of user-provided strings, generates C/C++ code for a hash table, a hash function, and a lookup function. This article provides a reference for a good discussion on how to use gperf for effective command-line processing in your C/C++ code."
  • Adding translation to Second Life 1 year ago
    idaashley writes "In the last part of our exploration of the Second Life software, learn how to plug a simple command-line program into Second Life that provides a language translation function. This article looks at the technical issues involved in translating chat messages in Second Life."
  • C++09: A Glimpse into the Future 1 year, 5 months ago
    Following the Portland meeting in October 2006, the C++ standardization committee set 2009 as the target date for C++09, the next C++ standard. C++09 will include at least two major core features: rvalue references and type concepts. Other core features are also included, such as automatic deduction of types from initializers, delegating constructors, nullptr, and even a solution to the right angle bracket nuisance. Join me for an overview of core C++09.
  • C++ Futures: Lambda Functions 1 year, 7 months ago
    The use of “lambda” originates from functional programming and lambda calculus, where a lambda abstraction defines an unnamed function. Lambda functions or Lambdas in C++ are one of the more interesting things to look forward to in the next C++ standard; giving us the ability to treat functions as first class objects at last; composing them inline and treating them as class objects. Up until now we've scraped by with pointers to functions, and various libraries like Boost Lambda, both of which approaches suck.
  • Programming C++ GUIs with the wxWidgets Library 1 year, 8 months ago
    The open source wxWidgets library makes programming GUIs incredibly easy, far easier than with most platform APIs. Jeff Cogswell shows how this handy C++ library can shorten your programming time with powerful classes that are simple to use.
  • IBM Decimal Library for C++ and Arithmetric 1 year, 10 months ago
    Anonymous Reader writes "IBM’s decNumber++ is a high-performance decimal library for C++ that fits well with commercial and human-oriented applications. It allows the use of decimal floating-point types which gives you the ability to take care of business calculations accurately and swiftly."
  • Builc XML-RPC-based service for C++ programs 1 year, 10 months ago
    Anonymous Reader writes "Today the growing popularity of the Internet and its inherent advantages have motivated developers and IT departments to migrate complex C/C++ business and scientific applications to a Web-based environment. XML-RPC is a perfect mechanism to integrate existing C/C++ programs with other client-side technologies. This article is a step-by-step guide to exposing C++ methods as services. It includes sample code snippets for C++ integration using an open source XML-RPC Library."
  • The C++ Interpreter Pattern for Grammar Management 2 years ago
    The world is rapidly moving away from technology-based solutions toward end-user facilitation. Simple grammars provide a surprising solution to the problem of "driving" IT infrastructure to achieve business ends. In this article, Stephen Morris shows you how to use the interpreter design pattern to create a simple C++ grammar, which can be extended to produce surprisingly powerful capabilities.
  • C++/CLI: a paradigm too far 2 years ago
    Microsoft has been firing off some big guns in support of something called 'C++/CLI'.
  • C++ divided by CLI 2 years ago
    At the ACCU conference recently, one wag in the audience referred to Microsoft’s C++/CLI as “C++ divided by CLI”, which neatly summed up the prevailing mood. The 10,000 classes in .NET can’t work with ISO C++, and you may ask why anyone in their right mind would try to bring out a platform in this day and age that couldn’t talk directly to C++.
  • God's gift to C 2 years ago
    OK, here it is: a proper developer article. After all, this is Reg Developer, so it's about time. Today's subject is an Apache spinoff project: the APR lies at the heart of the webserver, but is also a standalone library, and is extensively used in separate projects: most famously Subversion.
  • Exception Handling and Fault Tolerance in C++: Defect Removal vs. Defect Survival 2 years, 1 month ago
    Defect removal is preferred over defect survival. If some defect slips through the cracks, however, the C++ exception handling mechanism helps to fortify your software's fault tolerance, as Cameron and Tracey Hughes explain.
  • Interviewing C++ developers with extreme prejudice 2 years, 2 months ago
    These days I do a bit of pimping (a.k.a. "quant headhunting" in polite company - a "quant" is a quantitative analyst doing high-value numerical analysis) for expensive people at banks. It may scare or delight you, but a lot of the financial markets are run off C++ with Excel VBA.
  • C++ Modularity with Namespaces and Exception Handling 2 years, 2 months ago
    Did you know that there are three different C++ namespace types? Namespaces, which are simple to learn and apply, offer a clever means of packaging your code and can assist when symbol conflicts occur. And how well does your code handle exceptions? Inserting exception-handling code can make your code more ready for packaging as external functions. Stephen Morris contends that just as namespaces offer an efficient way to package code, the skillful use of exception handling can quickly simplify that code.
  • More News

Linux.com : C/C++

Programming with wide characters

By Leslie P. Polzer on February 11, 2006 (8:00:00 AM)

The ISO C90 standard introduced a wide character type named wchar_t, thereby appointing an official standard for wide characters in the C language. Its usage, however, is not well understood among C programmers, and debugging wide characters with the GNU Debugger is a challenge few can get to work. As a result, many programmers fall back to using ASCII character arrays, which is not good; today, localized code matters more and more.

Read the Rest - 8 comments

Using Gnulib to improve software portability

By Diego 'Flameeyes' Pettenò on December 28, 2005 (8:00:00 AM)

Many, if not most, free and open source software projects are developed primarily on Linux-based systems using the GNU C Library (glibc). Projects that use glibc are likely to depend on functions that are not available on systems that use different C libraries, such as the different BSD flavors. When packages are built on systems that don't use glibc they often fail, because the other C libraries are missing functions found in glibc. The GNU Portability Library can help developers with cross-platform programming needs.

Read the Rest - 6 comments

Best practices for portable patches

By Diego "Flameeyes" Pettenò on July 26, 2005 (8:00:00 AM)

One of the things I usually take care of as a Gentoo packages maintainer is sending patches to upstream developers. If a patch is applied upstream, we can remove it from future versions of a package so we have less work to do to maintain the package. Unfortunately, it seems that other distributions and packagers don't always do the same. This is true not only for Linux distributions such as Debian, Fedora Core, and SUSE, but also for maintainers of packages in places like FreeBSD's Ports, DarwinPorts or Fink. Here are some tips for developers on making things easier for yourself and everyone who has to touch your code.

Read the Rest - 8 comments

Small-time ISPs jump on wireless bandwagon

on July 31, 2002 (8:00:00 AM)

- By Robin "Roblimo" Miller -
It's a national phenomenon: All over the United States, small-town and rural Wireless Internet Service Providers (WISPs) are springing up, often because wireless is the only practical way to bring broadband Internet access to the areas they serve. These are not hobbyists using consumer-grade 802.11b equipment, but professionals hoping to make substantial money providing professional-level service. And some -- but not all -- of these entrepreneurs are starting to become profitable even though most of them have offered wireless service for less than a year.

Read the Rest - 14 comments

Can newspapers help make record companies obsolete?

on July 15, 2002 (8:00:00 AM)

- By Robin "Roblimo" Miller -
I just downloaded Internet Porn from The Washington Post's Web site. It's one of the quirkier songs available from MP3.washingtonpost.com, a section of the Post's site that allows local musicians to self-publish their work online for free. MP3 download sections are not yet common in daily newspapers, but if enough of them pick up on the idea, newspapers could become as strong a promotional force in the music industry as traditional record companies.

Read the Rest - 22 comments

Why the Internet Society is important

on June 25, 2002 (8:00:00 AM)

- By Robin "Roblimo" Miller -
I spent part of last week at INET 2002, billed as "The Internet Society's 12th Annual INET Conference: 'Internet Crossroads: Where Technology and Policy Intersect.'" I came away wondering where, if anywhere, the Internet Society (ISOC) is going. I was not the only one who came away from INET 2000 with questions about ISOC's future, either.

Read the Rest - 7 comments

Running AOL on Linux with WineX 2.0

on April 19, 2002 (8:00:00 AM)

- by Tina Gasperson -
I've got mail. On AOL. On Linux. Thanks to WineX 2.0, running America Online 5.0 in SuSE 7.3 is a reality.

Read the Rest - 29 comments


 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya