human cpu (no longer here)

681 posts

human cpu (no longer here) banner
human cpu (no longer here)

human cpu (no longer here)

@cpuGoogle

Fuchsia kernel (Zircon) technical lead. Follow me at the blue butterfly social network.

California, USA 参加日 Şubat 2015
256 フォロー中1.6K フォロワー
Andreas Kling
Andreas Kling@awesomekling·
Approximate browser engine team sizes: - Chromium: 1000 - WebKit: 100 - Ladybird: 10 I don't have a point to make, just fascinated by the massive difference in scale.
English
33
8
582
33K
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
@HSVSphere @BrretHatinson Typically stacks grow slow-ish so the penalty of exceptions is bearable. If a thread's code has large stack allocations then its likely worse deal to be lazy. In chrome we had to do a hunt for char name[MAX_PATH] because it started to matter when every stack frame had one.
English
1
0
2
97
HSVSphere
HSVSphere@HSVSphere·
@cpuGoogle @BrretHatinson I didn't know page allocation for threads were lazy! Thanks for chiming in 👀 How much does this affect your program if you're going to use those 8MiB immediately anyway?
English
1
0
2
95
HSVSphere
HSVSphere@HSVSphere·
it's all memory
HSVSphere tweet media
English
32
35
837
39K
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
@HSVSphere @BrretHatinson ... handles by assigning an actual page to the virtual address and resuming the execution. The vmm might do some optimization on top, but regular usermode heaps don't do lazy paging, at least the ones most apps use.
English
1
0
2
94
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
@HSVSphere @BrretHatinson Probably not. Lets nerd this thing. The stack allocation is done by the vmm in kernel during thread creation. It will reserve 8M but the memory is not allocated. Once the thread starts running it will touch it each page causing a page fault exception which the vmm again ..
English
1
0
2
225
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
People with interesting lives do not get offended that they cannot be happy. Happy people are offended that they cannot have interesting lives. -- Penelope Trunk
English
1
0
2
534
human cpu (no longer here)
@aionescu partly is that the need for a general library is rare. For one-off research sysinternals is fine, for hooking you usually know exactly your target and the loader does the rest.
English
0
0
3
963
Alex Ionescu
Alex Ionescu@aionescu·
This isn’t some obscure Windows Internals thing. It’s an open specification published since 1993 and the foundation of most non-ELF/MachO binaries (including all Windows binaries, Xbox games, Apple UEFI firmware, and more).
Alex Ionescu@aionescu

2023: The amount of actually correct Google-searchable C/C++ code for enumerating all of the exports of a DLL appears to be zero. Some don’t handle ordinals at all. Others mishandle ordinals. Most don’t handle forwarders. Some do, incorrectly. Not a single snippet does it all.

English
5
14
72
19.1K
JF Bastien
JF Bastien@jfbastien·
Thought experiment: if you could attribute total energy consumed by each line of code ever written, what would be the code that’s consumed the most energy?
English
54
2
43
21.3K
apenwarr
apenwarr@apenwarr·
@benedictevans @gannonh Are we seriously saying that “works best on internet explorer” and ActiveX and DOM (and the Windows bundling itself) had no network effects?
English
1
0
6
445
Adriana Porter Felt
Adriana Porter Felt@__apf__·
the best restaurant in the bay area is Cuban Kitchen. it's in a fifties era strip mall next to El Camino in San Mateo. it has zero curb appeal but the best goddamn food: sweet plantains, crunchy plantains, yucca fries, empanadas, rice & flavorful black beans
English
11
1
96
15.5K
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
@samwhoo True. I mistyped something while setting Limine and it booted only to the panic shell. And yes, "here is a table with 5 boot-loaders" please set up one of your choice"
English
0
0
1
100
Sam Rose
Sam Rose@samwhoo·
@cpuGoogle I've long been a fan of "installing Arch Linux" as a rite of passage. You have to take your time, be thoughtful, methodical, make reasoned decisions. As you live with the choices you've made you may decide they were the wrong choices, so you install again. Smarter this time.
English
1
0
3
246
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
The arch linux installer is amazing. It drops you into a console and makes you type 30% of what is needed to build a distro. You want networking? here is a table comparing 6 networking packages. I'll wait here while you do your research.
English
3
1
11
1.7K
apenwarr
apenwarr@apenwarr·
iCloud storage space is the most reasonably priced thing Apple sells, and I'm pretty sure this is purely because they needed to completely eliminate the possibility of people phoning tech support in tears wondering if there's any possible way to get their photos back.
English
4
0
51
4.5K
human cpu (no longer here)
human cpu (no longer here)@cpuGoogle·
I think people are misunderstanding Bard. Telling white lies to kids is an important tactical tool for parents.
English
1
0
3
791