The Curious Engineer

All blogs / Compilers

nikic's blog

npopov.com

NikiC's blog about PHP

CompilersPHPPerformance / optimization

Posts
46 from 23 Oct 2011 to 31 Jan 2026
Posting
now and then (3 in the last year)
Kind
personal blog
Feed
https://www.npopov.com/rss.xml

2026 2

  1. This year in LLVM (2025)
  2. LLVM: The bad parts

2025 1

  1. This year in LLVM (2024)

2024 2

  1. Making memcpy(NULL, NULL, 0) well-defined
  2. This year in LLVM (2023)

2023 5

  1. How single-iteration InstCombine improves LLVM compile time
  2. How to reduce LLVM crashes
  3. LLVM: Scalar evolution
  4. LLVM: Canonicalization and target-independence
  5. LLVM: The middle-end optimization pipeline

2022 2

  1. This year in LLVM (2022)
  2. The opcache optimizer

2021 4

  1. Type variance in PHP
  2. Early binding in PHP
  3. How opcache works
  4. Design issues in LLVM IR

2020 1

  1. Make LLVM fast again

2017 1

  1. PHP 7 Virtual Machine

2015 2

  1. Internal value representation in PHP 7 - Part 2
  2. Internal value representation in PHP 7 - Part 1

2014 4

  1. PHP's new hashtable implementation
  2. Methods on primitive types in PHP
  3. Fast request routing using regular expressions
  4. The case against the ifsetor function

2012 15

  1. Cooperative multitasking using coroutines (in PHP!)
  2. Are PHP developers functophobic?
  3. How to add new (syntactic) features to PHP
  4. What PHP 5.5 might look like
  5. A plea for less (XML) configuration files
  6. PHP solves problems. Oh, and you can program with it too!
  7. The true power of regular expressions
  8. Understanding PHP's internal array implementation (PHP's Source Code for PHP Developers - Part 4)
  9. PHP's Source Code for PHP Developers - Part 3 - Variables
  10. Understanding PHP's internal function definitions (PHP's Source Code for PHP Developers - Part 2)
  11. Scalar type hinting is harder than you think
  12. Pointer magic for efficient dynamic value representations
  13. htmlspecialchars() improvements in PHP 5.4
  14. Careful: XDebug can skew your performance numbers
  15. Disproving the Single Quotes Performance Myth

2011 7

  1. Supercolliding a PHP array
  2. Don't be STUPID: GRASP SOLID!
  3. How big are PHP arrays (and values) really? (Hint: BIG!)
  4. PCRE and newlines
  5. Manually installing PEAR on Windows
  6. PHP internals: When does foreach copy?
  7. Improving lexing performance in PHP