Daniel Lemire's blog

, 6 min read

Index for Year 2022

  1. 2022-01-03: How programmers make sure that their software is correct   🗪
  2. 2022-01-17: What is the `range´ of a number type?   🗪
  3. 2022-01-21: SWAR explained: parsing eight digits   🗪
  4. 2022-02-07: The end of the monopolistic web?   🗪
  5. 2022-02-10: How many digits in a product?   🗪
  6. 2022-02-18: The Canadian Common CV and the captured academy   🗪
  7. 2022-02-24: Enforcement by software   🗪
  8. 2022-03-18: Writing out large arrays in Go: binary.Write is inefficient for large arrays   🗪
  9. 2022-03-28: Converting integers to decimal strings faster with AVX-512   🗪
  10. 2022-04-05: String representations are not unique: learn to normalize!   🗪
  11. 2022-04-13: Floats have 15-digit accuracy in their normal range   🗪
  12. 2022-04-21: An overview of version control in programming   🗪
  13. 2022-04-28: Removing characters from strings faster with AVX-512   🗪
  14. 2022-05-06: Fast bitset decoding using Intel AVX-512   🗪
  15. 2022-05-10: Faster bitset decoding using Intel AVX-512   🗪
  16. 2022-05-13: Avoid exception throwing in performance-sensitive code   🗪
  17. 2022-05-25: Parsing JSON faster with Intel AVX-512   🗪
  18. 2022-06-06: Data structure size and cache-line accesses   🗪
  19. 2022-06-07: Memory-level parallelism : Intel Ice Lake versus Amazon Graviton 3   🗪
  20. 2022-06-23: Filtering numbers quickly with SVE on Amazon Graviton 3 processors   🗪
  21. 2022-06-28: Looking at assembly code with gdb   🗪
  22. 2022-07-08: Go generics are not bad   🗪
  23. 2022-07-14: Filtering numbers faster with SVE on Graviton 3 processors   🗪
  24. 2022-07-20: How quickly can you convert floats to doubles (and back)?   🗪
  25. 2022-07-21: Negative incentives in academic research   🗪
  26. 2022-07-21: Science and Technology links (July 23 2022)   🗪
  27. 2022-07-24: Round a direction vector to an 8-way compass   🗪
  28. 2022-07-27: Comparing strtod with from_chars (GCC 12)   🗪
  29. 2022-08-07: Science and Technology links (August 7 2022)   🗪
  30. 2022-08-09: “Hello world” is slower in C++ than in C (Linux)   🗪
  31. 2022-08-20: Catching sanitizer errors programmatically   🗪
  32. 2022-09-12: Science and Technology links (September 12 2022)   🗪
  33. 2022-09-14: Escaping strings faster with AVX-512   🗪
  34. 2022-09-17: Science and Technology links (September 16 2022)   🗪
  35. 2022-09-23: Optimizing compilers deduplicate strings and arrays   🗪
  36. 2022-09-30: A review of elementary data types : numbers and strings   🗪
  37. 2022-10-11: The number of comparisons needed to sort a shuffled array: qsort versus std::sort   🗪
  38. 2022-10-16: Science and Technology links (October 16 2022)   🗪
  39. 2022-10-26: Book Review : Template Metaprogramming with C++   🗪
  40. 2022-11-08: Modern vector programming with masked loads and stores   🗪
  41. 2022-11-10: Measuring the memory usage of your C++ program   🗪
  42. 2022-11-16: A fast function to check your floating-point rounding mode   🗪
  43. 2022-11-17: Rounding modes: std::from_chars versus strtod/strtof   🗪
  44. 2022-11-22: What is the size of a byte[] array in Java?   🗪
  45. 2022-11-25: Making all your integers positive with zigzag encoding   🗪
  46. 2022-11-26: Science and Technology links (November 26 2022)   🗪
  47. 2022-11-28: Generic number compression (zstd)   🗪
  48. 2022-11-29: How big are your SVE registers ? (AWS Graviton)   🗪
  49. 2022-12-06: Fast midpoint between two integers without overflow   🗪
  50. 2022-12-06: Optimizing compilers reload vector constants needlessly   🗪
  51. 2022-12-11: Science and Technology links (December 11 2022)   🗪
  52. 2022-12-12: What is the memory usage of a small array in C++?   🗪
  53. 2022-12-15: Checking for the absence of a string, naive AVX-512 edition   🗪
  54. 2022-12-19: Implementing `strlen´ using SVE   🗪
  55. 2022-12-21: The size of things in bytes   🗪
  56. 2022-12-23: Fast base16 encoding   🗪
  57. 2022-12-25: Science and Technology links (December 25 2022)   🗪
  58. 2022-12-30: Quickly checking that a string belongs to a small set   🗪