acm-header
Sign In

Communications of the ACM

Blogroll


Refine your search:
datePast Month
authorDaniel Lemire
bg-corner

Counting cycles and instructions on ARM-based Apple systems
From Daniel Lemire's Blog

Counting cycles and instructions on ARM-based Apple systems

In my blog post Counting cycles and instructions on the Apple M1 processor, I showed how we could have access to “performance counters” to count how many cycles...

Runtime asserts are not free
From Daniel Lemire's Blog

Runtime asserts are not free

When writing software in C and C++, it is common to add C asserts to check that some conditions are satisfied at runtime. Often, it is a simple comparison between...

Science and Technology links (March 11 2023)
From Daniel Lemire's Blog

Science and Technology links (March 11 2023)

In 1500, China was the largest economy in the world, followed by India and France. The USA did not exist yet. In 1700, 4% of human beings lived in France. In the...

Trimming spaces from strings faster with SVE on an Amazon Graviton 3 processor
From Daniel Lemire's Blog

Trimming spaces from strings faster with SVE on an Amazon Graviton 3 processor

Programmers sometimes need to trim, or remove, characters, such as spaces from strings. It might be a surprising expensive task. In C, the following function is...

Float-parsing benchmark: Regular Visual Studio, ClangCL and Linux GCC
From Daniel Lemire's Blog

Float-parsing benchmark: Regular Visual Studio, ClangCL and Linux GCC

Windows users have choices when it comes to C++ programming. You may choose to stick with the regular Visual Studio. If you prefer, Microsoft makes available ClangCL...

Regular Visual Studio versus ClangCL
From Daniel Lemire's Blog

Regular Visual Studio versus ClangCL

If you are programming in C++ using Microsoft tools, you can use the traditional Visual Studio compiler. Or you can use LLVM as a front-end (ClangCL). Let us compare...
Sign In for Full Access
» Forgot Password? » Create an ACM Web Account