Grokking the C code

S

Stefan Kanev

Hello.

Last few days I've been spending parts of the evenings digging into
Ruby's C code. I'm trying to get a basic idea of how everything works,
both to learn and to introduce some tweaks in the language (just for
my personal enjoyment). I'm finding that as a big bite, though. Can
you guys recommend me how to tackle the whole thing? And is there some
basic overview of how the code works (for example, how eval.c works
and what are the frame, tag, iter and so on structs) from which I get
get the big idea?
 
B

Brad Ediger

Last few days I've been spending parts of the evenings digging into
Ruby's C code. I'm trying to get a basic idea of how everything works,
both to learn and to introduce some tweaks in the language (just for
my personal enjoyment). I'm finding that as a big bite, though. Can
you guys recommend me how to tackle the whole thing? And is there some
basic overview of how the code works (for example, how eval.c works
and what are the frame, tag, iter and so on structs) from which I get
get the big idea?

Definitely start out with the Ruby Hacking Guide:

http://rhg.rubyforge.org/

Only a few chapters have been translated into English so far, but it
should be more than enough to get you started.

-be
 
M

Mohit Sindhwani

Brad said:
Definitely start out with the Ruby Hacking Guide:

http://rhg.rubyforge.org/

Only a few chapters have been translated into English so far, but it
should be more than enough to get you started.

-be

Thanks for the link!! It makes extremely interesting reading :)
...and very distracting too!

Cheers,
Mohit.
11/12/2007 | 3:31 AM.
 
J

Jano Svitok

Hello.

Last few days I've been spending parts of the evenings digging into
Ruby's C code. I'm trying to get a basic idea of how everything works,
both to learn and to introduce some tweaks in the language (just for
my personal enjoyment). I'm finding that as a big bite, though. Can
you guys recommend me how to tackle the whole thing? And is there some
basic overview of how the code works (for example, how eval.c works
and what are the frame, tag, iter and so on structs) from which I get
get the big idea?

http://eigenclass.org/hiki/ruby+internals+guide
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,270
Messages
2,571,352
Members
48,037
Latest member
BettinaArn

Latest Threads

Top