Skip to content

Instantly share code, notes, and snippets.

View NickBarnes's full-sized avatar

Nick Barnes NickBarnes

  • Cambridge, UK
  • 23:23 (UTC)
View GitHub Profile
This is a complete annotated disassembly of do_some_marking from a377580282ddd0f5ee5f5905fe02b7c896dc2df7, including
perf mem reports from an in-house test case. The memory performance here is excellent, and IMO there's very little in the
way of low-hanging fruit for hand optimisation. Incidentally, the compiler code generation quality is really high too.
(compiled with gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)).
<+0>: cs cs cs cs push %r15 # prologue
<+6>: cs cs cs xor %ecx,%ecx
<+11>: mov %rdi,%r15
<+14>: push %r14
<+16>: mov $0x40,%r14d
@NickBarnes
NickBarnes / keybase.md
Created November 28, 2024 11:19
Keybase proof.

Keybase proof

I hereby claim:

  • I am nickbarnes on github.
  • I am nbravenbrook (https://keybase.io/nbravenbrook) on keybase.
  • I have a public key ASBFvRaJ-5vPwdH73CgeYhn_98f3IY50bKdTlN7gg6QqTgo

To claim this, I am signing this object:

@NickBarnes
NickBarnes / initial-swift-build
Created December 7, 2015 18:03
Shell transcript from an initial clone, build, and test of swift, on 2015-12-07.
bash-3.2$ git clone git@github.com:apple/swift.git swift
git clone git@github.com:apple/swift.git swift
Cloning into 'swift'...
remote: Counting objects: 293122, done.
remote: Total 293122 (delta 0), reused 0 (delta 0), pack-reused 293122
Receiving objects: 100% (293122/293122), 57.04 MiB | 2.85 MiB/s, done.
Resolving deltas: 100% (239513/239513), done.
Checking connectivity... done.
bash-3.2$ git clone git@github.com:apple/swift-llvm.git llvm
Cloning into 'llvm'...