musl VS vectrig

Compare musl vs vectrig and see what are their differences.

musl

unofficial musl mirror git://git.musl-libc.org/musl (by ifduyue)

vectrig

Vectorized approximate trigonometry library optimized for GCC (by jeremysalwen)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
musl vectrig
17 1
169 6
- -
8.5 10.0
22 days ago almost 13 years ago
C C
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

musl

Posts with mentions or reviews of musl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-30.

vectrig

Posts with mentions or reviews of vectrig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-29.
  • Implementing Cosine in C from Scratch
    10 projects | news.ycombinator.com | 29 Mar 2022
    Thanks for explaining this. I actually wrote a SIMD implementation of trig functions years ago, using the techniques you describe.

    You can check it out: https://github.com/jeremysalwen/vectrig

    I compared several different methods of generating polynomials of different sizes for speed and precision (spoilers: taylor series were the worst and minimax polynomials (Remez algorithm) were the best).

    Another (surprising) thing which I learned during the project was that the range reduction was just as (if not more) important to the accuracy of the implementation than the polynomial. If you think about it, you will realize that it's actually pretty difficult to quickly and accurately compute the sin of large numbers like 2^50.

    I also tried to directly optimize the coefficients for the accuracy of the polynomial on the required range, but that experiment was unsuccessful.

    It's all there in the repository, the implementations, notes about the different polynomials used, and the accuracy/speed statistics for the different methods.

What are some alternatives?

When comparing musl and vectrig you can also consider the following projects:

freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....

v7unix - Version 7 Unix for a POSIX world

pure-data - Pure Data - a free real-time computer music system

wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library

scratch-www - Standalone web client for Scratch

supercollider - An audio server, programming language, and IDE for sound synthesis and algorithmic composition.

Libc

Quake - Quake GPL Source Release