サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
faultlore.com
Let’s try it out on our definitely real compiler: I’m done optimizing, the final program is (x << 1) << 1 HUH? Hold on let me look at the code I didn’t write: Ughhh our peephole passes run in the wrong order for this to work. Ok well we can just swap them around. But wait oh god if we add enough passes there might be no optimal ordering and we’ll be constantly missing “obvious” optimizations! Do w
Rust's Unsafe Pointer Types Need An Overhaul I think about unsafe pointers in Rust a lot. I literally wrote the book on unsafe Rust. And the book on pointers in Rust. And redesigned the Rust’s pointer APIs. And designed the standard library’s abstraction for unsafe heap-allocated buffers. And maintain the alternative Vec layout. I think about unsafe pointers in Rust a lot, and I absolutely hate th
C Isn't A Programming Language Anymore Phantomderp and I have both recently been very aligned on a particular subject: being extremely angry about C ABIs and trying to fix them. Where we’re not aligned is why we’re mad about them. He’s trying to materially improve the conditions of using C itself as a programming language. I’m trying to materially improve the conditions of using literally any lang
How Swift Achieved Dynamic Linking Where Rust Couldn't For those who don’t follow Swift’s development, ABI stability has been one of its most ambitious projects and possibly it’s defining feature, and it finally shipped in Swift 5. The result is something I find endlessly fascinating, because I think Swift has pushed the notion of ABI stability farther than any language without much compromise. So
Text Rendering Hates You Rendering text, how hard could it be? As it turns out, incredibly hard! To my knowledge, literally no system renders text “perfectly”. It’s all best-effort, although some efforts are more important than others. I’ll be assuming you want to support arbitrary text provided by users with custom fonts, colors, and styles with line-wrapping and support for text-selection. Basic
このページを最初にブックマークしてみませんか?
『faultlore.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く