packedjson
packedjson is an alternative Nim implementation for JSON. The JSON is essentially kept as a single string in order to save memory over a more traditional tree representation. (by Araq)
lyte
A programming language for Audulus nodes (by audulus)
packedjson | lyte | |
---|---|---|
1 | 1 | |
66 | 32 | |
- | - | |
10.0 | 8.5 | |
over 1 year ago | 8 months ago | |
Nim | Rust | |
MIT License | GNU General Public License v3.0 only |
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.
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.
packedjson
Posts with mentions or reviews of packedjson.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-02.
-
Flattening ASTs (and Other Compiler Data Structures)
Also there are two JSON implementations with a flat architecture https://github.com/Araq/packedjson and https://github.com/planetis-m/packedjson2 (this one I wrote) But I agree it's a pain to write it like that.
lyte
Posts with mentions or reviews of lyte.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-02.
-
Flattening ASTs (and Other Compiler Data Structures)
I'm using this technique in a compiler [1]. One thing I really like about it is that, unlike pointers, I can reuse the integer indices (`ExprRef` in the article) between arrays. So, for example, I have separate arrays for the AST and computed types, which allows the AST to be immutable. (perhaps the article already mentions this advantage, but I didn't see it in the list of advantages)
[1] https://github.com/audulus/lyte
What are some alternatives?
When comparing packedjson and lyte you can also consider the following projects:
c4 - C in four functions
jsonpak - Packed ASTs for compact and efficient JSON representation, with JSON Pointer, JSON Patch support.
V7 - Embedded JavaScript engine for C/C++
JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
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).