| 1. | | _why: "Goodbye until I can shake this." (uniqpath.com) |
| 130 points by luigi on Aug 20, 2009 | 50 comments |
|
| 2. | | The Impermanence, Karma, and Bad Behavior of Why The Lucky Stiff (zedshaw.com) |
| 126 points by smokinn on Aug 20, 2009 | 84 comments |
|
| 3. | | Haskell is 4.2x as good as Erlang at lightweight concurrency. Give it some love. (debian.org) |
| 125 points by dfranke on Aug 20, 2009 | 35 comments |
|
| 4. | | A new Erlang docs repository (erldocs.com) |
| 123 points by gruseom on Aug 20, 2009 | 10 comments |
|
| 5. | | _why's best twitter posts (favstar.fm) |
| 118 points by RyanMcGreal on Aug 20, 2009 | 41 comments |
|
| |
|
|
| |
|
|
| 8. | | Hacker News full of Erlang articles (erlanginside.com) |
| 107 points by pj on Aug 20, 2009 | 42 comments |
|
| 9. | | Patching Erlang for Snow Leopard (tobyjoe.com) |
| 107 points by ltbarcly3 on Aug 20, 2009 | 3 comments |
|
| 10. | | Erlang articles on HighScalability.com (highscalability.com) |
| 105 points by slig on Aug 20, 2009 | 7 comments |
|
| 11. | | To erlang or not to erlang: That is the php question. (ma.tt) |
| 103 points by peoplerock on Aug 20, 2009 | 5 comments |
|
| 12. | | Google for Erlang (google.com) |
| 92 points by krschultz on Aug 20, 2009 | 16 comments |
|
| 13. | | Erlang Comprehension: Rock, Paper, Scissors (Part 1) (stackingit.com) |
| 81 points by chaosmachine on Aug 20, 2009 |
|
| 14. | | MenuetOS: Written in Assembly, fits on a floppy, has GUI (menuetos.net) |
| 133 points by rw on Aug 20, 2009 | 45 comments |
|
| 15. | | Scalable XMPP bots with Erlang and exmpp, part I (process-one.net) |
| 79 points by chaosmachine on Aug 20, 2009 |
|
| |
|
|
| 17. | | Erlang - Mnesia Reference Manual (erlang.org) |
| 76 points by socratees on Aug 20, 2009 |
|
| |
|
|
| 19. | | Scheme Is Love (msdn.microsoft.com) |
| 72 points by apotheon on Aug 20, 2009 | 21 comments |
|
| 20. | | 40 Years of Unix (bbc.co.uk) |
| 73 points by glaze on Aug 20, 2009 | 34 comments |
|
| |
|
|
| 22. | | Computer art (thenextweb.com) |
| 66 points by thenextweb on Aug 20, 2009 | 23 comments |
|
| 23. | | Video Tutorial To Start Developing Web Applications on Erlang (beebole.com) |
| 52 points by pj on Aug 20, 2009 |
|
| 24. | | Compendium of Beginner Erlang Resources (spawnlink.com) |
| 52 points by pj on Aug 20, 2009 |
|
| 25. | | A First Erlang Program (pragprog.com) |
| 51 points by arthurk on Aug 20, 2009 | 3 comments |
|
| 26. | | Poll: Erlang Innards Better? |
| 48 points by DanielBMarkham on Aug 20, 2009 | 12 comments |
|
| 27. | | Adding Concurrency to Our Erlang Program (pragprog.com) |
| 46 points by arthurk on Aug 20, 2009 |
|
| 28. | | Erlang Scheduler: What does it do? (erlang.org) |
| 42 points by nostrademons on Aug 20, 2009 |
|
| 29. | | Computer Science Unplugged (csunplugged.com) |
| 66 points by mbrubeck on Aug 20, 2009 | 12 comments |
|
| 30. | | The Innards of Erlang... Part Deux (contekst.org) |
| 58 points by jasonlbaptiste on Aug 20, 2009 |
|
|
| More |
We were still 1.5 MB over the memory limit!
At this point one of the most experienced programmers in the team, one who had survived many years of development in the "good old days," decided to take matters into his own hands. He called me into his office, and we set out upon what I imagined would be another exhausting session of freeing up memory.
Instead, he brought up a source file and pointed to this line:
static char buffer[1024 * 1024 * 2];
"See this?" he said. And then deleted it with a single keystroke. Done!
He probably saw the horror in my eyes, so he explained to me that he had put aside those two megabytes of memory early in the development cycle. He knew from experience that it was always impossible to cut content down to memory budgets, and that many projects had come close to failing because of it. So now, as a regular practice, he always put aside a nice block of memory to free up when it's really needed.