ccache VS OpenSSL

Compare ccache vs OpenSSL and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ccache OpenSSL
28 150
2,164 24,186
2.4% 1.7%
9.4 9.9
2 days ago 2 days ago
C++ C
GNU General Public License v3.0 or later Apache License 2.0
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.

ccache

Posts with mentions or reviews of ccache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-10.
  • Deep Learning with “AWS Graviton2 + NVIDIA Tensor T4G” for as low as free* with CUDA 12.2
    2 projects | dev.to | 10 Sep 2023
    # Download and install ccache for faster compilation wget https://github.com/ccache/ccache/releases/download/v4.8.3/ccache-4.8.3.tar.xz tar -xf ccache-4.8.3.tar.xz pushd ccache-4.8.3 cmake . make -j $CPUS make install popd # Install NumPy, a dependency for PyTorch dnf install -y numpy # Install Python typing extensions for better type-checking sudo -u ec2-user pip3 install typing-extensions # Clone PyTorch repository and install from source git clone --recursive https://github.com/pytorch/pytorch.git pushd pytorch python3 setup.py install popd # Refresh the dynamic linker run-time bindings ldconfig # Install additional Python libraries for PyTorch sudo -u ec2-user pip3 install sympy filelock fsspec networkx
  • This isn’t the way to speed up Rust compile times
    7 projects | news.ycombinator.com | 26 Aug 2023
    > What can I use to cache with MSVC that isn't Incredibuild?

    Ccache works, but if you use the Visual Studio C++ compiler you need to configure your build to be cacheable.

    https://github.com/ccache/ccache/wiki/MS-Visual-Studio

  • Flutter or React Native
    1 project | /r/FlutterDev | 4 Jul 2023
    That ecosystem now is too young. All these things must be configured by an automatic installer. Packages and pods need to be tested before release, etc. Previous was 80 min compilation time of the Firestore package. Solved with https://ccache.dev/. But why Dart developers must know, how to install and configure object cache for C++ compilers?
  • Distcc: A fast, free distributed C/C++ compiler
    11 projects | news.ycombinator.com | 1 Jun 2023
    Related

    https://github.com/icecc/icecream - another option that does what distcc does, but aimed at a somewhat different use case.

    https://ccache.dev/ - a similar idea but provides caching of build outputs instead of distributing builds. You can use it together with distcc to achieve even better performance.

  • Debugging the QtCreator
    1 project | /r/QtFramework | 27 Apr 2023
  • How to avoid compiling whole C++ project every time using Github actions?
    1 project | /r/cpp_questions | 26 Feb 2023
  • Boring Python: Code Quality
    14 projects | news.ycombinator.com | 20 Dec 2022
    > All those big changes introduce commits that make git bisect generally slower.

    Bisection search is log2(n) so doubling the number of commits should only add one more bisection step, yes?

    > Which might be awful if you also have some C code to recompile at every step of bisecting.

    That reminds me, I've got to try out ccache (https://ccache.dev/ ) for my project. My full compile is one minute, but the three files that take longest to compiler rarely change.

  • Ccache – a fast C/C++ compiler cache
    1 project | /r/patient_hackernews | 24 Nov 2022
    1 project | /r/hackernews | 24 Nov 2022
    9 projects | news.ycombinator.com | 22 Nov 2022
    I worked with the internals of this some 16 years ago, maintaining a customized version at Zeugma Systems. Some change of mine was reworked by someone and upstreamed:

    https://github.com/ccache/ccache/commit/e8354384f67bc733bea5...

OpenSSL

Posts with mentions or reviews of OpenSSL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-26.
  • RVM Ruby 2.6.0 — built with custom openssl version on Ubuntu 22.04
    2 projects | dev.to | 26 Apr 2024
    ENV OPENSSL_PREFIX=/opt/openssl ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt WORKDIR /tmp RUN git clone --branch OpenSSL_1_0_2n https://github.com/openssl/openssl.git RUN cd openssl RUN ./config shared --prefix=$OPENSSL_PREFIX --openssldir=$OPENSSL_PREFIX/ssl RUN make RUN make install RUN rvm install 2.6.0 -C --with-openssl-dir=$OPENSSL_PREFIX ENV PATH /usr/local/rvm/bin:$PATH RUN rvm --default use ruby-2.6.0 ENV PATH /usr/local/rvm/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:$PATH ENV GEM_HOME /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0
  • Heartbleed and XZ Backdoor Learnings: Open Source Infrastructure Can Be Improved Efficiently With Moderate Funding
    2 projects | dev.to | 7 Apr 2024
    Today, April 7th, 2024, marks the 10-year anniversary since CVE-2014-0160 was published. This security vulnerability known as "Heartbleed" was a flaw in the OpenSSL cryptography software, the most popular option to implement Transport Layer Security (TLS). In more layman's terms, if you type https:// in your browser address bar, chances are high that you are interacting with OpenSSL.
  • Ask HN: How does the xz backdoor replace RSA_public_decrypt?
    1 project | news.ycombinator.com | 1 Apr 2024
    At this point I pretty much understand the entire process on how the xz backdoor came to be: its execution stages, extraction from binary "test" files etc. But one thing puzzles me: how can the ifunc mechanism be used to replace something like RSA_public_decrypt? Granted this probably stems from my lack of understanding of ifunc, but I was under the impression that in order for the ifunc mechanism to work in your code, you have to explicitly mark specific function with multiple implementations with __attribute__ ((ifunc ("the_resolver_function"))). Looking at the source code of the RSA function in question, ifunc attribute isn't present:

    https://github.com/openssl/openssl/blob/master/crypto/rsa/rsa_crpt.c#L51

    So how does the backdoor actually replace the call? Does this means that the ifunc mechanism can be used to override pretty much anything on the system?

  • Use of HTTPS Resource Records
    1 project | news.ycombinator.com | 4 Jan 2024
    OpenSSL and Go crypt/tls has no support yet, so none of the webservers that depend on them support it. Apache, Nginx, and Caddy, they all need upstream ECH support first.

    - https://github.com/openssl/openssl/issues/7482

    - https://github.com/openssl/openssl/pull/22938

    - https://github.com/golang/go/issues/63369

  • openssl-3.2.0 released
    1 project | /r/linux | 25 Nov 2023
  • Large performance degradation in OpenSSL 3
    1 project | news.ycombinator.com | 6 Oct 2023
  • OpenSSL 3.2 Alpha 2
    1 project | news.ycombinator.com | 30 Sep 2023
  • Encrypted Client Hello – the last puzzle piece to privacy
    4 projects | news.ycombinator.com | 29 Sep 2023
    If I'm understanding the draft correctly, I think the webserver you're hosting your sites on would need it implemented as it requires private keys and ECH configuration. In the example of nginx since it uses openssl, openssl would need to implement it. I found an issue on their Github but it's still open: https://github.com/openssl/openssl/issues/7482
  • eBPF Practical Tutorial: Capturing SSL/TLS Plain Text Data Using uprobe
    3 projects | dev.to | 19 Sep 2023
  • OpenSSL Versions... whats the plan here
    1 project | /r/Ubuntu | 19 Aug 2023
    I confirmed that the systm was on 1.1.1f with openssl version command. Hmm...... I check the openssl version in the repo with apt list... LOL package names wernt helpful. finally went to the repo pages and found that its still on 1.1.1f, https://launchpad.net/ubuntu/+source/openssl. Meenwhile I looked up the version history on https://www.openssl.org/ and saw that 1.1.1v was released at the beginning of this month... ok. I can understand it it was out less then 30 days. I looked up when f came out, end of MARCH 2020. NEARLY 3-1/2 YEARS

What are some alternatives?

When comparing ccache and OpenSSL you can also consider the following projects:

sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

GnuTLS - GnuTLS

buildcache - A build cache

Crypto++ - free C++ class library of cryptographic schemes

Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

mbedTLS - An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.

linux-tkg - linux-tkg custom kernels

libsodium - A modern, portable, easy to use crypto library.

icecream - Distributed compiler with a central scheduler to share build load

LibreSSL - LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code. Pull requests or patches sent to [email protected] are welcome.

setup-gcc - GitHub action to set up GCC

cfssl - CFSSL: Cloudflare's PKI and TLS toolkit