サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Switch 2
www.jstorimer.com
[Interview] Daniel Huckstep on Ruby's stdlib and golang Published on July 02, 2013 by Jesse Storimer I recorded a conversation with Daniel Huckstep about two topics that always arouse discussion: Ruby's stdlib and the Go programming language. Daniel is a Ruby developer, Go convert, and the author of Go: The Standard Library (ebook). Here are the highlights with links straight to the transcript: Da
Nobody understands the GIL - Part 2: Implementation Published on June 14, 2013 by Jesse Storimer Last time, I began wanting to take you on a deep dive into MRI to see how the GIL is implemented. But first, I wanted to make sure I was asking the right question. Part 1 formulated the question, but today we'll look for answers inside MRI itself. We'll go looking for that elusive creature they call th
Threading and concurrency are hot topics in the Ruby community. Want to join the conversation? You've probably heard people around you talking mutexes, race conditions, or the GIL. Do you wonder what the heck they're talking about? This book is a gentle introduction to these concepts and will give you the knowledge you need to become your teams resident concurrency expert. "If you've been avoiding
Nobody understands the GIL Published on June 12, 2013 by Jesse Storimer Throughout most of my time in the Ruby community, MRI's infamous GIL has been an elusive creature for me. This is a story about thread safety, and finally catching that elusive creature to get a good look at it. The first time I heard mention of the GIL, it had nothing to do with how it worked, what it did, or why it existed.
You Don't Have to be a C Programmer to Understand Socket Programming A short, concise guide that teaches Rubyists the basics of socket programming, and then some! Do you know how your web server opens a socket, binds to an address, and accepts a connection? I did a lot of web programming before I had enough knowledge to dig in and figure this stuff out. I knew that other developers had a better gr
I wrote three short, focused technical books about system programming specifically for Ruby and Rails developers. Working With Unix Processes is a short, simple introduction to programming with Unix processes in Ruby. I walk you through file descriptors, forking, daemon processes, signal handling, and dissect some popular Ruby projects. More info Working With TCP Sockets introduces you to the worl
[Interview] Brian Shirai on Rubinius 2.0, the GIL, and thread-safe Ruby code Published on March 26, 2013 by Jesse Storimer Brian Shirai and I recorded a conversation about multi-threaded programming in Ruby and his work on Rubinius. Listen (or read the transcript) to hear about: what's the global lock and its effect on concurrency? why the GIL is not a substitute for thread-safety why multi-thread
Hi there! You're reading an archived email message. It's part of my series that will help you become a better programmer through a deeper understanding of your stack and your tools. Subscribe to get the whole series delivered to your inbox in easily digestable chunks -- 1 email every week. Ruby core classes aren't thread-safe A few days I shared a quote on Twitter: > Ruby Arrays aren't thread-safe
Matz is not a threading guy Published on November 08, 2012 by Jesse Storimer I attended my very first Rubyconf last week. There were certainly some common themes that I kept hearing over and over again throughout the course of the conference. Among other things, there was JRuby, threading, the GVL, and MRI 2.0. We got to see a few talks about the new features in MRI 2.0. One of the oft-discussed f
Daemon Processes in Ruby Published on April 19, 2012 by Jesse Storimer This is a sample chapter from my book Working With Unix Processes. Learning how stuff works under the hood is one of the most important things you can do as a developer. If this article pushes you in that direction then I encourage you to learn more about the book. Daemon processes are processes that run in the background, rath
Passing Open Files Between Processes with UNIX Sockets Published on May 07, 2012 by Jesse Storimer I want to share with you today a neat little technique I learned involving UNIX sockets. In the land of Unix everything is a file. This is faithfully mirrored in Ruby with the IO class. The IO class models any so-called files on a Unix system. This includes stuff like File, TCPSocket, UDPSocket, all
When to use STDERR instead of STDOUT Published on December 29, 2011 by Jesse Storimer stdout and stderr both quack the same, but are used for very different purposes. Every process is initialized with three open file descriptors, stdin, stdout, and stderr. stdin is an abstraction for accepting input (from the keyboard or from pipes) and stdout is an abstraction for giving output (to a file, to a p
A Unix Shell in Ruby Published on February 16, 2012 by Jesse Storimer This is the first article in a series where I'll implement a Unix shell in pure Ruby code. Why a shell? A shell is the quintessential example of a Unix program. It hits all of the interesting points that a Unix system is capable of. It has to read input from STDIN, spawn processes requested from users, send signals to processes
You're a web developer. A good one. You write Rails apps in your sleep. But you skipped over some fundamentals. You feel like your foundation is lacking. This book will fill that gap. "I just finished reading the book and loved it! That made me realize how simple and powerful unix programming is and how very little I really knew about it. It will definitely help me design the next version of Thin.
Writing Ruby Scripts That Respect Pipelines Published on December 12, 2011 by Jesse Storimer Pipes are the most powerful concept on the command line. With pipes you can string together small, simple commands into bigger, more useful pipelines. This is the secret sauce that goes along with the Unix philosophy of "Do one thing, and do it well". Take this as an example: # Look for any lines mentionin
このページを最初にブックマークしてみませんか?
『Jesse Storimer』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く