inline post

This commit is contained in:
ed committed 2026-08-25 16:01:50 -04:00
1 parent 11c9b1c15e
commit 927025d052
16 files changed
+561

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ Example of the note shape (single spine, no branches): [[archive/threads/How to
- [[archive/threads/kenpex]]
- [[archive/threads/mmalex]]
- [[archive/threads/nicbarkeragain]]
- [[archive/threads/rfleury]]
- [[archive/threads/rianflo]]
- [[archive/threads/simplex_fx]]
- [[archive/threads/valigo]]
@@ -0,0 +1,37 @@
---
title: "@rfleury If you got a concrete example of this, it might be worth making a video out of that, just saying! 😋"
type: archive
source: twitter
source_url: "https://x.com/JaceCear/status/2085790906993541499"
author: "Jace Cear 💿"
handle: JaceCear
post_id: "2085790906993541499"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury If you got a concrete example of this, it might be worth making a video out of that, just saying! 😋"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/JaceCear/status/2085790906993541499
- Author: Jace Cear 💿 (@JaceCear)
- Posted: 2026-08-07 18:11:19
## Branch
**1/** @JaceCear
@rfleury
If you got a concrete example of this, it might be worth making a video out of that, just saying! 😋
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,37 @@
---
title: "@rfleury Overall I’ve noticed that inlining is just amazing at surfacing issues with what the actual „abstraction” is - kind of that if I carve the function too early I’ll obfuscate the fact that maybe the actual function (behaviour) bends to that function rather than the other way around"
type: archive
source: twitter
source_url: "https://x.com/adam_bobowski/status/2085799786717049322"
author: "Adam"
handle: adam_bobowski
post_id: "2085799786717049322"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury Overall I’ve noticed that inlining is just amazing at surfacing issues with what the actual „abstraction” is - kind of that if I carve the function too early I’ll obfuscate the fact that maybe the actual function (behaviour) bends to that function rather than the other way around"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/adam_bobowski/status/2085799786717049322
- Author: Adam (@adam_bobowski)
- Posted: 2026-08-07 18:46:36
## Branch
**1/** @adam_bobowski
@rfleury
Overall I’ve noticed that inlining is just amazing at surfacing issues with what the actual „abstraction” is - kind of that if I carve the function too early I’ll obfuscate the fact that maybe the actual function (behaviour) bends to that function rather than the other way around
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,49 @@
---
title: "@rfleury Assuming -O3, if you compare the assembly output before and after the exercise, do you see any meaningful difference?"
type: archive
source: twitter
source_url: "https://x.com/borrowck_novel/status/2085804992540143894"
author: "borrowck-novel"
handle: borrowck_novel
post_id: "2085804992540143894"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury Assuming -O3, if you compare the assembly output before and after the exercise, do you see any meaningful difference?"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/borrowck_novel/status/2085804992540143894
- Author: borrowck-novel (@borrowck_novel)
- Posted: 2026-08-07 19:07:17
## Branch
**1/** @borrowck_novel
@rfleury
Assuming -O3, if you compare the assembly output before and after the exercise, do you see any meaningful difference?
**2/** @rfleury
@ZH1YGD
Yes, absolutely
**3/** @borrowck_novel
@rfleury
Thanks a ton. Then it is worth the time to do my own test. Cheers
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,37 @@
---
title: "@rfleury Do you have a favorite example from raddbg to look at?"
type: archive
source: twitter
source_url: "https://x.com/calvinalkan/status/2085812408988180668"
author: "Calvin Alkan"
handle: calvinalkan
post_id: "2085812408988180668"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury Do you have a favorite example from raddbg to look at?"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/calvinalkan/status/2085812408988180668
- Author: Calvin Alkan (@calvinalkan)
- Posted: 2026-08-07 19:36:45
## Branch
**1/** @calvinalkan
@rfleury
Do you have a favorite example from raddbg to look at?
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,41 @@
---
title: "@rfleury This seems like such good advice and hard to visualize without having practiced a couple of times."
type: archive
source: twitter
source_url: "https://x.com/davidvaughn006/status/2085797125221179877"
author: "David Vaughn"
handle: davidvaughn006
post_id: "2085797125221179877"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury This seems like such good advice and hard to visualize without having practiced a couple of times."
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/davidvaughn006/status/2085797125221179877
- Author: David Vaughn (@davidvaughn006)
- Posted: 2026-08-07 18:36:01
## Branch
**1/** @davidvaughn006
@rfleury
This seems like such good advice and hard to visualize without having practiced a couple of times. Are there any good programming problems that would lend themselves to this kind of organizational refactoring?
**2/** @rfleury
It is pretty much any time you are dealing with code without regards for this. When someone isn't thinking about this, they will generate lots of redundant layers of helper functions or abstractions, and if you do a clean-up pass over it, you'll find that like 90% of it is nonsense.
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,37 @@
---
title: "@rfleury This is the first thing I do in every big refactor"
type: archive
source: twitter
source_url: "https://x.com/jsuarez/status/2085822235907162194"
author: "Joseph Suarez 🐡"
handle: jsuarez
post_id: "2085822235907162194"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury This is the first thing I do in every big refactor"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/jsuarez/status/2085822235907162194
- Author: Joseph Suarez 🐡 (@jsuarez)
- Posted: 2026-08-07 20:15:48
## Branch
**1/** @jsuarez
@rfleury
This is the first thing I do in every big refactor
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,44 @@
---
title: "@rfleury btw this sounds like a nice feature for a debugger"
type: archive
source: twitter
source_url: "https://x.com/sandovin34721/status/2085804624213098970"
author: "kurku"
handle: sandovin34721
post_id: "2085804624213098970"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury btw this sounds like a nice feature for a debugger"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/sandovin34721/status/2085804624213098970
- Author: kurku (@sandovin34721)
- Posted: 2026-08-07 19:05:49
## Branch
**1/** @sandovin34721
@rfleury
btw this sounds like a nice feature for a debugger
like 'peek definition' in Visual Studio
but more automatic as you step
do you have something alike
or maybe plan
wdyt
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,39 @@
---
title: "@rfleury couldn't resist"
type: archive
source: twitter
source_url: "https://x.com/tralamazza/status/2085794821310906608"
author: "Daniel Tralamazza"
handle: tralamazza
post_id: "2085794821310906608"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury couldn't resist"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/tralamazza/status/2085794821310906608
- Author: Daniel Tralamazza (@tralamazza)
- Posted: 2026-08-07 18:26:52
## Branch
**1/** @tralamazza
@rfleury
couldn't resist
![](https://pbs.twimg.com/media/HPI7RjUXYAA6IZo?format=png&name=orig)
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,37 @@
---
title: "@rfleury I did this process to linearise the mutually recursive eval loop of a language - also found a very nice opportunistic TCO due to it."
type: archive
source: twitter
source_url: "https://x.com/zygohistoprepro/status/2085814140040266159"
author: "zhppm.lisp"
handle: zygohistoprepro
post_id: "2085814140040266159"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury I did this process to linearise the mutually recursive eval loop of a language - also found a very nice opportunistic TCO due to it."
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/zygohistoprepro/status/2085814140040266159
- Author: zhppm.lisp (@zygohistoprepro)
- Posted: 2026-08-07 19:43:38
## Branch
**1/** @zygohistoprepro
@rfleury
I did this process to linearise the mutually recursive eval loop of a language - also found a very nice opportunistic TCO due to it.
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,37 @@
---
title: "@rfleury John Carmack wrote about this: http://number-none.com/blow/john_carmack_on_inlined_code.html"
type: archive
source: twitter
source_url: "https://x.com/TylerCLaprade/status/2085913835706159301"
author: "Tyler C. Laprade, CFA"
handle: TylerCLaprade
post_id: "2085913835706159301"
date: 2026-08-08
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury John Carmack wrote about this: http://number-none.com/blow/john_carmack_on_inlined_code.html"
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/TylerCLaprade/status/2085913835706159301
- Author: Tyler C. Laprade, CFA (@TylerCLaprade)
- Posted: 2026-08-08 02:19:47
## Branch
**1/** @TylerCLaprade
@rfleury
John Carmack wrote about this: http://number-none.com/blow/john_carmack_on_inlined_code.html
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,39 @@
---
title: "@rfleury Some people will say that a good abstraction lets you understand the loops underneath, and some will say that a good abstraction means you don’t have to understand the loops underneath."
type: archive
source: twitter
source_url: "https://x.com/patrickgwsmith/status/2085887028353441943"
author: "Patrick Smith"
handle: patrickgwsmith
post_id: "2085887028353441943"
date: 2026-08-08
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury Some people will say that a good abstraction lets you understand the loops underneath, and some will say that a good abstraction means you don’t have to understand the loops underneath."
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/patrickgwsmith/status/2085887028353441943
- Author: Patrick Smith (@patrickgwsmith)
- Posted: 2026-08-08 00:33:16
## Branch
**1/** @patrickgwsmith
@rfleury
Some people will say that a good abstraction lets you understand the loops underneath, and some will say that a good abstraction means you don’t have to understand the loops underneath.
I’m definitely in the former camp: CPU and memory are resources like any other.
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,39 @@
---
title: "@rfleury The fundamental property of abstraction is to avoid repetition."
type: archive
source: twitter
source_url: "https://x.com/rep_movsd/status/2085955766578823628"
author: "boo_ghoul"
handle: rep_movsd
post_id: "2085955766578823628"
date: 2026-08-08
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury The fundamental property of abstraction is to avoid repetition."
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/rep_movsd/status/2085955766578823628
- Author: boo_ghoul (@rep_movsd)
- Posted: 2026-08-08 05:06:24
## Branch
**1/** @rep_movsd
@rfleury
The fundamental property of abstraction is to avoid repetition.
Functions, loops, generics, polymorphism, macros, templates, reflection, currying ... You name it
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,37 @@
---
title: "@rfleury makes me wonder why we don't have a tool (do we?) to visualize inlining like that (without actually doing it)."
type: archive
source: twitter
source_url: "https://x.com/dvygh/status/2086445668743168442"
author: "Kalle Immonen"
handle: dvygh
post_id: "2086445668743168442"
date: 2026-08-09
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "@rfleury makes me wonder why we don't have a tool (do we?) to visualize inlining like that (without actually doing it)."
in_reply_to: ""
parent_post_id: "2085786822387609939"
---
## Source
- URL: https://x.com/dvygh/status/2086445668743168442
- Author: Kalle Immonen (@dvygh)
- Posted: 2026-08-09 13:33:06
## Branch
**1/** @dvygh
@rfleury
makes me wonder why we don't have a tool (do we?) to visualize inlining like that (without actually doing it). maybe stop inlining at certain library call boundaries. not only to evaluate quality, but also to understand what the hell a function is doing.
## Related
- Spine: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]
@@ -0,0 +1,38 @@
---
title: "A good way to evaluate one axis of quality of an abstraction is to inline every function call, and see how much duplicate work you can either deduplicate or turn into a loop (rather than several independent function calls)."
type: archive
source: twitter
source_url: "https://x.com/rfleury/status/2085786822387609939"
author: "Ryan Fleury"
handle: rfleury
post_id: "2085786822387609939"
date: 2026-08-07
archived: 2026-08-25
draft: false
tags:
- archive
- twitter
- rfleury
description: "A good way to evaluate one axis of quality of an abstraction is to inline every function call, and see how much duplicate work you can either deduplicate or turn into a loop (rather than several independent function calls)."
in_reply_to: ""
---
## Source
- URL: https://x.com/rfleury/status/2085786822387609939
- Author: Ryan Fleury (@rfleury)
- Posted: 2026-08-07 17:55:05
## Thread
**1/** @rfleury
A good way to evaluate one axis of quality of an abstraction is to inline every function call, and see how much duplicate work you can either deduplicate or turn into a loop (rather than several independent function calls). This also restructures the code such that you can consider work as batches of identically shaped work, rather than either (a) being in shallow callstack code and dealing with a list of abstract, opaque function calls, or (b) being in deep callstack code and not understanding the context you're being called within.
Branches: [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-JaceCear-if-you-got-a-concrete-example-of-this-it-might-be]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-tralamazza-couldnt-resist]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-davidvaughn006-this-seems-like-such-good-advice-and-hard-to]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-adam_bobowski-overall-ive-noticed-that-inlining-is-just-amazing]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-sandovin34721-btw-this-sounds-like-a-nice-feature-for-a]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-borrowck_novel-assuming-o3-if-you-compare-the-assembly-output]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-calvinalkan-do-you-have-a-favorite-example-from-raddbg-to]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-zygohistoprepro-i-did-this-process-to-linearise-the-mutually]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-07-jsuarez-this-is-the-first-thing-i-do-in-every-big-refactor]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-08-patrickgwsmith-some-people-will-say-that-a-good-abstraction-lets]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-08-TylerCLaprade-john-carmack-wrote-about-this-http-number-none]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-08-rep_movsd-the-fundamental-property-of-abstraction-is-to]], [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an/2026-08-09-dvygh-makes-me-wonder-why-we-dont-have-a-tool-do-we-to]]
**2/** @niftynathanj
@rfleury
distance from main sequence
+12
View File
@@ -0,0 +1,12 @@
---
title: rfleury
type: note
draft: false
description: Archived threads by rfleury.
tags:
- archive
- twitter
- rfleury
---
- [[archive/threads/rfleury/2026-08-07-a-good-way-to-evaluate-one-axis-of-quality-of-an]]