<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kurt Guntheroth on Medium]]></title>
        <description><![CDATA[Stories by Kurt Guntheroth on Medium]]></description>
        <link>https://medium.com/@k.guntheroth?source=rss-e87c886b0ab1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8TrknCgH0uVMtpws.</url>
            <title>Stories by Kurt Guntheroth on Medium</title>
            <link>https://medium.com/@k.guntheroth?source=rss-e87c886b0ab1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:14:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@k.guntheroth/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Engineer’s View on the Robot Apocalypse]]></title>
            <link>https://medium.com/@k.guntheroth/the-engineers-view-on-the-robot-apocalypse-ada4d26af8d7?source=rss-e87c886b0ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ada4d26af8d7</guid>
            <category><![CDATA[basic-income]]></category>
            <category><![CDATA[robots]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Kurt Guntheroth]]></dc:creator>
            <pubDate>Sun, 12 Mar 2017 06:11:49 GMT</pubDate>
            <atom:updated>2017-03-12T06:11:49.521Z</atom:updated>
            <content:encoded><![CDATA[<p>In Sarah Kessler’s <a href="https://qz.com/904285/the-optimists-guide-to-the-robot-apocalypse/"><em>The Optimist’s Guide to the Robot Apocalypse</em></a>, she evaluates the question of whether robots will take all our jobs. Ms. Kessler’s take is that we shouldn’t worry, this won’t happen, just like it didn’t happen all the times in the past that automation threatened to take our jobs.</p><p>Kessler summons some charts and factoids to make her case. That would be a great argument if the charts and facts actually supported her case, which they don’t. Lets have a look.</p><p>Kessler’s primary historical example is the automated weaving frame. Queen Elizabeth I refused to grant a patent for an ancestral device because she feared it would put too many subjects out of work.</p><p>By the early nineteenth century, these weaving frames had put tens of thousands of Englishmen-and-women out of business, destroying what had been a successful cottage industry, reducing wages by 90 per cent. This disaster gave rise to the Luddite movement, who were not opposed to technology <em>per se</em>, but merely against starving because of it. The Luddites ransacked factories, destroying the automated equipment.</p><p>The English government’s response to the Luddites’ popular uprising was instructive. They sent in troops to protect the automated weaving equipment. In 1812, the English parliament made destroying a weaving frame a capital offense, while declining to legislate against starvation.</p><p>Kessler says “…weaving technology ended up creating <em>more</em> jobs for weavers. By the end of the 19th century, there were four times as many factory weavers as there had been in 1830”. This statistic is disingenuous. Employment of weavers dropped precipitously from about 1800 to 1830. The population who had been cottage weavers had to physically move to other cities with other industries, and wait an entire human lifetime before workers displaced by automation were employed again by the fruits of automation.</p><p>The new jobs created by automated weaving mills were of an entirely different character to the lost jobs. Weaving mills of the late nineteenth century were legendary for monotonous, dangerous, low-wage work, child labor, industrial accidents, and all the ills that led to the rise of the labor movement. This is hardly an endorsement of the benefits of automation.</p><p>The weaving industry is, in a nutshell, a perfect example of the robot apocalypse. There was no new, higher paid work to replace the jobs lost to automation, only marginal employment.</p><p>Kessler summarizes her history lesson, saying, “…widespread unemployment due to technology has never materialized before.” I would say her own evidence refutes this claim. I might mention also the mass migration of population from farms to cities in the twentieth century, the hollowing out of Rust-belt manufacturing jobs in the 1980s, and the jobless recovery of the last 5 years. We put a positive spin on these losses, talking about the “service economy”. But that is a code name for low-paying retail jobs replacing well-paying factory jobs.</p><p>Kessler shows a graph of Amazon.com jobs, showing that while Amazon has exponentially increased the use of robots, the use of human labor has also risen. That’s great, but what would be Amazon’s use of human labor if there had not been robots. This graphic proves nothing at all, other than that robots are taking over.</p><p>Kessler cites the usual arguments that reduced costs due to automation permit either lower prices or more profit, which might lead to more employment. Or it might lead to more robots, which Kessler calls “increased investment”. It is my personal opinion that relying on a second-order effect of reduced costs to maybe create increased employment is entirely too slender a thread from which to hang society’s whole future, when robots are clearly doing things that humans used to do. We have, after all, the example of the automation of weaving to inform us.</p><p>Kessler cites studies showing a correlation between automation, particularly in the form of increased computer use, and increased employment. It’s not immediately clear whether these studies consider network effects like decreased employment at competing firms. Some of these studies cover industries where computerization has made new kinds of products (flat screen TVs, smart phones) possible. But when automation is used to decrease costs, and the chief cost is labor, automation will devastate employment in these industries.</p><p>For instance, there are about three and a half million truck drivers in the United States. These jobs currently pay a relatively high wage and require minimal training. According to a report issued by the White House last December, most of these jobs will eventually be automated.</p><p>It’s interesting that technology has eliminated jobs from the cotton fields, to the weaving mills, to the truckers who bring the goods to market, to department stores disintermediated by the internet. As whole networks of jobs are automated, displaced workers have fewer and fewer places they can turn for work.</p><p>And the work they can get is of lower quality. They are competing with robots to drive trucks, sell air duct cleaning over the phone, or scan medical slides for signs of cancer. The tirelessness and consistency of robots colors the jobs that humans do, making them more mechanical, more subject to quotas and measures. Humans are not accustomed to being inside the automation. They rebel against it, but it’s no use. They are just carbon-based pick and place robots now, doing the routine jobs that are just slightly too complex to fully automate today. Kessler acknowledges this fact, but it doesn’t seem to bother her.</p><h4>Automation Makes Humans Obsolete</h4><p>Like Kessler, many people have been smug about the loss of low-skilled jobs. Whole categories of jobs have disappeared; telephone operators, typists, drafters, typesetters all rendered irrelevant by computers in the 1960s and 1970s. Then assemblers and manufacturing workers in the 1980s.</p><p>But information workers believed they were the future. Their jobs were creative, and machines could never do that. Only they didn’t have to. They only had to debase the value of these professions. Computerization bit into line managers in the 1990s. Photographers, reporters, and journalists felt the cold hand of the robot apocalypse in the 2000s. Now lawyers, radiologists, pathologists, and university professors are endangered. All of a sudden it’s not just low-skilled people losing their jobs. It’s pretty much everyone.</p><p>Displaced workers have fewer and fewer options if the remaining jobs require high I.Q.s and a college education, or offer subsistence wages and no benefits. At best, these workers have to retrain for a period of several years, then move to places where the high tech jobs are, all while avoiding starvation. At worst, it means underbidding a robot for a subsistence wage. Eventually even these roads may not be passable.</p><p>Kessler says we may need automation to counteract declining birthrates. It may also be that birthrates are declining because there is nothing for us to do. The world is full, so people stop making babies.</p><h4>Greed is the Key to the Robot Apocalypse</h4><p>Philosophers and religious scholars tend to think there is something unique about human consciousness, some ineffable spark that cannot be captured. Engineers are more sanguine. From an engineering standpoint, there is no reason to believe that robots cannot eventually be made to do absolutely everything humans can do, and perhaps more. After all, to an engineer, a human being is just a meat robot, controlled by a computer made of grey meat.</p><p>Kessler argues that as aspects of each job are automated, that enables workers to add more value and earn a higher wage. If 40% of a job is automated, it frees up time in which workers can earn more value. That’s one outcome. Another is that 40% of workers are let go, and the remaining workers do the remaining work. Any result other than the optimistic extreme makes jobs go away. Helping workers earn more value requires an investment in training. Cutting the workforce makes fewer demands on the captains of industry.</p><p>There is tremendous profit motive in making better robots, at least initially. Thousands of very bright engineers are beavering away today trying to make us obsolete. The first ones to do it will be wealthy beyond imagining. But how will mere humans compete with the superior mechanisms they build? We may think, like Dr. Frankenstein, that we will control the monster, that it will do our bidding. However, a fully autonomous robot is a better robot, more flexible and versatile. Someone will build one simply for short-term profit. There is absolutely no reason to believe that this story will end well for us humans.</p><p>I can visualize the last Neandertal, admiring those tall, gracile, homo sapiens, wondering what the future will be like without Neandertals. Maybe our robot overlords will be gentle with the last of us, keep us as pets, or as a reserve of intelligence in case of unforeseen need. But if they are careless and we die out like the passenger pigeon, it will be no great loss to them.</p><p>I consider an outcome as optimistic as that described by Ms. Kessler as so unlikely, that I wonder who is paying to have such material presented over and over. When I hear other engineering minds sounding notes of extreme caution, it makes me hope that I am old enough to die peacefully in my sleep before the turds hit this particular turbine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ada4d26af8d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yeah, calm the f*** down.]]></title>
            <link>https://medium.com/@k.guntheroth/yeah-calm-the-f-down-b10e0104ceb9?source=rss-e87c886b0ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b10e0104ceb9</guid>
            <dc:creator><![CDATA[Kurt Guntheroth]]></dc:creator>
            <pubDate>Fri, 23 Sep 2016 16:57:18 GMT</pubDate>
            <atom:updated>2016-09-23T16:57:18.024Z</atom:updated>
            <content:encoded><![CDATA[<p>Yeah, calm the f*** down. If the quote hadn’t been attributed to Cosby, you would probably have called it a great parenting quote. You just pounced on a teacher, without warning, with fangs and claws bared, <em>for correctly attributing a quote</em>. Great job, take another bow in thus public forum, while the crowd goes wild. It’s probably the case that Julius Caesar, Sun Tsu, Attila the Hun, and Adolph fucking Hitler said things that were interesting, independent of their infamy or not. And if they did, it would be correct behavior to attribute the quote to its author.</p><p>Not a fan of Cosby, by the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b10e0104ceb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Wrote a Technical Book]]></title>
            <link>https://medium.com/@k.guntheroth/i-wrote-a-technical-book-5aa8d08b070f?source=rss-e87c886b0ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aa8d08b070f</guid>
            <category><![CDATA[authors]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[publishing]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[books]]></category>
            <dc:creator><![CDATA[Kurt Guntheroth]]></dc:creator>
            <pubDate>Thu, 18 Aug 2016 21:36:49 GMT</pubDate>
            <atom:updated>2016-08-18T21:36:49.540Z</atom:updated>
            <content:encoded><![CDATA[<p>I just had my first technical book published. It’s called <em>Optimized C++</em>. It’s about improving performance of computer programs written in C++. <a href="https://www.amazon.com/dp/1491922060/ref=sr_1_1">Buy it now. Plug, plug, plug</a>. In this article, I share my experience writing a technical book.</p><p>I spent my whole life never dreaming that I would write a book, until suddenly I needed to write this one. See, I love programming, and C++ is a comfortable programming language for me. But in the opening decade of the twenty-first century, C++ seemed to be under assault. Giant corporations were fighting proxy wars by creating proprietary programming languages. Their sales pitch was that C++, along with their competitors languages, were too hard to learn, and their proprietary language was the future. The number of C++ jobs dipped as companies made big-money bets on other languages. I needed to make my own big bet. Go with Java maybe, or with C# and .NET.</p><p>But there was no rational basis on which to make a choice. C++ was faster and more portable than other alternatives. I had enough C++ experience that common complaints like memory leaks were not a problem in my code. Why give up a tool that was working well for me? I remained on the fence.</p><p>Then a funny thing happened. Companies discovered that their web sites coded in PHP or Ruby didn’t scale, even when they spent millions building out data centers big enough to run their servers. Young programmers discovered again what every previous generation had learned, that performance matters more than they wanted to admit.</p><p>I began collecting notes and on-line reference texts on optimization. At some point around mid 2014, it occurred to me that I would have enough material for a book if I kept at it. I began organizing the material into categories that might become the chapters of a book. I took a stab at writing text for some of the material to see if I liked the result. I spoke to my wife about writing a book. She attempted to be supportive, though it was clear she wasn’t sure I was serious, and if I was, that it was even possible.</p><p>How could <em>I</em> write a book? I was just a guy, not somebody famous. I knew I could write, but a book? A book was an order of magnitude bigger than anything I had ever attempted. I was not so vain that I would write a book just in case somebody might want to read my beautiful prose. I felt I needed some kind of external validation that my idea was worth publishing, before I set out to put 100,000 words in a row. I needed to sell the idea to a publisher.</p><h4>Finding a Publisher</h4><p>I was browsing O’Reilly books’ web site, where I stumbled across a <a href="http://www.oreilly.com/work-with-us.html">Work With Us</a> link. The page led to a brief description of the authoring process, and a place to email a proposal. In a few hours of feverish typing I had a detailed proposal ready, with a sample table of contents and a bit of sample material. I sent an email on August 8, 2014, and began waiting for a response…</p><p>Have you ever had the experience of sending five, ten, twenty resumes out, and never hearing back from a single employer, so that you wondered if there was something wrong with your email, or perhaps you had become radioactive and not noticed? Waiting for a response was like that. Weeks went by. I sent a duplicate message. More time passed. I thought I would look for another publisher. Addison-Wesley had an email address for authors, to which I sent my proposal, and heard only virtual crickets.</p><p>My memory is that months went by with no response. I began to give up hope. I got my notes together and parked them on a backup drive in case I ever wanted to return to them. I let out a heavy sigh and prepared to move on. A look at my mail archive shows that in reality less than three weeks actually elapsed before I received a response.</p><p>I got an email from O’Reilly. (I never did hear from Addison-Wesley.) O’Reilly were interested in my proposal. They sent me a long questionaire about what kind of people might read my book, and how useful the subject was. After almost giving up, getting this response was a thrill. I rushed downstairs to share the news with my wife, who was also excited, if somewhat skeptical that <em>anyone</em> could write 300 pages on such a dry subject.</p><h4>Writing a Book, Part I</h4><p>Just knowing that getting published was a possibility was encouragement enough to begin work on the book in earnest. The introductory chapter was easy, a justification for optimization. I’d had this conversation (or argument) many times with skeptical managers and like-thinking colleagues. It was a summary of why I felt this book was necessary. I had an idea for a chapter that would briefly cover the whole field to give hands-on examples before diving into theory. I had an idea for chapters briefly introducing computer architecture as it relates to optimization, and how to use optimization tools.</p><p>Each evening after work, I went up to my quiet office at home and typed in a whole page of prose. I edited and did research on the bus ride to work. There were a couple of books in print on performance tuning. I read these, looking for topics I had forgotten or not thought of. I also read all the reviews on amazon.com for these books. Reviewers liked worked out programs and facts supported by data. They did not like hand-waving arguments. This made writing more time-consuming, but I’m sure the book is better for knowing these things in advance.</p><p>In the meantime, I was waiting again to hear back from O’Reilly on my detailed proposal. Again days turned into weeks and I began to lose hope. Almost three months later, and just when I’d resigned myself to never hearing back, O’Reilly responded. I had a contract, a schedule, a <em>deadline!</em> They wanted me to finish in six months, which would have been June. I had some experience of my rate of progress in pages per week. I said I needed more like nine months. The deadline we settled on was August-ish. There was a checkpoint in February for the first three chapters, a checkpoint in April for the first half, and the balance in August.</p><p>Before I signed the contract, I wanted to know if the contract was fair. I was dimly aware of myths and legends from the entertainment industry of agency contracts and media contracts that tilted decidedly toward the publisher or studio and away from the creator. I knew I would not get rich writing a book, though tech books may pay better than fiction. I wanted to know at least that I was not being treated worse than average. Fortunately, the Internet is an excellent source of information about literary contracts, and O’Reilly’s contract was straightforward. I could have gotten a small advance on royalties, but it was not enough to live on. I got a slightly better cut by foregoing an advance. I signed the contract and sent it back. This was the point at which I began to believe that I really was going to be an author, that I might really, actually write a book.</p><p>There is no way to know how much money I will earn from writing the book. It will probably be a few thousand dollars spread over five years or more. Every month I get a royalty check for less than $200. Book sales have a long pipeline. The process is opaque to us muggles.</p><p>To this point, my draft was in OpenOffice format. It was now large enough that OpenOffice strained to load it all, even broken up into chapters. O’Reilly had its own authoring tool, a web-based WYSIWYG editor called Atlas, which produced HTML files tagged for their batch formatter. At the time, Atlas was a work in progress, with limited capability. Translating my documents into Atlas was straightforward, though hardly effortless, especially as Atlas was an unfamiliar tool with very limited documentation. By February 2015, I had about 135 pages written, according to Atlas. O’Reilly had provided a cover design, with one of its signature animal woodcuts. The cover made the contents seem more real, somehow.</p><h4>Writing a Book, Part II</h4><p>In February, my employment status changed, as my employer pivoted from core development in C++ to control panels on web pages. I asked my wife Renee if I could take time away from work to write full time. Renee, who had viewed my writing up to this point with benign amusement, was very supportive. It helped that we had both worked, and had lived frugally over a long career so that we had the financial resources for me to take time off work. I began writing full time.</p><p>On the last day of February, O’Reilly surprised me by releasing the first four draft chapters of my book on their “rough cuts” program. Safari(TM) subscribers could see my draft. I was mortified, as I did not consider so much as a single word to be ready for release at this stage. In truth, it <em>was</em> a very rough cut. I am far better satisfied with the final version of these chapters than with the version of February 28.</p><p>The next thing that happened is that I ran out of material to type. The first 150 pages of my book had been long-rehearsed arguments and well-understood programming issues. There was still plenty of territory to cover on the topic of performance tuning, but now I had actually to research things I wanted to say, and write every word from scratch. The need to get it right in a persistent medium like print weighed on me. I was working continuously, but as I added new material in one place, I edited older material down in another place. My page count stuck at 150. Progress was slow in March, April, and May.</p><p>I had imagined that my editor at O’Reilly existed to help me with the word-smithing and the fussy grammar rules while I focused on content. This turned out not to be the case. My contact person, whose title was “Editor”, was actually more of a contract administrator. The writing, it turned out, was up to me. If I had known that earlier, I might have spared time to reread <em>The Elements of Style</em> a few more times. Another thing I learned was that the reason O’Reilly hadn’t gotten back to me sooner at the beginning of the project was that there was a lot of churn in their technical book staff. By the time I finished my book, it had had three different editors. The first one was laid off. The second left to have a baby, and the third took me the rest of the way to production. I’m told this is not the usual experience, but it was mine.</p><p>By May, I knew that I couldn’t possibly make my August deadline. I contacted my editor, who was very kind. As long as I was continuing to make progress, the deadline could be moved back, to Halloween.</p><p>Around the middle of 2015 my page count began to push upward again. Writing acquired a kind of rhythm. I’d spend two or three weeks researching a topic, doing a lot of programming and note-taking, but making minimal progress on the book text itself. Then would come a single week where I added 30 pages to document my findings.</p><p>The results of my research were always interesting (to me, anyway), and sometimes quite surprising. Measuring performance of various algorithms and data structures was something I’d always wanted to do when I was working, but never had time for. I thought I knew a lot about optimization going into this project, but I learned many things doing the writing.</p><p>By early November, I had drafts of every chapter, though there were some details left to fill in. I had blown past 200 pages, and now had over 300 pages written. I began to worry less about not having enough to say, and more about having too much. But not every chapter was in the same state. Some were production-ready, some had missing examples and figures. At least one was in an extremely preliminary state.</p><p>Once again, my editor at O’Reilly was very generous, letting me continue working until Christmas, which actually meant New Years, because O’Reilly pretty much shuts its doors for the second half of December. We also agreed to drop two less-essential chapters in the interest of getting done. I was sad to stop work on this material, but eager to get the rest into final form. I spent this time reviewing each chapter, improving my wording, inserting examples that I’d left unfinished, and polishing the last chapter.</p><p>I had a technical editor at O’Reilly, named Andy Orem, who is himself a technical author. Andy made excellent technical comments, and was also a person I could go to and get a good answer to questions like, “Why does this chapter suck so much?” In addition, I had three outside technical reviewers who saw my book in February, July, and November. The quality of the reviews varied. One reviewer simply marked a few spelling errors. The others had more interesting suggestions, most of which went into the book.</p><h4>Writing a Book, Part III: Production</h4><p>I was not satisfied with my draft until the end of January, 2016. At this point I had been working on book-related work for 18 months, and writing full time (really about 6 hours a day) for a year. My book ended up at 350 pages, plus table of contents, forward, index, and all the other pages that get into a book. I was satisfied with most of the writing, though I could easily show you my best work and my worst. With a sensation of release, I offered the final manuscript for production.</p><p>But my book was not done with me. The way production works at O’Reilly is that the book goes through three reviews. The first review is for grammar and word use. At the end of this review, I got a PDF of the book with comments marking each change, that I was meant to approve. Atlas is supposed to have a review mode, but this wasn’t working at the time my book went into production. This first edit was mostly satisfactory. It was a little uncomfortable to see long sentences I had broken down into short clear pieces reassembled again by the editor. But they were the domain expert so I approved almost every change. I became aware during this time that there was a way to reorganize several chapters that would make them clearer. But I had no way to do it, as I no longer had Atlas access to the manuscript. Not being able to make larger changes was another thing that took some getting over. I had reorganized the book completely a couple of times during the writing process.</p><p>The second review is by the formatting police. They made sure there were no unfortunate page breaks, tried to get every instance of “C++” not to break over two lines, and made a few more grammatical changes. A specialist also indexed the book at this time. Again I got a PDF, with just a few days to read the whole book and approve the changes. I might have simply gone through the PDF comments, but I found occasional problems beyond the changes marked.</p><p>The third review is performed by a consulting outside editor, who has never seen the text before. They look at everything: grammar, formatting, index. It’s a sanity check. This fresh view was very helpful because by this time, I had reread the text so many times, I swore if you read me the first sentence of any paragraph, I could recite the rest of it. It was a relief that there were only a few marks on this version.</p><p>These three reviews took rather more than the six weeks estimated by O’Reilly at the start of production. Since they happened away from my view, I never knew how long they would take, or when a draft PDF would appear in my email in-box needing a quick-turnaround review. My sense of being done evaporated as I slogged through production.</p><h4>Epilogue and Advice to Authors</h4><p>My book became available to purchase around mid-May. On May 19, 2016, a Fed-Ex packet arrived from O’Reilly with a single copy of the book inside. I proudly showed this artifact to friends and relations, not requiring anyone to open it up (because the contents are very technical), but just to show that I had really done it. I saw the first review on Amazon, and it was gratifyingly positive.</p><p>No part of the writing was difficult. I was never blocked, never unable to continue. The technique I use to avoid writer’s block is to <em>write something</em>. If I didn’t have a paragraph of text, I would write a bullet list. If I didn’t have a bullet list, I’d write a few key words. If I didn’t have that, I’d write a section heading. If I didn’t even have that, I would open a different chapter and work on that for awhile. I would do anything to get <em>something</em> down on that empty page. As soon as I had <em>something</em>, I could begin to review it, to think to myself, “Is this what I want to say here?”</p><p>Supporting every argument with evidence was surprisingly hard. People (including myself) are lazy in conversation. We rely on opinion and emotion too much, because we extemporize. In print, it’s different. Hand-waving arguments are not persuasive. I took up writing this book because optimization is controversial. There are knowledgeable people who think attempting to improve performance of a program is somewhere between a sign of foolishness and evidence of Satan’s hand. I happen to disagree, though I admit the skeptics have valid concerns. Producing a high quality argument in favor of optimization was important to me. Producing an inadequate argument would make life more difficult for every other programmer who believed what I believe. I did not want that to be my legacy.</p><p>Another thing that I worried about was embarrassing myself by forgetting some important aspect of optimization. I read and searched the web obsessively during the whole time I was writing, to be sure I didn’t leave out anything important. In the end, I did leave things out, but mostly because I couldn’t produce good example code for them. With more time, the book would have been two or three chapters longer. I still wish it could be.</p><p>The need to accumulate so many words on one subject was a challenge. There are on-line books about optimization that amount to 100–150 pages; too short for a publishable book. I presume writing a book is like running a marathon or climbing a mountain. Each step is easy by itself. Putting enough of them end-to-end is hard.</p><p>I don’t think books are necessarily written by the most knowledgeable practitioners. I can name folks out there who know more about optimization than I do. That’s OK. I never intended to produce the final word on the subject. Books are written by people willing and able to run the writer’s marathon.</p><p>A friend of mine wants to write a technical book. He is standing now at the sign-up table for the book-writing marathon, wondering whether he has it in him. This is my advice to him and to all prospective nonfiction writers: Don’t worry so much whether your writing is good enough. It probably is. Don’t worry about whether you know enough. There are plenty of references: You will learn what you need as you go. Worry instead about the number of hours you will spend in front of a monitor, while your friends and family are having a good time without you. It’s a big commitment of time, so figure out in advance where the time will come from. Passion for the subject is what will take you across the finish line. Passion, and energy drinks, and maybe a better office chair.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aa8d08b070f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>