time VS Libc

Compare time vs Libc and see what are their differences.

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
time Libc
12 2
1,011 45
2.0% -
8.7 2.9
10 days ago about 1 month ago
Rust C
Apache License 2.0 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.

time

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

Libc

Posts with mentions or reviews of Libc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-19.
  • Setenv Is Not Thread Safe and C Doesn't Want to Fix It
    6 projects | news.ycombinator.com | 19 Nov 2023
    Does rust also add an pthread_atfork handler? Otherwise, it seems likely still unsafe for rust to claim to support calling fork (for execv) or posix_spawn, as most libc call realloc on the `environ` contents, but do not appear to take any care to ensure that (v)fork/posix_spawn doesn't happen concurrently with that. Worse yet, the `posix_spawnp` API takes an `envp` parameter and expects you to pass it the global pointer `environ`, which is completely unsynchronized across that fork call. It is not obvious to me that this is a security gap, but certainly it seems to me that this would violate rust's safety claim, if it is not taking added precautions there.

    The Apple Libc appears to just unconditionally drops the environ lock in the child (https://github.com/apple-oss-distributions/Libc/blob/c5a3293...), while glibc doesn't appear to even bother with that (https://github.com/bminor/glibc/blob/6ae7b5f43d4b13f24606d71...)

  • Getaddrinfo() on glibc calls getenv(), oh boy
    10 projects | news.ycombinator.com | 16 Oct 2023
    Doesn't musl have the same issue? https://github.com/JuliaLang/julia/issues/34726#issuecomment...

    I also wonder about OSX's libc. Newer versions seem to have some sort of locking https://github.com/apple-open-source-mirror/Libc/blob/master...

    but older versions (from 10.9) don't have any lockign: https://github.com/apple-oss-distributions/Libc/blob/Libc-99...

What are some alternatives?

When comparing time and Libc you can also consider the following projects:

chrono - Date and time library for Rust

systemd - The systemd System and Service Manager

bitvec - A crate for managing memory bit by bit

illumos-gate - An open-source Unix operating system

bitsvec - A bit vector with the Rust standard library's portable SIMD API.

rust - Empowering everyone to build reliable and efficient software.

wyhash-rs - wyhash fast portable non-cryptographic hashing algorithm and random number generator in Rust

Libc

uuid - Generate and parse UUIDs.

binfarce - Extremely minimal parser for ELF/PE/Mach-o/ar

julia - The Julia Programming Language