We use software every day to perform all kinds of magical, powerful tasks. It's the force behind stunning CGI graphics, safe online shopping, and speedy Google searches. Software drives the modern world, but its inner workings remain a mystery to many.
How Software Works explains how computers perform common-yet-amazing tasks that we take for granted every day.
Inside you'll learn:
–How data is encrypted
–How passwords are used and protected
–How computer graphics are created
–How video is compressed for streaming and storage
–How data is searched (and found) in huge databases
–How programs can work together on the same problem without conflict
–How data travels over the Internet
How Software Works breaks down these processes with patient explanations and intuitive diagrams so that anyone can understand—no technical background is required, and you won't be reading through any code. In plain English, you'll examine the intricate logic behind the technologies you constantly use but never understood.
If you've ever wondered what really goes on behind your computer screen, How Software Works will give you fascinating look into the software all around you
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
【One-Line Pitch】
A patient, code-free tour of the everyday technologies we take for granted—encryption, password storage, secure web traffic, image and video compression, search, and concurrency—written for curious non-specialists who want the logic, not the source code. Read it if you've ever wondered what actually happens behind the lock icon or the loading spinner.
【Book Arc】
- **Opening (~0%–10%)**: Sets up the book's premise—software performs "magical" tasks that most people never understand—and begins the security thread with the fundamentals of encryption: plaintext vs. ciphertext, attackers, and the classic transposition and substitution ciphers, including their weaknesses (cribs, frequency analysis, brute force).
- **Early (~10%–35%)**: Moves from toy ciphers to real cryptography: bitwise operations (especially XOR), AES's block-based rounds, key expansion, diffusion and the avalanche property, then hashing (MD5 as the worked example), digital signatures, collision attacks, and password storage defenses like iterative hashing and salting.
- **Middle (~35%–55%)**: Tackles the shared-key problem and public-key cryptography, walking through RSA step by step and explaining why it's slow—then shows how RSA and AES are combined in practice to secure real web transactions between client and server.
- **Late (~55%–80%)**: Shifts to graphics and media: how digital images and colors are defined, cel animation, 2D rendering, 3D CGI scene description, and how video is compressed for streaming and storage. (Excerpts cover the chapter structure but not the detailed mechanics.)
- **Ending (~80%–100%)**: Covers the remaining everyday technologies—searching large databases, coordinating programs working on the same problem without conflict, and how data travels across the Internet. (Excerpts do not cover these chapters in detail.)
【Key Takeaways】
- **Encryption's core goal is practical asymmetry** (Opening): ciphertext should be easy for authorized users to decrypt but practically impossible for attackers—and "practically" is where all the interesting engineering lives.
- **Classical ciphers teach the threat model** (Opening): transposition and simple substitution fail against cribs, known-plaintext attacks, and frequency analysis, establishing why modern methods must resist attackers who already know a lot about the plaintext.
- **AES achieves strength through layered scrambling** (Early): 16-byte blocks, 10 rounds of transposition, S-box substitution, and XOR with expanded keys produce diffusion and the avalanche property, so tiny plaintext changes cascade through the entire ciphertext.
- **Hashing is not encryption** (Early): MD5 converts passwords into fixed-length codes, but collisions and precomputed tables make naive storage dangerous—hence iterative hashing and salting to raise attackers' costs without wrecking login speed.
- **Security is a cat-and-mouse game** (Early): flaws get discovered in once-trusted methods (MD5 being the cautionary example), so staying ahead of known design weaknesses is a permanent discipline, not a one-time fix.
- **Public-key cryptography solves the shared-key problem** (Middle): RSA separates the locking and unlocking keys, letting two strangers establish secure communication—but its reliance on exponentiation makes it too slow for bulk data.
- **Real systems combine fast and slow crypto** (Middle): RSA is used only to transmit an AES key; the actual data travels under AES. This hybrid pattern is what makes secure online shopping possible.
- **The book's method is conceptual, not code-based** (throughout): every topic is explained with patient prose and intuitive diagrams, so the reader gains mental models rather than implementation skills.
【Reading Tips】
- **Deep-read the security chapters (roughly the first half).** They form the book's strongest through-line: encryption → hashing/passwords → public-key → web security. Each chapter builds on the last, so skipping ahead costs you the payoff.
- **Skim the step-by-step numeric walkthroughs on a first pass.** The RSA ten-step example and AES key-expansion figures are worth returning to, but you can grasp the big idea before tracing every operation.
- **Treat the graphics/media and later chapters as conceptual surveys.** Excerpts show the chapter topics (images, colors, cel animation, 3D CGI, video compression) but not their detailed arguments—read them for vocabulary and intuition, not mastery.
- **Watch for the recurring theme of trade-offs.** Speed vs. security, iteration count vs. login latency, key length vs. practicality—these tensions are the book's real subject and transfer to any technology you meet later.
- **Keep a mental glossary.** Plaintext, ciphertext, key, hash, salt, symmetric vs. public-key—nailing these early makes the rest of the book effortless.
【Coverage Limits】
This guide is based on stratified excerpts covering the book's front matter and security chapters in detail, with only chapter titles available for the graphics, video, search, concurrency, and networking material. Claims about those later chapters are limited to what the excerpts reveal.
Page 9
2D Graphics Software for 3D CGI How 3D Scenes Are Described The Virtual Camera Direct Lighting Global Illumination How Light Is Traced Full-Scene Anti-Aliasi...
k 2 and Block 5. Figure 1-15: Key expansion process for AES As you can see on the right of the figure, every fourth block passes through a box labeled “Extra...
he list requires great care. The Dangers of Password Tables Let’s look at the most straightforward way passwords could be stored in a table. In this example,...
× 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 Try working that out in your head, and you see the problem. Now imagine exponents involving numbe...
pixels in gray tones won’t help the black edge blend into a background of red-orange and brown pixels. A more general anti-aliasing technique calculates an a...
re every triangle is located on the screen and coloring its pixels doesn’t work because every pixel on the screen will probably be inside more than one trian...
y, game developers must review all the techniques available for real-time rendering—lighting and shadows and anti-aliasing, and lots of other possibilities w...
ted data with a reference number from a list of words, this algorithm employs a variation of dictionary compression called a sliding window. With this method...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
How Software Works The Magic Behind Encryption, CGI, Search Engines, and Other Everyday Technologies (V. Anton Spraul)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
How Software Works The Magic Behind Encryption, CGI, Search Engines, and Other Everyday Technologies (V. Anton Spraul)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
How Software Works The Magic Behind Encryption, CGI, Search Engines, and Other Everyday Technologies (V. Anton Spraul)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
这本书围绕一个日常却少有人深究的问题展开:我们每天使用的软件,究竟是怎样完成那些看似神奇的任务的。作者V. Anton Spraul没有把软件当作黑箱,而是拆开来看,解释计算机如何在加密、图像渲染、搜索等场景中一步步实现我们习以为常的功能。全书的主线是让普通读者理解,那些强大而流畅的体验背后,其实是一套可以被讲清楚的计算方法。
读者可以顺着几条线索进入这本书。一条是安全,书中讲到加密与解密所用的密钥并不相同,用于传输的是一种非对称密钥方法,加密用的公钥可以公开,解密则依赖另一把钥匙,这解释了网上购物为何能安全进行。另一条是图形,从像素的灰度处理到边缘与背景的融合,再到更通用的抗锯齿技术,作者说明每个像素的透明度如何按比例计算,让画面看起来自然;纹理处理中还用双线性过滤把小块纹理放大,使图像细节得以平滑呈现。再一条是数据压缩,书中提到一种滑动窗口的字典压缩变体,把重复数据替换为编号,从而缩小体积。此外,AES加密中的密钥扩展过程也被拿来展示,每四个块要经过额外的扰乱步骤,包括字节转置等操作,让密钥材料更难以被推测。
这些例子共同说明,软件并非魔法,而是由一层层具体的技术堆叠而成。
Digital LibraryAI Assistant
Hi — I can help you pick a book. Tell me a topic, language, or level, e.g. “a light English read”. If that's too broad, I'll ask one follow-up.
Loading comments...
Reply to Comment
Edit Comment