zippy
jsony
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.
zippy
-
I enjoy using the Nim programming language at Reddit
Nothing is without the cons. I would say:
* Libraries: there is no NPM ecosystem to get anything you need.
* Stack-overflow: If you looking for a aswers there might not be anyone who encounters it before. You might have to dig really deep to find some thing.
* Some times you might run into a compiler bug usually related with performance of the generated code. Like it generates correct code bug it's slow for no reason and minor changes to the code make it fast again.
* Relying on OpenSSL especially v3 especially on windows is a big problem, but thats more on openSSL i think. I actually wrote a library around this that uses platforms HTTP/SSL instead: https://github.com/treeform/puppy
* Not having HTTP gzip support in standard library. You can always work around with zippy though: https://github.com/guzba/zippy
* async stack traces are really hard to read.
* not enough docs around the different ways to do threading. There is no one solution some times you want a quick thing, some times you are doing CPU tasks other times you are doing network tasks (where async is better). But many big languages struggle here, there is no one fits all threading solution.
It's definitely not style case insensitivity which everyone loves to bike-shed about.
-
Why I enjoy using the Nim programming language at Reddit.
One last example of Nim’s performance is taking a look at zlib. It has been around for so long and is used everywhere. It has to be as fast as possible, right? After all it uses SIMD and is very tight and battle test code. Well, then the Zippy library gets written in Nim and mostly beats or ties with zlib!
jsony
-
Nim v2.0 Released
Nim's default json library is terrible in performance, but there're much faster drop-in replacements like jsony[1]. I'm not sure that's the main issue for low rank, but it's definitely one of them.
1. https://github.com/treeform/jsony
-
Why I enjoy using the Nim programming language at Reddit.
One of the fastest things I have written in Nim is a JSON parsing library. Why is it fast? Well, it uses Nim’s metaprogramming to parse JSON directly into typed objects without any intermediate representations or any unnecessary memory allocations. This means I can skip parsing JSON into a dictionary representation and then converting from the dictionaries to the real typed objects.
- Setup a Website with Nim
-
Nim vs Python: json serialization performance
The nim stdlib's json(due to how it works) is relatively slow. Jsony Jason are some alternatives that are more performant and speeeedy.
What are some alternatives?
Snappy - A fast compressor/decompressor
supersnappy - Dependency-free and performant Nim Snappy implementation.
glfm - Wrapper of GLFM (OpenGL ES and input for iOS and Android) library for Nim.
fungus - Object variants done like other langugaes
rearchiver - Prepare your Reaper project for archiving, converting WAV to FLAC and changing the RPP file accordingly
npeg - PEGs for Nim, another take
pixie - Full-featured 2d graphics library for Nim.
nim_python_json
tamp - Tamp is a low-memory, DEFLATE-inspired lossless compression library.
html2karax - Converts static html to Karax in Nim