hyperbo.la :: lifestream
permalink

It's been a while since I've posted about #artichoke, but I recently landed a #rust implementation of #ruby's `String` class. #win https://github.com/artichoke/artichoke/pull/1222

permalink

Some folks have been contributing #Ruby and #Rust code to #artichoke! #win #github

permalink

I forked onig and hope to add support for the wasm-unknown-unknown build target. For #artichoke though, it's too soon. Once mruby-sys is pulled into #Rust I'll try again #ruby #mruby #fail #patch #Wasm

permalink

The biggest accomplishment was redoing the #artichoke README https://github.com/artichoke/artichoke#readme Thought about project goals and differentiators from MRI. Added milestones to track progress in achieving goals #win #ruby #artichoke

permalink

With renewed focus of building my own #Ruby instead of extending #mruby, I put in some effort to make mruby an implementation detail of #artichoke. Lots of refactoring with sed. #fail

permalink

Step 3: create the #artichoke repository where the core #ruby development will take place. #artichoke

permalink

ferrocarril is all grown up. I've moved development of my #ruby to a dedicated #GitHub organization. The project is called Artichoke https://github.com/artichoke/artichoke

permalink

Matz likes my code omg omg omg #win #ruby #mruby #patch https://github.com/mruby/mruby/pull/4560#issuecomment-509572113

permalink

I had a PR accepted in mruby! #patch #ruby #mruby #win https://github.com/mruby/mruby/pull/4560

permalink

Optimized String#scan in ferrocarril to be comparable to CRuby performance #rust #ruby #mruby #performance https://github.com/artichoke/ferrocarril/pull/138

permalink

Adding paragraph mode to String#each_line in mruby core #ruby #patch https://github.com/mruby/mruby/pull/4527

permalink

I've proposed a couple of PRs to speed up UTF-8 String handling in mruby https://github.com/mruby/mruby/pull/4529 https://github.com/mruby/mruby/pull/4531 #patch #ruby #github

permalink

ruby/spec is a set of specifications for the Ruby language shared across implementations. I had a fix accepted to the StringScanner spec! #patch #ruby https://github.com/ruby/spec/pull/671

permalink

I have Regexp#match? https://github.com/artichoke/ferrocarril/pull/93 #win #rust #ruby

Photo for post 688.
permalink

Excluding generated and vendored sources, ferrocarril is 8700 lines of #rust, #c, and #ruby. This is a lot of code. In very uncharacteristic fashion for a side project, a big chunk is tests #win https://github.com/artichoke/ferrocarril/commit/fe2febc

permalink

ferrocarril is a new project I've been working on to embed #ruby on Rails in #rust https://github.com/artichoke/ferrocarril

permalink

I've been working on creating an idiomatic, modern set of #rust bindings for mruby, an embedded #ruby interpreter. I am learning a ton and doing lots of code things I've never done before! #win

permalink

I was first introduced to closures in summer '08 via #ruby blocks. This was probably the most magical moment I've ever experienced programming. That code was just another object you could pass around was amazing. Lisp would've been mind blowing. #history

permalink

hahahahaha #fail Daemons in macruby #ruby

permalink

#ruby Fixnum is a weird beast. A class that doesn't have new.

permalink

OMG #ruby is using 19.22GB of memory executing a one liner #fail

permalink

I've been missing #ruby lately. I should make something.

permalink

#ruby has object tainting and security levels. So cool! https://ruby-doc.org/core-2.1.1/Object.html#method-i-taint

permalink

Gollum finally updates! Woo! #ruby #rubygems

permalink

I feel like serializing procs to strings, passing them over HTTP and evaling them is an abuse of #ruby, but it is awesome that I can #win

permalink

I remember when I first upgraded from notepad to scite when I first installed #ruby. You had to modify this conf file to get monospace all the time ... #vim is so much better #nostalgia

permalink

a productive day: did something I've been meaning to do for a while: a playlist queue for iTunes #ruby

permalink

the goes to operator (x --> 0) makes #C feel more like #ruby! #fail

permalink

its amazing how much quicker a script runs when you don't create 60,000 Hashes and compile a regex 30k times #ruby

permalink

I'm going to miss #ruby's hash rocket http://blog.peepcode.com/tutorials/2011/rip-ruby-hash-rocket-syntax

permalink

https://developer.ibm.com/articles/wa-ruby/ #ruby on #android. This is pretty awesome, as is the name.

permalink

this is way cooler than rvm: https://github.com/sstephenson/rbenv #ruby

permalink

checked my Activity Monitor, had 2 #ruby processes each at 90% cpu which had been running for hours. trapping signals #fail