Nim VS cryptography

Compare Nim vs cryptography and see what are their differences.

Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority). (by nim-lang)

cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. (by pyca)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Nim cryptography
346 70
16,060 6,280
0.8% 2.5%
9.9 9.9
1 day ago 5 days ago
Nim Python
GNU General Public License v3.0 or later 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.

Nim

Posts with mentions or reviews of Nim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-06.
  • Top Paying Programming Technologies 2024
    19 projects | dev.to | 6 Mar 2024
    22. Nim - $80,000
  • "14 Years of Go" by Rob Pike
    2 projects | news.ycombinator.com | 27 Feb 2024
    I think the right answer to your question would be NimLang[0]. In reality, if you're seeking to use this in any enterprise context, you'd most likely want to select the subset of C++ that makes sense for you or just use C#.

    [0]https://nim-lang.org/

  • Odin Programming Language
    23 projects | news.ycombinator.com | 1 Jan 2024
  • Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
    5 projects | news.ycombinator.com | 24 Dec 2023
    I don't think it's a rust-inspired language, but since it has strong typing and compiles to javascript, did you give a look at nim [0] ?

    For what it takes, I find the language very expressive without the verbosity in rust that reminds me java. And it is also very flexible.

    [0] : https://nim-lang.org/

  • The nim website and the downloads are insecure
    1 project | /r/nim | 11 Dec 2023
    I see a valid cert for https://nim-lang.org/
  • Nim
    5 projects | news.ycombinator.com | 6 Dec 2023
    FYI, on the front page, https://nim-lang.org, in large type you have this:

    > Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula.

  • Things I've learned about building CLI tools in Python
    16 projects | news.ycombinator.com | 24 Oct 2023
    You better off with using a compiled language.

    If you interested in a language that's compiled, fast, but as easy and pleasant as Python - I'd recommend you take a look at [Nim](https://nim-lang.org).

    And to prove what Nim's capable of - here's a cool repo with 100+ cli apps someone wrote in Nim: [c-blake/bu](https://github.com/c-blake/bu)

  • Mojo is now available on Mac
    13 projects | news.ycombinator.com | 19 Oct 2023
    Chapel has at least several full-time developers at Cray/HPE and (I think) the US national labs, and has had some for almost two decades. That's much more than $100k.

    Chapel is also just one of many other projects broadly interested in developing new programming languages for "high performance" programming. Out of that large field, Chapel is not especially related to the specific ideas or design goals of Mojo. Much more related are things like Codon (https://exaloop.io), and the metaprogramming models in Terra (https://terralang.org), Nim (https://nim-lang.org), and Zig (https://ziglang.org).

    But Chapel is great! It has a lot of good ideas, especially for distributed-memory programming, which is its historical focus. It is more related to Legion (https://legion.stanford.edu, https://regent-lang.org), parallel & distributed Fortran, ZPL, etc.

  • NIR: Nim Intermediate Representation
    1 project | /r/hackernews | 2 Oct 2023
    9 projects | news.ycombinator.com | 30 Sep 2023

cryptography

Posts with mentions or reviews of cryptography. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-25.
  • We build X.509 chains so you don't have to
    5 projects | news.ycombinator.com | 25 Jan 2024
    Congratulations to the authors, this was a feature that was dearly missing from pyca/cryptography. It took a long time to get right.

    For the history: https://github.com/pyca/cryptography/issues/2381

  • “Our paying customers need X, when will you fix it?”
    5 projects | news.ycombinator.com | 15 Jul 2023
    Some context:

    - The cryptography dependency used by the current release of mitmproxy has a CVE related to an OpenSSL vulnerability (https://github.com/pyca/cryptography/security/advisories/GHS...)

    - The main branch of mitmproxy has already upgraded to the latest version of the cryptography package

    - The author of the package does not believe the CVE impacts users of mitmproxy so a release including this commit has not been made

  • Creating a password manager
    1 project | /r/learnpython | 19 Jun 2023
    Also you'll use https://github.com/pyca/cryptography
  • Microservice memory profiling
    2 projects | /r/FastAPI | 28 May 2023
    first, I did see a correlation between an endpoint being heavily hit in a given time window, and an increase of memory usage that didn't went down afterwards. The endpoint didn't do much so I went through every instruction - is a global variable appended indefinitely ? Is a cache decorator growing without a limit set ? Do I use a 3rd party that has a known issue ? Turns out, it was using cryptography, so I looked up known issues. Saw an issue about a leak when using load_pem_x509_certificate https://github.com/pyca/cryptography/issues/4833 - which I used ! I could fortunately just upgrade the library
  • [Python] Poésie vs Pipenv vs. pip-tools: Qu’utilisez-vous?
    1 project | /r/enfrancais | 9 Mar 2023
    Après le kerfuffle du paquet de cryptographie cette semaine (https://github.com/pyca/cryptography/issues/5771), J’ai passé en revue l’état des outils de gestion des dépendances en Python.
  • I love building a startup in Rust. I wouldn't pick it again
    11 projects | news.ycombinator.com | 17 Feb 2023
    > A big problem with Rust, long-term, is that the kind of programs that really need it are somewhat out of today's mainstream. It's not that useful for webcrap. It's not that useful for phone apps. The AI people use Jupyter notebooks and Python to drive code on GPUs.

    One thing this is missing is that Rust is useful for libraries callable by many different languages. You may or may not want to use it to build an actual Web app (I personally think it's a solid choice, but reasonable people can disagree). But for building, say, the Python cryptography library [1], which is used as a part of "webcrap" and Jupyter notebooks, Rust is clearly an excellent option. Nobody is going to build core Python infrastructure in Go or Node, and there will always be a need for plumbing libraries.

    [1]: https://github.com/pyca/cryptography

  • The impossible case of pitching rust in a web dev shop
    1 project | /r/rust | 22 Sep 2022
    Also, I see more and more examples where rust gets included in different technologies using FFI. Ie for python https://github.com/pyca/cryptography for security/performance critical pieces.
  • Azure CTO: “It's time to halt starting any new projects in C/C++ ”
    15 projects | news.ycombinator.com | 19 Sep 2022
    > I am curious. Could you give some more context?

    Probably talking about this: https://github.com/pyca/cryptography/issues/5771

  • Zig, the Small Language
    13 projects | news.ycombinator.com | 7 Sep 2022
  • os independent way to convert ssl crt to pem
    1 project | /r/learnpython | 22 Aug 2022
    You will be hard pressed to find a cryptography library that doesn't depend on openssl. Fortunately openssl bindings can be installed on Windows. One of the more popular libraries for python is cryptography, but it does depend on libssl.

What are some alternatives?

When comparing Nim and cryptography you can also consider the following projects:

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

PyCrypto - The Python Cryptography Toolkit

go - The Go programming language

pycryptodome - A self-contained cryptographic library for Python

Odin - Odin Programming Language

pyOpenSSL -- A Python wrapper around the OpenSSL library - A Python wrapper around the OpenSSL library

rust - Empowering everyone to build reliable and efficient software.

PyNacl - Python binding to the Networking and Cryptography (NaCl) library

crystal - The Crystal Programming Language

Paramiko - The leading native Python SSHv2 protocol library.

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

Passlib