Fundamentals 15 min read

The Hidden Programmer Behind Wang Xiaobo: Early Chinese Software and Input‑Method Innovations

This article recounts how celebrated Chinese writer Wang Xiaobo, also an early programmer, created his own Chinese input method and statistical software in the late 1980s and early 1990s, detailing his self‑taught mastery of FORTRAN, assembly, C, and the challenges of building software in a nascent Chinese computing environment.

ITPUB
ITPUB
ITPUB
The Hidden Programmer Behind Wang Xiaobo: Early Chinese Software and Input‑Method Innovations

On the 24th anniversary of writer Wang Xiaobo’s death, the article reveals that beyond his literary fame, he was a pioneering Chinese programmer who built his own software, including a Chinese input method and editing tools, which he used to write novels such as "Wang Er’s History of Elegance" and "Red Fur Night Run".

Background and Motivation

Wang studied trade at Renmin University, taught there for a few years, then pursued graduate studies in economics at the University of Pittsburgh. After returning to China, he taught statistics at Renmin University, where the lack of statistical software compelled him to write his own programs.

In the early 1990s, software was scarce and computers were rudimentary in China. To meet his statistical needs, Wang taught himself FORTRAN, assembly language, and C, and studied data structures, algorithms, and compiler theory.

Early Software Projects

His first notable invention was a self‑developed Chinese input method, part of a broader suite of tools that included a Chinese editor. He proudly claimed his software could rival existing products, and he used these tools to compose his novels.

Correspondence and Technical Details (1988‑1993)

December 1988 – Wang wrote to a computer lab at Renmin University requesting software copies (APL, SAS, SPSS, etc.) and offered to cover copying costs.

January 1990 – While doing statistics for Peking University, he lamented the lack of usable software beyond SPSS and asked for a copy of the S language.

May 1990 – He noted the dominance of IBM‑PC compatibles and the importance of Intel CPUs, while sketching a statistical model involving dummy variables on a spherical joint distribution.

February 1991 – Mentioned issues with IBM Chinese software and the need for a color monitor.

March 1991 – Received "Yan’s 2.0A" software, compared it with his own B‑tree based phrase‑dictionary, and praised its pinyin‑tone input method.

May 1991 – Reported that his software required a floating‑point processor, which many domestic machines lacked.

May 1991 – Described an invention that generated Chinese characters by adjusting a glyph generator, allowing Chinese windows on Western software and adding humorous comments to SPSS.

September 1991 – Received a damaged floppy from a friend, noted that he had re‑implemented the software in C, and admitted to earning money from novel‑writing.

1992 January – Detailed a compilation of his software consisting of five C files and one assembly file, built with Turbo C using the command tcc -mc -ewka:wk*.c a:wk5.obj graphics.lib . The resulting executable was 55 KB, compact but slower in graphics than a competitor’s version.

July 1992 – Upgraded his PC/XT with a 286 motherboard, rewrote parts of the software recursively, and sought a C compiler supporting virtual addressing.

September 1992 – After receiving a three‑inch floppy that was unusable, he continued developing C‑based novel‑writing tools and focused on writing long‑form fiction.

March 1993 – Purchased a 286 and completed a version that could edit 400 KB files, allowing an entire novel to reside in memory, though limited by 1 MB RAM and lack of a hard drive.

Undated – Noted that his PC was not yet connected to the Internet; monthly ChinaNet fees were prohibitive, so he relied on letters.

Technical Reflections

Wang’s letters illustrate the challenges of early Chinese computing: limited hardware (IBM‑PC, XT, 286), scarce software (no Chinese versions of mainstream packages), and the need to write low‑level code for performance and functionality. He discusses memory models (real vs. protected mode), compiler limitations, and the trade‑offs of using Turbo C versus other tools.

Despite these obstacles, Wang achieved functional Chinese input, phrase dictionaries, and a text editor capable of handling long manuscripts, demonstrating a deep understanding of both programming fundamentals and the specific needs of literary creation.

Conclusion

The collected letters and anecdotes provide a rare glimpse into the life of a writer‑programmer who bridged literature and early software engineering in China, highlighting the ingenuity required to develop custom tools in an era of scarce resources.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

software historyC programmingWang Xiaoboinput methodFortranearly Chinese programming
ITPUB
Written by

ITPUB

Official ITPUB account sharing technical insights, community news, and exciting events.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.