From 4b6c0e31385f5f27a151088c0a2b614495c4e589 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 14 Oct 2021 12:47:50 -0400 Subject: initial commit, including theme --- ...-12-charming-ruby-compiler-not-so-charming.html | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 content/posts/2006-01-12-charming-ruby-compiler-not-so-charming.html (limited to 'content/posts/2006-01-12-charming-ruby-compiler-not-so-charming.html') diff --git a/content/posts/2006-01-12-charming-ruby-compiler-not-so-charming.html b/content/posts/2006-01-12-charming-ruby-compiler-not-so-charming.html new file mode 100644 index 0000000..f1f3f7a --- /dev/null +++ b/content/posts/2006-01-12-charming-ruby-compiler-not-so-charming.html @@ -0,0 +1,37 @@ +--- +date: "2006-01-12T21:10:33Z" +title: Charming Ruby Compiler, Not So Charming +--- + +

Earlier this month on the ruby-core mailing list there was a post +about the Charming Ruby Compiler (CRC), which looks promising. +It's a preliminary Ruby to C-- compiler. Unfortunately, it's +also got GNOME-style dependencies (i.e. from hell). You can grab a +pre-compiled binary for CRC, but the C-- compiler itself depends +on both Objective CAML and Lua.

+ +

For some reason, I just don't feel like installing the runtime and +development libraries for three separate programming languages just to +try out a preliminary compiler for one programming language.

+ +

The thread wasn't a total loss, however. I learned about both Neko +and LLVM, and they both look interesting. Neko is a lightweight +VM for dynamic languages +(like Ruby and Python) written in ANSI C. Instead of targeting +assembly, and compiling that to bytecode, Neko provides it's own +low-level programming language with primitives for things like strings, +numbers, and objects. Seems like Neko has a lower barrier to entry +than Parrot, although the lack of an encoding attribute for string +elements kind of bothers me -- maybe that's something higher-level +languages are supposed to take care of?

+ +

On another note, I've generated the +HTML for +this post using BlueCloth, a Markdown processor for Ruby. +If you can get over the funky bracket syntax for links, Markdown +does seem to make writing posts a whole lot easier. All I need now is a +decent post-processor for acronyms and I'd be set. Maybe I'll come up +with something for my new page backend, if it ever gets completed.

+ + -- cgit v1.2.3