article thumbnail

Faster remainders when the divisor is a constant: beating compilers and libdivide

Daniel Lemire

I believe that all optimizing C/C++ compilers know how to pull this trick and it is generally beneficial irrespective of the processor’s architecture. There are far more efficient ways to do that, but here is the programming 101 approach in C: for ( uint32_t i = 0 ; i < N ; i + + ) {. Can we do better? if ( ( i % 3 ) = = 0 ).

C++ 279
article thumbnail

Rising Tide Rents and Robber Baron Rents

O'Reilly

Hence a wealth of information creates a poverty of attention and a need to allocate that attention efficiently among the overabundance of information sources that might consume it.” These are all astonishing tools for making our limited capacity for attention more efficient.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

A Clash of Mindsets: When New Products Depend on Existing Products

Strategic Tech

Google Maps started life in 2005 as a desktop application for getting from point A to point B. Two particularly relevant patterns are Efficiency Enables Evolution and Higher Order Systems Create New Sources of Worth. In Wardley lingo, Google Maps is so efficient that it acts as a building block for higher-order systems (e.g.

article thumbnail

How to Avoid Vendor Lock In

IO River

For example, Akamai introduced ASI in 2005, which became the standard for building new websites. It lets you improve development efficiency and build more complex workflows with minimum operational effort, thus allowing your business to focus on its core objectives faster rather than dealing with complex integration challenges.‍If

Lambda 52
article thumbnail

AWS EC2 Virtualization 2017: Introducing Nitro

Brendan Gregg

Paravirtualization**: The hypervisor provides efficient hypercalls, and the guest OS uses drivers and kernel modifications to call these hypercalls. It's amazing to recall that it was even possible to virtualize x86 before processors had hardware-assisted virtualization (Intel VT-x and AMD-V), which were added in 2005 and 2006.

article thumbnail

How to Avoid Vendor Lock In

IO River

So, when businesses integrate these exclusive features into their applications, they become tied to the vendor, as replicating these features in another CDN is impossible.‍For example, Akamai introduced ASI in 2005, which became the standard for building new websites. Akamai tried to convince many users to use this new framework.

Lambda 52
article thumbnail

AWS EC2 Virtualization 2017: Introducing Nitro

Brendan Gregg

Paravirtualization**: The hypervisor provides efficient hypercalls, and the guest OS uses drivers and kernel modifications to call these hypercalls. It's amazing to recall that it was even possible to virtualize x86 before processors had hardware-assisted virtualization (Intel VT-x and AMD-V), which were added in 2005 and 2006.