Compiler
png-decoder
Compiler | png-decoder | |
---|---|---|
2 | 4 | |
314 | 40 | |
0.0% | - | |
0.0 | 0.0 | |
almost 2 years ago | over 1 year ago | |
D | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
Compiler
- Code Red: The Business Impact of Code Quality
-
The Fastest, Safest PNG Decoder in the World
> I'm a big believer in technical continuity.
So am I. D is designed to be an easy transition from C and C-With-Classes. For example, here is some code in C that was translated to D (it's part of the DMD compiler):
C:
https://github.com/DigitalMars/Compiler/blob/dmc-cxx/dm/src/...
D:
https://github.com/DigitalMars/Compiler/blob/master/dm/src/d...
They look pretty much the same. The code generated is the same. In those repositories you can also see how I translated the C versions to D with plenty of examples.
The biggest impediment is the C preprocessor. You wouldn't really want to carry that forward.
After removing dependency on the C preprocessor, most of the work is global search/replacing things like `->` to `.`.
png-decoder
-
Anyone want to speed up a PNG decoder?
Just sent a pull request to fix that issue (https://github.com/bschwind/png-decoder/pull/11)
- The Fastest, Safest PNG Decoder in the World
What are some alternatives?
Halide - a language for fast, portable data-parallel computation
wuffs - Wrangling Untrusted File Formats Safely
ivory - The Ivory EDSL
image-png - PNG decoding and encoding library in pure Rust
smhasher - Hash function quality and speed tests
simd-adler32 - A SIMD-accelerated Adler-32 hash algorithm implementation.
code-maat - A command line tool to mine and analyze data from version-control systems
stb - stb single-file public domain libraries for C/C++
LGV_MeetingSDK - A Connector for Various Regular Recovery Meetings
tiny-skia - A tiny Skia subset ported to Rust