compiler-optimization

Tag

Cards List
#compiler-optimization

Size-Specialized Memory Allocation

Hacker News Top ↗ · 2026-09-17 Cached

Go 1.27 introduces size-specialized memory allocation for allocations of 80 bytes or fewer, improving allocation speeds by 20-30% and overall program performance by up to 1% for allocation-heavy code.

0 favorites 0 likes
#compiler-optimization

C++26: Trivial infinite loops are no longer undefined behaviour

Lobsters Hottest ↗ · 2026-09-16 Cached

C++26 standardizes trivial infinite loops as well-defined behavior, eliminating undefined behavior that previously allowed compilers to optimize them away, which was problematic in embedded and kernel applications.

0 favorites 0 likes
#compiler-optimization

@PyTorch: The posters are live for #PyTorchCon North America! From compiler optimization & CUDA Graphs to AI architectures, RL, &…

X AI KOLs Timeline ↗ · 2026-08-19 Cached

The posters for PyTorch Con North America are now available, showcasing research in areas like compiler optimization, CUDA Graphs, AI architectures, and reinforcement learning. The conference will be held in San Jose, CA on October 20-21, with early registration discounts.

0 favorites 0 likes
#compiler-optimization

schrodingers-toctou: The binary you run is not the program you wrote

Lobsters Hottest ↗ · 2026-08-06 Cached

This research describes compiler-invented loads, where compiler optimizations create additional memory reads not present in source code, turning seemingly secure code into vulnerable binaries with TOCTOU races. It includes audits across kernels, hypervisors, enclaves, and firmware.

0 favorites 0 likes
#compiler-optimization

The mask that compiles to nothing: how HotSpot's JIT learned to reason about bits

Lobsters Hottest ↗ · 2026-07-03 Cached

This article explains how HotSpot's C2 JIT compiler uses a 'known bits' abstraction to track which bits of an integer are definitely zero or one, enabling optimizations like eliminating redundant bitwise AND operations.

0 favorites 0 likes
#compiler-optimization

Trust your compiler: Modern C++

Hacker News Top ↗ · 2026-07-01 Cached

Article comparing old C++ performance tricks with modern compiler capabilities, showing that compilers can now optimize naive code better than hand-tuned hacks. Includes benchmarks on AMD Zen 5 with Clang 21.

0 favorites 0 likes
#compiler-optimization

@aryanvs_: to the untrained eye, this may look like noise. but in here lies months of work trying to write a compiler the best par…

X AI KOLs Timeline ↗ · 2026-06-28 Cached

A developer shares months of work building a compiler that outperforms cuBLAS for matrix multiplication on an A100 GPU, with visualizations.

0 favorites 0 likes
#compiler-optimization

Stealing from Biologists to Compile Haskell Faster

Hacker News Top ↗ · 2026-05-30 Cached

The article explores the optimal ApplicativeDo scheduling problem in GHC, which is disabled by default due to slowness, and draws an analogy to the dynamic programming algorithm used for RNA folding to improve compiler performance.

0 favorites 0 likes
#compiler-optimization

Leaving performance on the table

Lobsters Hottest ↗ · 2026-05-29 Cached

A technical blog post demonstrating how Profile-Guided Optimization (PGO) with LLVM can significantly improve binary performance beyond standard -O3 and LTO, using SQLite as a benchmark.

0 favorites 0 likes
#compiler-optimization

The secret history of Recursion Schemes

Lobsters Hottest ↗ · 2026-04-22 Cached

A talk tracing the evolution from goto spaghetti to structured loops and finally to recursion schemes, showing how control-flow abstractions mirror data structures and why most languages still hide the best combinators.

0 favorites 0 likes
#compiler-optimization

When compilers surprise you

Lobsters Hottest ↗ · 2026-04-19 Cached

Matt Godbolt explores compiler optimizations that convert an O(n) summation loop into an O(1) closed-form solution, highlighting how Clang and GCC employ sophisticated techniques like loop unrolling and mathematical simplification to dramatically improve code performance.

0 favorites 0 likes
#compiler-optimization

MG1937/ASC

GitHub Trending (daily) ↗ · 2026-09-15 Cached

Droid ASC is a fast decompilation engine for Android APKs that uses R8 compiler optimizations to query compiled artifacts directly, enabling millisecond code searches and decompilation with minimal memory usage.

0 favorites 0 likes
← Previous
← Back to home

Submit Feedback