Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: abstraction Clear Filter

A Rust shaped hole

A Rust shaped hole By a process of elimination, I've arrived at a conclusion that I should write Rust, or at least give it a rigorous try. Let us say I want to write a "native" program. This train of thought started with wanting to write a program, an xfdesktop replacement, that can serve as my desktop background, slowly meandering though a pastel game of life, or floating through a Mandelbrot set. But the specifics are not relevant, because I find myself on the same train when thinking of ot

A Rust Shaped Hole

A Rust shaped hole By a process of elimination, I've arrived at a conclusion that I should write Rust, or at least give it a rigorous try. Let us say I want to write a "native" program. This train of thought started with wanting to write a program, an xfdesktop replacement, that can serve as my desktop background, slowly meandering though a pastel game of life, or floating through a Mandelbrot set. But the specifics are not relevant, because I find myself on the same train when thinking of ot

Caching is an abstraction, not an optimization

June 30, 2025 Caching is an Abstraction, not an Optimization I've always been told that caching is a tool to make software faster. That, given some careful considerations to consistency, caching makes it so that when you want to read a given piece of data, you don't have to go all the way back to some backend database or API server or SSD and can instead just read from some faster location like memory for the same data. Caching is thus a tool to improve performance. My feelings now are that t

Caching is an Abstraction, not an Optimization

June 30, 2025 Caching is an Abstraction, not an Optimization I've always been told that caching is a tool to make software faster. That, given some careful considerations to consistency, caching makes it so that when you want to read a given piece of data, you don't have to go all the way back to some backend database or API server or SSD and can instead just read from some faster location like memory for the same data. Caching is thus a tool to improve performance. My feelings now are that t

Abstraction boundaries are optimization boundaries

Abstraction boundaries are optimization boundaries The N+1 query problem occurs when your application code sends one SQL query per element in a collection. The N queries are redundant; since all of the data is in the database already, a single query should be enough. This problem is usually caused by a leaky abstraction; the ORM, or whatever database abstraction you are using, can’t anticipate that it would need to send N queries, so it can’t automatically optimize this down to a single query.

LLMs Bring New Nature of Abstraction

Like most loudmouths in this field, I've been paying a lot of attention to the role that generative AI systems may play in software development. I think the appearance of LLMs will change software development to a similar degree as the change from assembler to the first high-level programming languages. The further development of languages and frameworks increased our abstraction level and productivity, but didn't have that kind of impact on the nature of programming. LLMs are making that degree

LLMs bring new nature of abstraction – up and sideways

Like most loudmouths in this field, I've been paying a lot of attention to the role that generative AI systems may play in software development. I think the appearance of LLMs will change software development to a similar degree as the change from assembler to the first high-level programming languages. The further development of languages and frameworks increased our abstraction level and productivity, but didn't have that kind of impact on the nature of programming. LLMs are making that degree