A version of Yes, an app that says "y" at maximum speed, is built-in to unix-based operating systems. You can test it by firing up a terminal, typing "yes", and then watching it fill your window; you'd usually pipe it to another app or script. But there's a problem: it can only generate 51 megabits per second worth of yes, and something must be done about it.
The trivial program yes turns out not to be so trivial after all. It uses output buffering and memory alignment to improve performance. Re-implementing Unix tools is fun and makes me appreciate the nifty tricks, which make our computers fast.
As benchmarked by the author's computer, 3GB/s of yes is now possible!
One of the nice things about owning a MacBook is that, more often than not, you don’t have to give too much thought about what’s going on behind the scenes. Mac OS is stable as all get out. Most users will never need to fart around with terminal commands or futz with file structures. As […]
Every year, I wait for Apple to announce mouse support for the iPad. Every year, I am left unfulfilled. Apple’s nailed the apps that I need to do my job on the go, but the lack of a mouse for interacting with text slows my workflow way the hell down. Tapping on my tablet’s display […]
All of 2018’s latest computer graphics techniques and toys in one eight-minute video. I hope you like ray tracing! More.
Sipping on whiskey is already a sophisticated experience, but that doesn’t mean you can’t kick it up a notch. A perfect addition to your desk or home bar, the Eravino Whiskey Globe Decanter features a beautifully etched map on the surface and an eye-catching glass ship inside, bringing an entirely new level of class to […]
Gone are the days when you needed to pore over a 400-page physics textbook to learn about weight ratios, aerodynamics, and all of those other STEM concepts that let us take to the skies. Thanks to Force Flyers’ DIY Building Block Drones, you can foster your STEM knowledge as you build and fly your own functional […]
As more companies leverage cloud technology to unite and streamline their operations, the need for capable IT pros increases. But, as any IT guru will tell you, demand alone won’t get your foot in the door to this lucrative field. If you want to cash in on the demand and build a thriving IT career, […]