Daniel Hooper

1.5K posts

Daniel Hooper banner
Daniel Hooper

Daniel Hooper

@DanielcHooper

Graphics/games/low level programming. Created https://t.co/8vlhOlfcTi. Former Apple engineer.

Pacific NW Katılım Ekim 2011
248 Takip Edilen11.3K Takipçiler
Sabitlenmiş Tweet
Daniel Hooper
Daniel Hooper@DanielcHooper·
How I made a 3D modeler in C. (4 min) Originally shown at Handmade Seattle conf.
English
20
82
672
73.8K
Daniel Hooper
Daniel Hooper@DanielcHooper·
@lindadong Congrats! My wife and I had our first two months ago! Nothing like it!
English
0
0
0
69
Linda Dong 🍉
Linda Dong 🍉@lindadong·
Back from maternity leave! Nothing’s changed with the state of Design in the last few months right? …RIGHT?!
Linda Dong 🍉 tweet media
English
51
1
359
18.3K
Daniel Hooper
Daniel Hooper@DanielcHooper·
@macnuvo @michael_silver This is the comment people at the company should've made! Safari 26.2, macOS 15.7.3, M1 Pro. I can sometimes get the visuals to load (lots of them are canvases), but get terrible scrolling framerate.
English
0
0
9
366
Daniel Hooper
Daniel Hooper@DanielcHooper·
@michael_silver JavaScript is enabled. Also doesn’t work if I turn off all content blockers. Really tried to give you guys benefit of the doubt.
English
2
0
347
7.8K
Daniel Kuntz
Daniel Kuntz@dankuntz·
Chromium is just a better engine than WebKit. Tends to be way more buttery smooth, fewer glitches
English
4
1
26
4.1K
Daniel Hooper
Daniel Hooper@DanielcHooper·
@rockorager “In order to ensure your account number is accurate, we’ve disabled the most accurate way to enter it“
English
1
0
46
863
Daniel Hooper
Daniel Hooper@DanielcHooper·
@rfleury In your initial response, you may have been thinking I'm talking about each thread calling a function in such a way that each thread has its own data, like SIMD, but that's not what I'm talking about. May be too subtle of a question for twitter
English
1
0
0
600
Daniel Hooper
Daniel Hooper@DanielcHooper·
if you didn't have `if(lane_idx() == 0)` somewhere, then for many functions you would either: A. Do redundant work for threads 1 to N. For example, you probably don't want 8 threads doing u64_from_str8 on the same string. B. Or get undesirable side effects, like getting one copy per-thread of a string from str8_copy()
English
2
0
2
1.1K
Daniel Hooper
Daniel Hooper@DanielcHooper·
@rfleury For your multithreaded approach, how do you deal with functions that are inherently single-threaded, like str8_from_16() You need to be inside a `if(lane_idx() == 0)` somewhere in the stack before those leaf functions get called. It seems like there is a tension there: Early in the stack: You lose the ability to split work over multiple threads later in the stack. Late in the stack: You have to sprinkle `if(lane_idx() == 0)` in almost every function. Seems easy to forget one and do wasted work, or get threading bugs from functions with side effects.
English
2
0
16
1.8K
Daniel Hooper
Daniel Hooper@DanielcHooper·
I wrote a UI library in C that can lay out 95000 items at 60fps. The library is 566 lines of C, and the application-specific ui code is 998 lines. Works on mac, windows, and linux.
English
141
254
5.2K
494.7K
Daniel Hooper
Daniel Hooper@DanielcHooper·
@valigo Would love a mac version. I've been experimenting with Helix editor, but it kind of feels like abandonware, and without a plugin system you have to edit it's source to customize.
English
0
0
7
1.7K
jdh
jdh@jdah__·
@DanielcHooper i've been working on some very cool stuff! just not quite ready for primetime yet. promise there will be a new video soon™
English
3
0
19
302
Daniel Hooper
Daniel Hooper@DanielcHooper·
@jdah__ What have you been up to? I'm craving a new video!
English
2
0
12
1.1K
Daniel Hooper
Daniel Hooper@DanielcHooper·
@nanimonull @getvasanth That's the point though, it supports literally anything. Even programs I've never even heard of. It traces processes at the OS level, so it doesn't matter what the process is.
English
1
0
1
52
nanimoの🍂🌧️
nanimoの🍂🌧️@nanimonull·
@DanielcHooper @getvasanth Excuse me. I would prefer no animation, and to literally see all 18 options at once, instead of small subsets of 1 or 4 options. The colors are nice, keep the colors.
English
2
0
1
48
Daniel Hooper
Daniel Hooper@DanielcHooper·
@eugsr1 You don't think both feels like too much / redundant?
English
1
0
1
103
Daniel Hooper
Daniel Hooper@DanielcHooper·
@getvasanth Seeing it all at once is the best argument for the scrolling list.
English
1
0
1
91
Vasanth
Vasanth@getvasanth·
@DanielcHooper I like the scrolling one, the typing one have to wait for all the items, and I feel its takes longer time to see what all it supports. Scrolling is my choice
English
1
0
1
111
J
J@OhOnJahMan·
@DanielcHooper Daniel what would you say is the best learning resource to learn software engineering and C?
English
1
0
0
118
rawxtl
rawxtl@rawxtl·
@DanielcHooper @Grim_Maple Any one who's using a screen or monitor with over 60Hz can see it's obviously faster than 60 frames.. like broo🤦. Idk what to do with these ppl
English
1
0
0
30
Daniel Hooper
Daniel Hooper@DanielcHooper·
@cifilter @rfleury @PrincipleApp I haven't, but I'm a fan of his work. A few months ago the SwiftUI team reached out to me about joining and the biggest draw was the opportunity to work with John. How do you know about him?
English
1
0
1
63