18 April 2014

The Ruby Reflector

Topic

CRuby

  Source Favicon
By Loren Segal of gnuu.org almost 2 years ago.
Email

…are now properly defined under an API that is both consistent across all handlers (even CRuby code can use these directives, when they previously could not) and extensible by plugin developers (you can write your own directives quite easily).

The @ method and @ attribute tags were also limited to creating one method per docstring, which means you were very limited in creating objects. The new directive infrastructure allows you to add as many @!method or @!attribute tags to a docstring as …

gnuu.org Read
  Source Favicon
By Loren Segal of gnuu.org 2 years ago.
Email

…latter two weren't really rewrites, to be fair, they were additions of new parsers ( CRuby and the Ripper API), so they were not as major a change. I should point out that we were Ruby 1.9 compatible at this point. This was 2009.

Fixing the developer API (0.3.x) : we added plugins between 0.2 and 0.4 and did a thorough job of making sure as much of the API was documented as we could. I'd say we mostly met this goal. Note that there were not 0.3.x public releases, we basically …

gnuu.org Read
  Source Favicon
Email

…contain any Rubinius specific code, it also works quite well on JRuby or CRuby.

To make sure we are heading in the right direction, I started working on a tool for benchmarking web applications under realistic load. The main issue with just using ab , the standard solution for measuring HTTP performance, is that it results in unrealistic numbers both on JRuby and Rubinius. When using ab, you just send the same request over and over again, causing the JIT and code …

engineyard.com Read
  Source Favicon
By Matt Aimonetti of Merbist over 2 years ago.
Email

…I'll get back to that in a minute. Before I explain "ways to achieve true concurrency with CRuby, let me explain why C Ruby uses a GIL and why each implementation has to make an important choice and in this case both CPython and C Ruby chose to keep their GIL.

Why a GIL in the first place?

It makes developer's lives easier (it's harder to corrupt data)

It avoids race conditions within C extensions

It makes C extensions development easier (no write barriers..) …

merbist.com Read
  Source Favicon
By Ron Evans of Dead Programmer Society over 3 years ago.
Email

…such as digital TVs, and other neat small gadgets. It will have a different implementation that the CRuby implementation, optimized for the smaller lower powered profile of the next generation gadgets. The project is sponsored by the Japanese government and is already being used in development by a major game company that could not be named but is will known. My palms started sweating the minute I heard about it, and I am already getting excited about the prospect of flying_robot 2.0 …

deadprogrammersociety.blogspot.c Read