Getaddrinfo() on glibc calls getenv(), oh boy

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. illumos-gate

    An open-source Unix operating system

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. systemd

    The systemd System and Service Manager

    Yep, it's close. But you still depend on the unholy mess that is nsswitch.conf

    It's still a bit worrying, with manual JSON parsing: https://github.com/systemd/systemd/blob/79f487038444646f5bce... But at least it's just ~600 lines of fairly straightforward code.

    You also can get most of it with nscd.

    (Sigh, I wish BUS1 guys pushed their project to completion)

  4. time

    The most used Rust library for date and time handling. (by time-rs)

    The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call interface is unstable and/or undocumented).

    For example in rust, multiple time libraries were found to be unsound if `std::env::set_env` was ever called from a multi-threaded program. See:

    https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499

    https://github.com/rust-lang/rust/issues/27970

    https://github.com/rust-lang/rust/issues/90308

  5. chrono

    Date and time library for Rust (by chronotope)

    The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call interface is unstable and/or undocumented).

    For example in rust, multiple time libraries were found to be unsound if `std::env::set_env` was ever called from a multi-threaded program. See:

    https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499

    https://github.com/rust-lang/rust/issues/27970

    https://github.com/rust-lang/rust/issues/90308

  6. rust

    Empowering everyone to build reliable and efficient software.

    The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call interface is unstable and/or undocumented).

    For example in rust, multiple time libraries were found to be unsound if `std::env::set_env` was ever called from a multi-threaded program. See:

    https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499

    https://github.com/rust-lang/rust/issues/27970

    https://github.com/rust-lang/rust/issues/90308

  7. go

    The Go programming language

    The comments on this GitHub issue include links to the changes in the golang code review system: https://github.com/golang/go/issues/17490

  8. julia

    The Julia Programming Language

    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...

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Libc

    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...

  11. Libc

    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...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Rust Just Failed an Important Test

    10 projects | news.ycombinator.com | 31 Jul 2024
  • Rust: Actix-web and Daily Logging

    3 projects | dev.to | 13 Mar 2024
  • What should we do about CVE-2020-26235 (localtime_r may be unsound)?

    4 projects | /r/rust | 10 Nov 2021
  • Lisp Implemented in Rust Macros

    6 projects | news.ycombinator.com | 13 Sep 2024
  • Rust vs Go? Which should you choose in 2024

    6 projects | dev.to | 27 Aug 2024