Nate Cook's Avatar

Nate Cook

@nnnnnnnn.bsky.social

57 Followers  |  44 Following  |  6 Posts  |  Joined: 29.06.2023  |  1.9026

Latest posts by nnnnnnnn.bsky.social on Bluesky

Preview
The Lens Behind the Look of Superman 2025: Leica Tri-Elmar - Y.M.Cinema Magazine A major contributor to Superman 2025 look is the Leica Tri-Elmar lens, utilised by Cinematographer Henry Braham.

Apparently they used a very particular lens that creates that effect ymcinema.com/2025/01/13/t...

21.07.2025 02:46 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I don’t care if he doesn’t back this up with further action, in a normal time, this is a major scandal, showing the president of the United States has nothing but contempt for the first amendment, basic rights, and his fellow citizens and will act accordingly in various ways.

12.07.2025 16:20 β€” πŸ‘ 5213    πŸ” 1428    πŸ’¬ 186    πŸ“Œ 56

Not again lol

15.07.2025 23:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

"No right is safe in the new legal regime the Court creates.
Today, the threat is to birthright citizenship. Tomorrow, a
different administration may try to seize firearms from law-abiding citizens or prevent people of certain faiths from
gathering to worship... I dissent. " - Sotomayor

27.06.2025 15:50 β€” πŸ‘ 171    πŸ” 42    πŸ’¬ 2    πŸ“Œ 2
Trump 2024

Trump 2024

β€œoh They got this all screwed up”

17.06.2025 01:33 β€” πŸ‘ 1020    πŸ” 160    πŸ’¬ 3    πŸ“Œ 2

Right! A buffer needs a way to track its lifetime, which is often implemented via a class. A noncopyable struct can do that same lifetime management without the possibility of multiple references, which means exclusivity checking should be done statically

15.06.2025 03:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Some of those sound hard to do without classes! But maybe noncopyable types can help in those cases. I think eliminating the access tracking can end up helping both in the cost of the checks _and_ unlocking more ways for the optimizer to do its job
in opening

14.06.2025 23:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Just a casual 2.6x boost in performance

14.06.2025 15:32 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Performance Β· Issue #373 Β· migueldeicaza/SwiftTerm Currently about 12% of our performance when outputting characters is being consumed by swift_beginAccess when the insertCharacter accesses the buffer properties, and then when the buffer itself acc...

Inspired by the talk, and a few spare hours to kill, a nice 2.6x boost in SwiftTerm performance: github.com/migueldeicaz...

14.06.2025 12:25 β€” πŸ‘ 19    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
WWDC25 - Videos - Apple Developer

Learn how to optimize your Swift code with new language ehnancements from @nnnnnnnn.bsky.social in Improve memory usage and performance with Swift

developer.apple.com/videos/play/...

#swift #swiftlang #wwdc

09.06.2025 19:37 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Over 10,000 protesters marched peacefully through Downtown Los Angeles for a third straight day, their voices rising against ICE raids tearing families apart. In silence, they filled the freewayβ€”an ocean of defiance and unity. No violence, just courage. This is what resistance looks like. πŸ’ͺπŸ”₯βœŠπŸ½πŸ•ŠοΈπŸ“£πŸ‡ΊπŸ‡Έ

09.06.2025 07:21 β€” πŸ‘ 3373    πŸ” 900    πŸ’¬ 45    πŸ“Œ 30

nice

03.06.2025 22:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability.

In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability.

The story behind the Apple Password Monitoring service, handling multiple billions of requests per day from devices all over the world, which was recently rewritten in Swift: www.swift.org/blog/swift-a...

03.06.2025 00:47 β€” πŸ‘ 94    πŸ” 26    πŸ’¬ 1    πŸ“Œ 6
A screenshot of an old computer science paper. It has been OCRd but is clearly a high quality scan of a printout.

There is no doubt that the grail of effi-
ciency leads to abuse. Programmers waste
enormous amounts of time thinking about,
or worrying about, the speed of noncritical
parts of their programs, and these attempts
at efficieney actually have a strong negative
impact when debugging and maintenance are
considered. We should forget about small
efficiencies, say about 97% of the time: pre-
mature optimization is the root of all evil.
Yet we should not pass up our opportuni-
ties in that critical 3%. A good programmer
will not be lulled into complacency by such
reasoning, he will be wise to look carefully
at the critical code; but only after that code
has been identified. It is often a mistake to
make a priori judgments about what parts
of a program are really critical, since the
universal experience of programmers who
have been using measurement tools has been
that their intuitive guesses fail. After work-
ing with such tools for seven years, I've be-
come convinced that all compilers written
from now on should be designed to provide
all programmers with feedback indicating
what parts of their programs are costing
the most; indeed, this feedback should be
supplied automatically unless it has been
specifically turned off.

A screenshot of an old computer science paper. It has been OCRd but is clearly a high quality scan of a printout. There is no doubt that the grail of effi- ciency leads to abuse. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficieney actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: pre- mature optimization is the root of all evil. Yet we should not pass up our opportuni- ties in that critical 3%. A good programmer will not be lulled into complacency by such reasoning, he will be wise to look carefully at the critical code; but only after that code has been identified. It is often a mistake to make a priori judgments about what parts of a program are really critical, since the universal experience of programmers who have been using measurement tools has been that their intuitive guesses fail. After work- ing with such tools for seven years, I've be- come convinced that all compilers written from now on should be designed to provide all programmers with feedback indicating what parts of their programs are costing the most; indeed, this feedback should be supplied automatically unless it has been specifically turned off.

Here's the quote in context. It's good advice! But it's clear about how you absolutely need to spend time on that 3%.

Key is to get your project into a state where you can continuously identify the 3% whenever you add new code.

26.04.2025 19:58 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@nnnnnnnn is following 20 prominent accounts