lowlevelbits.org

Compiling Ruby. Part 1: Compilers vs. Interpreters (opens in new tab)

With the (hopefully) convincing motivation out of the way, we can get to the technical details. Compiling Interpreter, Interpreting Compiler As mentioned in the motivation, I want to build an ahead-of-time compiler for Ruby. I want it to be compatible with the existing Ruby implementation to fit it naturally into the existing system. So the first question I had to answer is - how do I even do it? Compilers vs. Interpreters The execution model of compiled and interpreted languages is slightly ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help