d01c2 (@folded_const) header
d01c2 (@folded_const) profile picture

Yet another applied PL engineer (KR/EN/JP)

Joined November 2023
Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)Photo by d01c2 (@folded_const)
Over the past year, I've been collecting papers on compiler optimizations, spanning 1994 to 2025, and have added them to the papers-on-compiler-optimizations repo. I hope someone finds it useful :D Feedback and contributions are always welcome! github.com/FedericoBruzzone/…
7
35
207
5,469
sail-x86: Formalizing x86-64 for Full-System Execution and Machine-Code Verification Rui Ueyama, Takahiro Shinagawa arxiv.org/abs/2611.40606 [𝚌𝚜.𝙿𝙻 𝚌𝚜.𝙰𝚁 𝚌𝚜.𝙻𝙾]
16
2
94
3,788
🎄 Advent of Types - day 2 Type theory puzzle every day! Given the following definition: type Not a = a -> Void And three function signatures: puzzle1 :: a -> Not (Not a) puzzle2 :: Not (Not a) -> a puzzle3 :: Not (Not (Not a)) -> Not a Your challenge: 1. Determine which functions can be implemented. 2. Implement them wherever possible. 3. Prove why the remaining function cannot be implemented. 4. Explain what this reveals about classical and constructive logic. Any sufficiently typed language is welcome. No unsafe operations, no partial functions, no classical axioms, no golang, no cheating. Truth in Types, Safety in Thought. Happy Advent of Types!
23
15
8
107
8,567
Replying to @srghma @kirancodes
I have amazing news for you leanprover-community.github.…
1
1
4
226
무엇이든 공부할 수 있게 된 세상에서, 당신은 무엇을 공부할 것인가?
Replying to @d_ijk_stra
내가 이걸 공부해서 어디 써먹을 일은 없겠지만, 수많은 수학자들이 오랫동안 갈구하던 지식이 드디어 우리의 눈 앞으로 성큼 다가왔는데 이걸 내 분야가 아니라고 그냥 지나칠 수 있나 싶어서. AI가 가져올 도전들이 두렵긴 하지만, 깨달음의 즐거움 측면에선 축제거리가 아닌가?
3
92
17
242
39,044
If you are in your mid-20s, ambitious, and think you are running out of time, you should read "Goodbye to All That" by Joan Didion d242fdlp0qlcia.cloudfront.ne…
Honestly if you’re 27, you’re so young, so much life is ahead of you.
14
667
27
9,571
504,604
근황: 석사 디펜스 재밌게 잘 마무리했습니다!!
3
40
968
d01c2 retweeted
"V8 Security in the Age of AI by" (OffensiveCon slide deck) saelo.github.io/presentation… Credits @5aelo and @mlippautz
40
254
9,705
백준 진짜로 부활하나...? 멈춰있던 시계가 다시 움직이기 시작했다
121
28
182
9,863
All of the people who hated on verification and type theory, and who called our research useless for years, should probably admit they were wrong now and maybe apologize for being mean while also being wrong
23
61
3
627
20,959
d01c2 retweeted
きちんとCSをやると、cmpxchgが無くても、非atomicでもsafeなread/writeレジスタさえあればNスレッドでのatomicな排他が実装できることが学べるぞい。TAoMP本を読もう。
大学できちんとCSをやると、弱いメモリモデルでも、最悪cmpxchgさえあればメモリ順序制御と排他が実装できることくらいは習うと思うが、、、、
1
28
3
313
25,308
Our paper, "Vectorizing Recurrences over Semirings,” was conditionally accepted at POPL 2027. We built VecRec, a compiler that vectorizes recurrences into efficient kernels for signal processing, bioinformatics, numerical computing, and even your favorite LeetCode problems.
5
27
182
7,385
d01c2 retweeted
Introducing Lattice, a local LaTeX workspace for your research. A paper is more than a .tex file: the papers you cite, notes, slides, Overleaf co-authors and now an AI agent. I wanted it all in one app, so I built it. Free to download, open source: leo1oel.github.io/lattice
102
310
48
2,694
271,532
d01c2 retweeted
一些粗浅口胡: 最近 agentic kernel generation 很火,因为 GPU Kernel 是一个很适合 LLM 设计优化的 workload。但是我认为 ML Compiler 上的变革只是序曲,这些变更将会普及到通用编译器中。 agent 时代的编译器可能会分成三个组件: (1/3)
After our kernel-agent experiments, we had to confront an uncomfortable question: Do we still need DSLs and ML compilers when agents can do it all? In short: We're still here! 😎 If you're curious why, here's our take: tvm.apache.org/2026/11/03/re… We've also rebuilt TIRx from the ground up as a shared DSL and compiler foundation for agentic kernel development.
7
5
75
8,504
In the age of agents, do we still need compilers at all, and if so, how do we design ML compilers for agents? Checkout take and effort on a ground up rebuild of a ML compiler foundation for the Agentic Era
After our kernel-agent experiments, we had to confront an uncomfortable question: Do we still need DSLs and ML compilers when agents can do it all? In short: We're still here! 😎 If you're curious why, here's our take: tvm.apache.org/2026/11/03/re… We've also rebuilt TIRx from the ground up as a shared DSL and compiler foundation for agentic kernel development.
11
12
2
101
35,365
d01c2 retweeted
First a CPU, then a GPU. A computer isn’t complete without storage. Meet qwenFS: Qwen3.5-2B with a filesystem compiled directly into its weights. Nothing runs outside the model. It adds 8 layers in front of Qwen’s own 24, using attention to hold the files and Gated DeltaNet state to hold the tables. Every save and read runs in the model’s own forward pass. A write stores its text in the copy layer’s attention log, keyed by file, version and offset. A read uses those same keys, so attention copies the text back exactly token by token.
Meet qwenGPU: Qwen3.5-2B with a SIMT GPU inside its weights, 45 compiled layers in front of Qwen’s own, using its Gated DeltaNet layers as registers and memory. It runs real CUDA in its forward passes. The host compiles the kernel to PTX and loads it, then the model writes every step of the launch itself: every register, branch and memory write. The GPU has 4-lane warps, a 4-stage pipeline, 15 registers per lane and 126 words of global memory, all held in DeltaNet state. Qwen generates each launch token by token, each record running one machine block for one warp.
83
152
46
1,816
137,718
d01c2 retweeted
Anthropic is releasing an open source library, FlashProve, for provable inference. It was measured on Llama 4 Maverick, a 400B-parameter mixture of experts model. Code: github.com/anthropics/FlashP… Blog post: anthropic.com/research/prova…
50
90
43
748
114,733
函数式的精髓不是函数,而在于类型系统。 map/filter/reduce 作为技术细节是次要的,换成 for-loop 也行。Local Mutation 也 Ok,甚至有 FBIP(Functional but In-Place)技术,进一步模糊了传统命令式/函数式的代码。 原博用同事秒看懂的案例,在 Agentic Coding 时代已经弱化了,不仅难以构成对函数式代码的攻击,甚至是反过来启示着—— 如果代码不需要被人类开发者秒看懂,甚至不是他们来写,函数式编程是否可以通过 AI Coding 普及? 找 null 案例很棒,但一来现在 AI 排障,报错日志对人的理解复杂度,不一定影响 AI 表现。 二来,函数式的精髓是通过类型建模,让一定区域(特别是 Core 区域)的代码,从类型检查上就拒绝 null,强迫 null 的代码位置从 core 外推到 shell。 这是一种根本上的解决问题的思路,如果一个问题反复发生,则将它外推,远离核心,最好是边界上的薄适配(Adapter),出错就被抓住,且影响范围小。 这个模式叫 Functional Core, Imperative Shell。 它几乎在所有软件层次中都存在。 在编程语言设计与实现层面, Purely functional programming language(如 Haskell)的 Purely 体现在代码里的 IO type 其实是 data,最外层有个 system wrapper 在反复解释 IO type 为外部副作用,并将副作用结果提纯后恢复/重跑程序(Agent Harness 也是这样哦)。 在宏观的软件架构层面,六边形架构/整洁架构,也呈现同样的模式。 掌握函数式编程的精髓,理解它背后的思想,在 Agent 时代也能发挥重要作用。 不要轻视函数式编程,在 AI 时代,它是更重要了。
很多刚刚掌握现代语言特性的年轻开发者,极度热衷于把业务逻辑压缩成一行极具美感的流式管道: 三层 map、接一个 flatMap、穿插两个三元运算符,最后用一个复杂的 reduce 收尾。 写完之后心满意足,觉得自己深得函数式编程精髓。 直到半年后的某天凌晨三点,线上突然抛出空指针异常,报警电话把你从睡梦中惊醒。 打开那一行凝聚了你全部智慧的优雅代码时,你会痛苦地发现: 你根本无法设置断点知道到底是哪一层 map 里的数据为 null; 堆栈跟踪里只留下一串毫无意义的匿名函数行号。 在现代工业软件开发里,代码被阅读、被排查、被修改的次数,远远超过它最初被写下的那一次。 老练的一线工程师在度过炫技期后,往往会极其自觉地回归到最朴素的风格: 写显式的 if err != nil、把复杂的长表达式拆解为带有明确语义的中间变量、提前做防御性 return。 这种代码看起来甚至有些枯燥乏味,但它能让半年后接手的同事在 30 秒内看懂逻辑,能在深夜排查故障时一眼看清每一个变量的状态。 在软件工程里,克制地使用智商,比放纵地炫耀语法高级得多。
9
26
4
209
23,839