"A hacker, a lecturer, a father" // Adjunct faculty at @NCKU_official

Taipei/Tainan, Taiwan
Joined June 2007
The Linux Kernel Module Programming Guide (#LKMPG) got 5000+ stars on GitHub. Thank all the contributors and promoters. We are moving forward to Linux v6.x support. Rust LKM examples will appear later. github.com/sysprog21/lkmpg
6
111
1
437
Jim Huang retweeted
In 1994, software was dead. People told me programming was for nerds and that I should become a doctor or a lawyer instead. In 2004, software was dead. People told me that someone from India would take my job for $5/hour. In 2014, software was dead. People told me that no-code was going to kill every job and doom my career. In 2024, software was dead with Devin, Windsurf, Copilot, and OpenAI o1. We kill software every 10 years, and yet the demand for good Software Engineers has never been higher.
252
317
36
3,044
145,621
Abstract vs Full Paper
37
1,122
107
8,470
194,152
2.2 megabytes in 1966
23
215
21
1,159
18,541
着いたよ!
1
30
5
209
7,021
Jim Huang retweeted
Replying to @wholemars
The operational risk isn't "nobody reads it" — it's "nobody can verify it." Once the corpus exceeds what a human can load into working memory, correctness has to shift from review to verification: formal specs, property-based tests, fuzzing, model checkers. The lever that keeps safety intact while code scales past human readability is the verification toolchain (KLEE, CBMC, Frama-C, liquid types, TLA+). The teams that ship unreadable code without burning down production aren't the ones with bigger teams — they're the ones that replaced "a human read this diff" with a proof or a failing property. Everything else is just hoping the blind spot didn't overlap the edge case.
1
134
soon the entire world will be running on code that nobody has read
221
250
52
4,164
488,521
Jim Huang retweeted
Leslie Lamport is one of the greatest computer scientists alive. In the 1980s, he wanted to write a book about concurrency, needed better macros for TeX, and spent several months developing LaTeX which mathematicians, physicists, and researchers around the world still use today. The book never got written. Then he continued his groundbreaking work in distributed systems theory (Paxos, logical clocks, Byzantine fault tolerance). Some people's side projects become entire industries.
11
19
5
150
4,808
C is a programming language to honor "What You See Is What You Get" (WYSIWYG).
Rust compiler: "I cannot allow you to compile this because reference x might outlive borrowed scope y on line 42." C compiler: "You want to cast an integer to a function pointer and jump straight into uninitialized heap memory? Hell yeah brother, here's your binary."
5
10
1
227
71,851
The Singularity: 1950: Real programmers wire their own circuits. 1985: Real programmers write their own assembly. 2010: Real programmers write their own C. 2026: Real programmers write their own Python. 2027: Real programmers write their own prompts.
61
135
23
1,357
95,085
Jim Huang retweeted
Rust is the Perl of the 21st century.
153
94
31
1,108
39,715
Jim Huang retweeted
One constant rules continuous change: the same e that compounds interest without bound also equals its own derivative and sums to itself via factorials. e = lim (1 + 1/n)^n as n→∞ e = ∑_{n=0}^∞ 1/n! d/dx e^x = e^x ∫_1^e (1/t) dt = 1 From population models and radioactive decay to neural nets and option pricing, continuous growth always traces back to this single base. Nature’s compounding engine is written in e.
5
120
2
589
10,162
Jim Huang retweeted
The computer that landed Apollo 11 on the Moon computed sine with a polynomial of just three terms. sin(πx/2) ≈ 2((C₅x² + C₃)x² + C₁)x, used only for |x| ≤ 1. The constants are not Taylor coefficients. Taylor's C₃ would be −0.3229820, the AGC stored −0.3216147, nudged so the error wiggles across the interval instead of piling up at the end. Result: max error 1.1×10⁻⁴ versus 4.5×10⁻³ for Taylor, about 40 times better at the same cost. Good engineering often means choosing better constants.
7
138
8
828
34,567
Don't Resist ! Learn Embedded Rust
7
4
1
96
4,839
Jim Huang retweeted
Ask Jeeves and Clippy. The original AI assistants of the 90s/2000s
40
366
27
2,083
33,418
Jim Huang retweeted
Back to basics! Let's copy a string in C and then see how it's done in assembly language! // How to copy a string in C and assembly: In C: while ((*dst++ = *src++)) ; // In PDP-11 assembly, a single instruction in a loop does it, because it has pre- and post-increment operations built into the instruction itself. ; R0 = src, R1 = dst 10$: MOVB (R0)+,(R1)+ BNE 10$ // In X86 assembly, REP MOVSB would do it if you knew the length, but you don't, so: ; RSI = src, RDI = dst, direction flag clear copy: lodsb ; AL = *src++ stosb ; *dst++ = AL test al, al jnz copy
38
29
4
508
41,155
Jim Huang retweeted
I just released mold 3.0.0! This is the first Rust version of mold, rewritten from C++ with performance on par with 2.42.1. The goal of mold 3.x is to close the remaining GNU ld compatibility gaps and make mold the default linker in Linux distros. github.com/rui314/mold/relea…
42
214
11
1,438
70,603
Jim Huang retweeted
291
5,152
447
82,702
4,692,573
Jim Huang retweeted
«Science is more than a body of knowledge, it's a way of thinking» — Carl Sagan, from his last interview with Charlie Rose, May 27, 1996
7
28
3
144
37,214
Jim Huang retweeted
Points of view
22
300
28
1,444
97,738
Jim Huang retweeted
4
36
4
305
13,175