• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[ANN] macstl 0.2 -- Core Foundation <-> STL adaptors, Altivec valarrays etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] macstl 0.2 -- Core Foundation <-> STL adaptors, Altivec valarrays etc.


  • Subject: [ANN] macstl 0.2 -- Core Foundation <-> STL adaptors, Altivec valarrays etc.
  • From: Glen Low <email@hidden>
  • Date: Tue, 1 Feb 2005 00:15:30 +0800

It has been a rough ride on the road from 0.1.5 (way back in 2003) and hard work and sleepless nights -- today, I'm proud to announce the immediate availability of macstl 0.2 -- the C++ header library designed to bring the Macintosh into the world of modern generic programming.

http://www.pixelglow.com/macstl/

Just some of the new features:
* Compiles on Xcode 1.5 gcc 3.3, Codewarrior 9.3 and Visual C++ .NET 2003.
* Highly performant transcendental functions that are accurate to within 5 ulp. E.g. do a simple sin(x) * cos (y) + cos (x) * sin (y) and it will run 16.1x faster with Codewarrior on a G5 than a scalar loop of the same.
* Automatic fused multiply-add optimizations for valarrays. Don't think fma, just code x * y + z -- or even w * x + y * z.
* Complex number arithmetic that is 3.1x faster than scalar complex numbers.
* Those missing opcodes in the Altivec core -- Integer division and modulus -- for all Altivec integer types. Faster than scalar division on random data.
* Totally revamped, newly portable SIMD classes -- a valarray inside a SIMD register -- plug in your favorite SIMD CPU, reuse all the intrinsics or use the arithmetic you're used to since high school.


That not enough? How about these new areas:
* Fully tested and benchmarked std::vector on the Mach allocator. Copy vectors 400x faster, insert into vectors 3x faster.
* Adaptors for Core Foundation and Foundation classes, bridge them to STL and generic programming seamlessly.
* A clean COM server implementation for CFPlugIns. No ugly ATL macros, well understood object lifetimes and best of all -- a super fast QueryInterface implementation.
* Memory mapped containers. Share memory between your 64-bit process and your 32-bit GUI using STL conventions. Or just plain throw away your I/O and serialization code.


I've relicensed macstl for maximum flexibility. It's now a dual license under the open-source RPL and the proprietary PSL -- either you reciprocate all the code derived from mine, or you pay for a registration. Fees are competitive and low, and you get free upgrades, SVN access, priority support and eternal thanks from me!

Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Getting <null> when I add: via NSArrayController [SOLVED]
  • Next by Date: Re: Custom NSView positioning inside a scrollview
  • Previous by thread: display image with embedded CMYK profile
  • Next by thread: Using custom framework
  • Index(es):
    • Date
    • Thread