Helldivers 2 devs slash install size from 154GB to 23GB
#HackerNews #Helldivers2 #InstallSize #Optimization #Gaming #News #TechUpdates
#Tag
Helldivers 2 devs slash install size from 154GB to 23GB
#HackerNews #Helldivers2 #InstallSize #Optimization #Gaming #News #TechUpdates
You Can't Fool the Optimizer
https://xania.org/202512/03-more-adding-integers
#HackerNews #You #Fool #the #Optimizer #optimization #programming #technews #softwareengineering
Algorithms for Optimization [pdf]
https://algorithmsbook.com/optimization/files/optimization.pdf
#HackerNews #Algorithms #Optimization #PDF #MachineLearning #DataScience
A WordPress plugin that rewrites image URLs for near-zero-cost delivery
https://wordpress.org/plugins/bandwidth-saver/
#HackerNews #WordPress #image #optimization #plugin #cost-saving #bandwidth #saver #delivery
Fast Lua runtime written in Rust
#HackerNews #FastLua #Rust #Runtime #Lua #RustProgramming #Performance #Optimization
The Rust Performance Book (2020)
https://nnethercote.github.io/perf-book/
#HackerNews #Rust #Performance #Book #Performance #Optimization #Rust #Programming #Hacker #News #2020
Optimizing Rust code is really fun. When something is run millions or billions of times, nanoseconds and individual CPU instructions matter. The best way to do this isn't to write assembly -- it's to put yourself in LLVM's place, understand the kinds of optimizations it wants to perform, and understand what is blocking them. A common case I run into is "LLVM wants to represent (a, b) as (a + b, b), but it's part of a struct so the change has to be performed every time the struct is loaded." LLVM can't change the struct, obviously...
Has anybody tried teaching LLVM data structure optimization? Along the lines of: "Here's a struct with a completely undefined layout and representation, and every single function that can access the struct. Based on the uses, try to memoize common computations by adding new fields, and try removing unused fields." Getting there requires locating all uses of the fields of a struct, but this is possible (at least, quite often) in Rust.
Optimizing Rust code is really fun. When something is run millions or billions of times, nanoseconds and individual CPU instructions matter. The best way to do this isn't to write assembly -- it's to put yourself in LLVM's place, understand the kinds of optimizations it wants to perform, and understand what is blocking them. A common case I run into is "LLVM wants to represent (a, b) as (a + b, b), but it's part of a struct so the change has to be performed every time the struct is loaded." LLVM can't change the struct, obviously...
Has anybody tried teaching LLVM data structure optimization? Along the lines of: "Here's a struct with a completely undefined layout and representation, and every single function that can access the struct. Based on the uses, try to memoize common computations by adding new fields, and try removing unused fields." Getting there requires locating all uses of the fields of a struct, but this is possible (at least, quite often) in Rust.
Latest instalment on my blog, dealing with the actual Julia package for the heat exchanger network design code:
https://www.homepages.ucl.ac.uk/~ucecesf/blog/20251110.html
The code is now available subject to the licensing terms noted in this blog post.
This is the last main blog entry in this series although there may be an appendix post in the future.
#HeatExchangerNetworkDesign #HeatExchangerNetworkSynthesis #HENS #Optimization #ProcessOptimization #JuliaLang
Latest instalment on my blog, dealing with the actual Julia package for the heat exchanger network design code:
https://www.homepages.ucl.ac.uk/~ucecesf/blog/20251110.html
The code is now available subject to the licensing terms noted in this blog post.
This is the last main blog entry in this series although there may be an appendix post in the future.
#HeatExchangerNetworkDesign #HeatExchangerNetworkSynthesis #HENS #Optimization #ProcessOptimization #JuliaLang
When O3 is 2x slower than O2
https://cat-solstice.github.io/test-pqueue/
#HackerNews #O3 #O2 #performance #optimization #programming #languages #compiler
How We Found 7 TiB of Memory Just Sitting Around
https://render.com/blog/how-we-found-7-tib-of-memory-just-sitting-around
#HackerNews #memory #optimization #tech #discovery #data #storage #hackernews
Rotating Workforce Scheduling in MiniZinc
https://zayenz.se/blog/post/rotating-workforce-scheduling/
#HackerNews #RotatingWorkforce #Scheduling #MiniZinc #Optimization #Algorithms #WorkforceManagement
Continuous Nvidia CUDA Profiling in Production
https://www.polarsignals.com/blog/posts/2025/10/22/gpu-profiling
#HackerNews #ContinuousNvidiaCUDA #Profiling #Production #GPUProfiling #CUDA #Performance #Optimization
Write Node.js code in Rust to achieve massive HTTP throughput
https://www.npmjs.com/package/brahma-firelight
#HackerNews #Nodejs #Rust #HTTP #Throughput #Performance #Optimization
I love peeking into the Rust standard library's source code. Every (commonly used) function is so carefully and lovingly optimized, it feels like a bonsai garden. Every line of code has received at least an hour of attention.
If you're curious as to what inspired this post: https://doc.rust-lang.org/nightly/src/core/slice/iter/macros.rs.html. Feel free to share anything similar you've run into, from std or otherwise.
I love peeking into the Rust standard library's source code. Every (commonly used) function is so carefully and lovingly optimized, it feels like a bonsai garden. Every line of code has received at least an hour of attention.
If you're curious as to what inspired this post: https://doc.rust-lang.org/nightly/src/core/slice/iter/macros.rs.html. Feel free to share anything similar you've run into, from std or otherwise.
Just discovered the true meaning of the name Alfonso, straight outta North Carolina:
Alfonso = ALgorithm FOr Non-Symmetric Optimization 😄 😁 😆
Source: https://github.com/dpapp-github/alfonso
#Onomastics #name #algorithm #matlab #optimization #joke #sunday #weekend
A space for Bonfire maintainers and contributors to communicate