1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Libc++ Has Landed

BSD

Published on 24 May 2012 01:30 AM EDT
Written by Michael Larabel in BSD
1 Comment

The LLVM-spawned libc++ standard C++ library has now landed within FreeBSD.

As I reported on Phoronix earlier this month and was widely-carried by other news outlets after that, FreeBSD 10 will using the LLVM/Clang compiler and deprecate GCC. The BSD camp wants to get rid of the GPL-licensed compiler from the Free Software Foundation and replace it with the younger but promising Apple-sponsored and BSD-style-licensed LLVM and Clang; see the earlier Phoronix articles on the topic for greater detail.

As the latest step in this default compiler migration and throwing out GPL code from BSD, a message arrived on the FreeBSD-Stable mailing list on Wednesday entitled libc++ has landed. Being merged into FreeBSD 9-STABLE is libc++ and its dependencies. This change will first be found in FreeBSD 9.1, which is due to be branched soon.

Due to libc++ being written in C++11, and the FreeBSD base relying upon an outdated GCC release, the C++ standard library can only be built if using Clang to begin with. The libc++ introduction also requires a very recent libc implementation.

The libstdc++ replacement library from the LLVM project is dual-licensed under the MIT and UIUC licenses. The library aims to be compatible with the C++0x/C++11 standard, provide fast execution, minimal memory use, and fast compile times. The libc++ implementation also aims to be ABI compatible with the reference libstdc++ library from GCC when it comes to low-level features. Additional libc++ information is available from libcxx.llvm.org.

It was also one year ago that PathScale gave FreeBSD and NetBSD a new C++ run-time. This code donation from the PathScale compiler company was in the form of the libcxxrt C++ run-time. This run-time was done under the two-clause BSD license in order to ditch the GPL-licensed libsubc++ library.

Latest Linux Hardware Reviews
  1. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  2. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  3. Overclocking The AMD AM1 Athlon & Sempron APUs
  4. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. FreeBSD Advances For ARM, Bhyve, Clang
  2. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  3. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  4. QEMU 2.0 Released With ARM, x86 Enhancements
  5. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  6. R600 Gallium3D Disables LLVM Back-End By Default
  7. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  8. Fedora Workstation Is Making Me Quite Excited
  9. Maynard: A Lightweight Wayland Desktop
  10. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  11. KDE 4.13 Is Being Released Today With New Features
  12. Trying Out Radeon R9 290 Graphics On Open-Source
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Radeon 8000M problematic on Linux?
  4. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  5. Suspected PHP Proxy Issue
  6. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  7. Change installation destination from home directory
  8. Bye bye BSD, Hello Linux: A Sys Admin's Story