If you're using AWS Lambda, stop scrolling and find out how you can potentially save a few to a few thousand dollars a month.
I actually saved my employer 8k dollars a month from only two Lambda@Edge functions running for each CloudFront request:
Did you know that whenever you deploy a Lamda function to AWS, it automatically tries to create a log group for you and automatically starts to send even only access logs through that pipe?
Even if you don't have a single log statement within your Lambda function, the Lambda runtime will write access logs to CloudWatch.
AWS will happily bill you for that without you probably noticing, especially if you don't intentionally log anything.
This is the infamous fast inverse square root implemented in Rust.
This particular implementation was initially discovered in Quake III Arena's source code and rose to fame in 2002 and 2003.
Oh, and it shows some pretty interesting traits:
As the graphic already states, the inverse square root is often used in computer graphics.
It is used to calculate reflections of lighting and shading, when normalizing corresponding vectors.
In 1998 and 1999, computing power was far away from the levels we have today, and this often required some clever use of maths or algorithmics to make things fast enough, especially in games and graphics.