
I wrote ryg_rans in 2014. I still regularly get questions and patch submissions from people who want to use it as a library. That is not what it's for! ryg_rans is not a library, never was. It's a toy implementation of an algorithm whose core fits in something like 20 lines of code. It's the…
Nguồn: https://fgiesen.wordpress.com/2026/08/03/ryg_rans-is-not-a-library. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Phiên bản zlib-rs 0.6.7 vừa ra mắt đã vá lỗ hổng use-after-free trong hàm Deflate::compress_uninit, ngay cả khi unsafe Rust bị vô hiệu hóa. Ngoài ra, bản cập nhật còn bổ sung tối ưu hóa cho LoongArch64 LSX, giúp tăng tốc độ nén khoảng 4% nhờ triển khai compare256, và cải thiện tới 10% tốc độ giải nén nhờ tải/ lưu trữ dữ liệu rộng hơn.
Lập trình viên nên đọc bài này để hiểu cách zlib-rs xử lý lỗ hổng use-after-free trong mã nguồn, đặc biệt khi sử dụng Rust an toàn, và tìm hiểu về tối ưu hóa LoongArch LSX, giúp cải thiện hiệu suất cho các ứng dụng chạy trên CPU Loongson.
Ridiculously fast decompression at good ratios. misa77 is 1.5-3x faster than LZ4 for decompression on x86 and ARM (with better ratios!). - welcome-to-the-sunny-side/misa77
Postgres 19 chuyển mặc định từ thuật toán nén pglz sang LZ4, bài viết phân tích quá trình quyết định thuật toán nén, chiến lược lưu trữ và giới hạn kích thước index ảnh hưởng đến hiệu suất thực tế.
Lập trình viên nên đọc bài này để hiểu cách PostgreSQL 19 tối ưu hóa hiệu suất lưu trữ và truy vấn bằng cách chuyển sang LZ4 (nhanh hơn và hiệu quả hơn pglz) và ảnh hưởng của nó đến thiết kế cơ sở dữ liệu, đặc biệt khi xây dựng ứng dụng cần quản lý dữ liệu lớn.

Zlib-rs 0.6.6 has been released by the Trifecta Tech Foundation, adding support for the upstream Zlib 1.3.2 API. The update exposes the deflateUsed symbol and additional symbols with the _z suffix that use usize for lengths. This is a minor release for the Rust-based, memory-safe zlib implementation.
A hands-on walkthrough of using ClickHouse to store and query historical cryptocurrency tick data from Binance's public archive. Covers loading 16.2 billion rows of trades and quotes for five futures pairs, achieving a 19x compression ratio (191 GiB raw CSV down to ~10 GiB) using columnar storage and codecs like DoubleDelta and LowCardinality. Demonstrates practical financial queries in standard SQL: VWAP calculation, OHLC candle generation, and ASOF JOINs to match trades with contemporaneous quotes for slippage analysis. Shows how ClickHouse's primary index on (symbol, ts) allows queries to skip 99.999% of data even on a 16-billion-row dataset, keeping latency consistent. Storage cost on ClickHouse Cloud for 10 months of data works out to under $2/month.

Linux 7.2 brings SMB2 compression support to KSMBD, the in-kernel SMB3 file server. The implementation follows Microsoft's SMB 3.1.1 specification, which introduced native in-transit data compression using algorithms like LZ4, XPRESS/LZ77, and Pattern_V1. KSMBD can now negotiate LZ77 and Pattern_V1 compression and shares the LZ77 encoder with CIFS. The merge covers both at-rest and over-the-wire data compression, alongside several bug fixes.
Đọc tin ở đây, luyện code, học theo lộ trình và luyện IELTS trên các sản phẩm anh em — tất cả kết nối với nhau trong hệ sinh thái 8 Sync Dev.
Cổng chính của hệ sinh thái: giới thiệu sản phẩm, blog và bảng giá trọn bộ.
Khám pháHọc theo lộ trình rõ từng chặng: video, quiz chấm tự động, certificate và mentor đang làm nghề.
Xem lộ trình1.000+ bài DSA, đề tiếng Việt, chấm tự động 7 ngôn ngữ — nhiều bài FREE, chạy ngay trên trình duyệt.
Luyện miễn phíChấm bốn kỹ năng IELTS bằng AI, phản hồi chi tiết theo rubric.
Dùng thử miễn phíAI IDE 22 MB cho dev Việt.
Tải miễn phíBộ nhớ tổ chức cho AI agent.
Khám pháAI trực Fanpage, tự sàng lọc lead.
Dùng thử