png-decoder
Compiler
Our great sponsors
png-decoder | Compiler | |
---|---|---|
4 | 2 | |
40 | 314 | |
- | 0.0% | |
0.0 | 0.0 | |
over 1 year ago | almost 2 years ago | |
Rust | D | |
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.
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
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 `.`.
What are some alternatives?
wuffs - Wrangling Untrusted File Formats Safely
Halide - a language for fast, portable data-parallel computation
image-png - PNG decoding and encoding library in pure Rust
ivory - The Ivory EDSL
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
smhasher - Hash function quality and speed tests
stb - stb single-file public domain libraries for C/C++
tiny-skia - A tiny Skia subset ported to Rust
ableC - Attribute grammar Based Language Extensions for C