Topic: C/C++

You are looking at all articles with the topic "C/C++". We found 5 matches.

Hint: To view all topics, click here. Too see the most popular topics, click here instead.

🔗 Duffs Device

🔗 Computing 🔗 Computer science 🔗 C/C++ 🔗 C/C++/C

In the C programming language, Duff's device is a way of manually implementing loop unrolling by interleaving two syntactic constructs of C: the do-while loop and a switch statement. Its discovery is credited to Tom Duff in November 1983, when Duff was working for Lucasfilm and used it to speed up a real-time animation program.

Loop unrolling attempts to reduce the overhead of conditional branching needed to check whether a loop is done, by executing a batch of loop bodies per iteration. To handle cases where the number of iterations is not divisible by the unrolled-loop increments, a common technique among assembly language programmers is to jump directly into the middle of the unrolled loop body to handle the remainder. Duff implemented this technique in C by using C's case label fall-through feature to jump into the unrolled body.

Discussed on

🔗 Dennis Ritchie

🔗 Biography 🔗 Computing 🔗 Computer science 🔗 Biography/science and academia 🔗 New York (state) 🔗 New York (state)/Hudson Valley 🔗 Computing/Computer science 🔗 Software 🔗 Software/Computing 🔗 C/C++ 🔗 Japan 🔗 New Jersey 🔗 Linux

Dennis MacAlistair Ritchie (September 9, 1941 – c. October 12, 2011) was an American computer scientist. He created the C programming language and, with long-time colleague Ken Thompson, the Unix operating system and B programming language. Ritchie and Thompson were awarded the Turing Award from the ACM in 1983, the Hamming Medal from the IEEE in 1990 and the National Medal of Technology from President Bill Clinton in 1999. Ritchie was the head of Lucent Technologies System Software Research Department when he retired in 2007. He was the "R" in K&R C, and commonly known by his username dmr.

Discussed on

🔗 GObject

🔗 Computing 🔗 Computing/Software 🔗 Computing/Free and open-source software 🔗 C/C++ 🔗 C/C++/C

The GLib Object System, or GObject, is a free software library providing a portable object system and transparent cross-language interoperability. GObject is designed for use both directly in C programs to provide object-oriented C-based APIs and through bindings to other languages to provide transparent cross-language interoperability, e.g. PyGObject.

Discussed on

🔗 C++0x (upcoming C++ standard, includes lambda functions)

🔗 Computing 🔗 Computing/Software 🔗 C/C++ 🔗 C/C++/C++

C++11 is a version of the standard for the programming language C++. It was approved by International Organization for Standardization (ISO) on 12 August 2011, replacing C++03, superseded by C++14 on 18 August 2014 and later, by C++17. The name follows the tradition of naming language versions by the publication year of the specification, though it was formerly named C++0x because it was expected to be published before 2010.

Although one of the design goals was to prefer changes to the libraries over changes to the core language, C++11 does make several additions to the core language. Areas of the core language that were significantly improved include multithreading support, generic programming support, uniform initialization, and performance. Significant changes were also made to the C++ Standard Library, incorporating most of the C++ Technical Report 1 (TR1) libraries, except the library of mathematical special functions.

C++11 was published as ISO/IEC 14882:2011 in September 2011 and is available for a fee. The working draft most similar to the published C++11 standard is N3337, dated 16 January 2012; it has only editorial corrections from the C++11 standard.

Discussed on

🔗 Cairo – Open-Source 2D Graphics Layer/API with font support and many back-ends

🔗 Computing 🔗 Computing/Software 🔗 Computing/Free and open-source software 🔗 C/C++ 🔗 C/C++/C

Cairo (stylized as cairo) is an open-source graphics library that provides a vector graphics-based, device-independent API for software developers. It provides primitives for two-dimensional drawing across a number of different back ends. Cairo uses hardware acceleration when available.