• TRM (USD/COP)COP 3,235.59 +1.65% +COP 52.60Colombia's official exchange rate (Financial Superintendence), valid Nov 4 to Nov 4
  • EuroCOP 3,617.08 +1.72% +COP 61.02Reference: TRM crossed with the European Central Bank rate of Nov 3; not the market quote
  • Mexican pesoCOP 173.98 +3.35% +COP 5.64Reference: TRM crossed with the European Central Bank rate of Nov 3; not the market quote

roc-deflate, written in the functional language Roc, trails the C library libdeflate by 2.6%

TechnologyInternationalEl Ecosistema Startup45 s readAI summary
Image: El Ecosistema Startup

An analysis compared roc-deflate, a compression package written in the functional language Roc by Niclas Ahden, with libdeflate, the DEFLATE library written in C and hand-tuned with SIMD instructions. Using the Silesia corpus and 144 benchmarks at levels L1 to L12, the median was 2.6% slower on a MacBook Pro M1 and 8.9% on a Ryzen 9 3900X. In the worst case it was 18% slower and in the best case slightly more than 18% faster. Roc, which is preparing version 0.1.0 after eight years of development, guarantees memory safety and pure functions.

In 45 seconds

  • roc-deflate came within a median of 2.6% of libdeflate on a MacBook Pro M1 and 8.9% on a Ryzen 9 3900X
  • The range per input went from 18% slower to slightly more than 18% faster, according to the Silesia corpus
  • Roc offers memory safety, automatic reference counting and bounds checking, with no unsafe-style mechanism
Read the full story at El Ecosistema Startup

IASummary generated by artificial intelligence from a story by El Ecosistema Startup. It may contain errors: the original source prevails.

Comments

Be respectful. Comments reported by several people are hidden until a moderator reviews them.

You do not need an account to read, only to comment. Sign in with a code sent to your email or with your Google account. We only show the name you choose, never your email.

    Keep reading