2025-01-24

Devlog

Major improvements to Zig's memory management include a new debug allocator implementation and an SMP allocator that outperforms glibc, marking a significant milestone where Zig's standard library surpasses C and libc in performance and functionality.

Original archive.is archive.ph web.archive.org

Log in to get one-click access to archived versions of this article.

read comments on news aggregators:

Related articles

Chrome Returns 206 when the Server Returns 403

An investigation into a Chrome browser bug reveals unexpected behavior when handling range requests for partially-cached content, where Chrome silently modifies range headers and returns incomplete data while reporting success. The Chromium team ultimately declared this behavior a feature rather than a bug, citing potential compatibility issues with existing applications.

Tips to debug hanging Go programs

A comprehensive guide explores debugging techniques for hanging Go programs, covering stack trace analysis with SIGQUIT, interactive debugging using Delve, and core dump collection for later analysis.

3,200% CPU Utilization

An in-depth analysis of a critical Java performance issue where unprotected concurrent TreeMap modifications led to 3,200% CPU utilization. The investigation revealed how thread interleaving can create infinite loops in red-black trees, with experiments across multiple programming languages demonstrating similar vulnerabilities.

The Miserable State of Modems and Mobile Network Operators

Engineers at Golioth investigated connectivity issues with nRF9160 cellular modems, revealing DNS resolution failures when using NB-IoT networks that don't properly implement extended Protocol Configuration Options (ePCO) as specified by 3GPP standards, highlighting broader issues with closed-source modems and opaque telecom infrastructure.

The FFT Strikes Back: An Efficient Alternative to Self-Attention

FFTNet introduces a novel approach to sequence processing using Fast Fourier Transform, achieving O(n log n) complexity compared to traditional self-attention's quadratic complexity. The framework employs spectral filtering and modReLU activation to efficiently capture long-range dependencies, demonstrating superior performance on Long Range Arena and ImageNet benchmarks.

GitHub - deepseek-ai/DeepEP: DeepEP: an efficient expert-parallel communication library

DeepEP is a communication library optimized for Mixture-of-Experts (MoE) and expert parallelism, providing high-throughput GPU kernels and low-latency operations. The library supports both intranode and internode communication, offering specialized kernels for asymmetric-domain bandwidth forwarding and low-latency inference decoding, with comprehensive support for FP8 and RDMA networks.

Tokio + prctl = nasty bug

A detailed analysis of a bug in HyperQueue where tasks were unexpectedly terminated after 10 seconds due to an interaction between tokio thread management, PR_SET_PDEATHSIG, and process spawning optimization. The bug emerged from moving process spawning to a worker thread, causing processes to receive SIGTERM when tokio cleaned up idle threads.

Clang Static Analyzer and the Z3 constraint solver

A detailed exploration of using Z3 constraint solver with Clang Static Analyzer to reduce false positives in code analysis. The integration offers two methods: using Z3 as an external constraint solver or employing it for false positive filtering, with the latter being significantly faster.

Overview - Neut Programming Language

Neut is a functional programming language featuring static memory management without GCs or regions, using a type-directed approach for resource handling. The language supports full λ-calculus and automatic memory management without type system annotations, while offering built-in LSP support and formatter capabilities.