# Ruby-C Book?

**URL:** <https://www.ruby-forum.com/t/ruby-c-book/89972>\
**Category:** Ruby\
**Created:** [March 24, 2007, 9:43am UTC](https://www.ruby-forum.com/t/ruby-c-book/89972 "2007-03-24T09:43:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [March 24, 2007, 9:43am UTC](https://www.ruby-forum.com/t/ruby-c-book/89972/1 "2007-03-24T09:43:14Z")

</div>

I am still trying to improve my poor C and Ruby-C knowledge,  
today I managed to use rb\_iv\_set and rb\_iv\_get successfully … wow 😉

But what I would really like to have would be a Pickaxe2-like  
book dedicated to the C Side of ruby AT BEST with examples.

Pickaxe2 has a chapter, and while Pickaxe2 is one of my all-time  
favourite books of programming language books (granted, many others  
are so boring so maybe thats quite easy … :D) - the chapter  
about the C side is really very very short.

My current method is to dig through other people’s code,  
trying to understand and so on, but it would be darn awesome  
if such a book would exist. In english … 😛

How high are the chances that such a book would hit the retail  
stores the next uh lets say… 12 months? (Hope dies last!)

---

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [March 24, 2007, 1:47pm UTC](https://www.ruby-forum.com/t/ruby-c-book/89972/2 "2007-03-24T13:47:06Z")

</div>

Hi,

On 3/24/07, Marc H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am still trying to improve my poor C and Ruby-C knowledge,  
> today I managed to use rb\_iv\_set and rb\_iv\_get successfully … wow 😉
> 
> But what I would really like to have would be a Pickaxe2-like  
> book dedicated to the C Side of ruby AT BEST with examples.

I would also like to see this. My C knowledge is minimal at best, and  
my  
knowledge of tying Ruby and C is very limited.

Pickaxe2 has a chapter, and while Pickaxe2 is one of my all-time

> favourite books of programming language books (granted, many others  
> are so boring so maybe thats quite easy … :D) - the chapter  
> about the C side is really very very short.
> 
> My current method is to dig through other people’s code,  
> trying to understand and so on, but it would be darn awesome  
> if such a book would exist. In english … 😛

If you compiled Ruby from source, be sure to check out README.EXT. If  
not,  
it’s posted online: [http://blog.evanweaver.com/files/readme.ext.txt](http://blog.evanweaver.com/files/readme.ext.txt)

Also be sure to check out:  
[http://www.eigenclass.org/hiki/ruby+internals+guide](http://www.eigenclass.org/hiki/ruby+internals+guide)

How high are the chances that such a book would hit the retail

> stores the next uh lets say… 12 months? (Hope dies last!)
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

HTH,  
Michael G.

---

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [March 30, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/ruby-c-book/89972/3 "2007-03-30T14:38:39Z")

</div>

> It’s not a book, but I just gave a presentation on this topic.  
> Perhaps my slides will help. They are at [http://www.ociweb.com/mark/](http://www.ociweb.com/mark/)  
> Ruby\_C\_Extensions.pdf. Comments on the slides are welcomed!

Hi there,

its a GREAT slide, visually very appealing. I think by far the best  
about Ruby + C I saw so far. 🙂

It for sure helps but as you said, its not a book - I guess a real book  
on this subject would be a lot of work and maybe not enough people  
interested (compared to general ruby stuff), plus those that are  
already C gurus would maybe not need it … ☹

Anyway, thanks for this great slide!

PS: How did you make the small boxes+arrows?

---

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [March 24, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/ruby-c-book/89972/4 "2007-03-24T17:44:07Z")

</div>

On Mar 24, 2007, at 3:43 AM, Marc H. wrote:

> My current method is to dig through other people’s code,  
> trying to understand and so on, but it would be darn awesome  
> if such a book would exist. In english … 😛
> 
> How high are the chances that such a book would hit the retail  
> stores the next uh lets say… 12 months? (Hope dies last!)

It’s not a book, but I just gave a presentation on this topic.  
Perhaps my slides will help. They are at [http://www.ociweb.com/mark/](http://www.ociweb.com/mark/)  
Ruby\_C\_Extensions.pdf. Comments on the slides are welcomed!

---

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [March 30, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/ruby-c-book/89972/5 "2007-03-30T15:21:33Z")

</div>

On Mar 30, 2007, at 7:38 AM, Marc H. wrote:

> > It’s not a book, but I just gave a presentation on this topic.  
> > Perhaps my slides will help. They are at [http://www.ociweb.com/mark/](http://www.ociweb.com/mark/)  
> > Ruby\_C\_Extensions.pdf. Comments on the slides are welcomed!
> 
> Hi there,
> 
> its a GREAT slide, visually very appealing. I think by far the best  
> about Ruby + C I saw so far. 🙂

Thanks!

> It for sure helps but as you said, its not a book - I guess a real  
> book  
> on this subject would be a lot of work and maybe not enough people  
> interested (compared to general ruby stuff), plus those that are  
> already C gurus would maybe not need it … ☹

Right. If there was demand for it, I’d consider writing a book.

> Anyway, thanks for this great slide!
> 
> PS: How did you make the small boxes+arrows?

I used PowerPoint.
