macstl free download for Mac


06 September 2005

C++ source library.


macstl is a C++ source library designed to bring the Mac and SIMD into the world of modern generic programming.

macstl offers a new implementation of std::valarray optimized for SIMD on PowerPCs and Pentiums. It runs 3.6x to 16.2x faster than hand-coded scalar loops. A portable SIMD vec class lets you work with low-level SIMD instructions equivalently cross-platform.

The Mach copy-on-write vector is a partial specialization of std::vector for the Mach allocator. It neatly uses the OS vm_copy facility to "get around" thread safety issues when doing copy-on-write and reference counting. As a result, std::vector can be copied, passed back by value and enlarged without the same overheads.

What's new in macstl

Version 0.3.1:
  • Fixed class scope vector typedefs, missing PowerPC intrinsics header, vector initializer syntax for FSF 3.4 [ILi*].
  • Added complex conj function for vec and valarray [ILi*].
  • Improved valarray expression performance: v1 [slice].
  • Improved valarray code generation: CSE, inlining limits, literal terms, array term elements, statarray construction, compiling -faltivec without -maltivec for Apple gcc 4.0.
  • Added refarray class [PBa].
  • Fixed buffer overflow in integral valarrays for SSE2; added optimizations for valarray expressions: v1 >> k and v1 << k for sse2 [msh].
  • Fixed accumulate array dispatch, integer constant overflow, literal benchmark test for SSE2; fixed chunking iterator pessimization for gcc 3.3/4 [ILi, RBe].
  • Added makefile for Linux x86 [ILi*].
  • Added support for FSF gcc 3.4 on Cygwin 1.5.
  • Added differently typed valarray construct and assign from terms, valarrays of sized booleans, select with sized booleans [ILi].
  • Fixed unix makefile directory.
  • Added macstlizer conversions: abs, abss, cmpeq, max, min.
  • Improved readme file.
How would you rate macstl?
MacUpdate Comment Policy. We strongly recommend leaving comments, however comments with abusive words, bullying, personal attacks of any type will be moderated.
(0 Reviews of )
There are no reviews yet
Jun 29 2005
Jun 29 2005
Version: 0.3
Let's see. If one in a million code geeks needs your feeble help in making use of STL, you'll collect, let's see, a couple hundred bucks. If it's one in a thousand, you're rich, but then I fear for the future of software development. Me, I have to use lye soap to wash my hands every time I use C++.
App requirements: 
  • PPC 32
  • Mac OS X 10.3.9 or later
  • Xcode 1.5 + gcc 3.3
  • or Xcode 2.1 + gcc 4.0
  • Codewarrior 9.3 or XLC++ 6.0
PaidOne-Time Purchase
Application is not under development & not supported.

Downloaded & Installed 3,646 times

Similar apps
Be the first one to propose an app
similar to macstl.