Live data from Hacker News

Lisp's Influence on Ruby

blog.tacoda.dev

1–10 of 91 posts

Re: Lisp's Influence on Ruby

#4
post #2

That is actually Lisp influence on Smalltalk, and Perl, that eventually influenced Ruby.

No, its actual influence from Lisp-family languages (including Scheme). Yes, Lisp also influenced Perl and Smalltalk, but Matz was not ignorant of Lisp with the only influence om Ruby from Lisp being indirect through those other languages.

Re: Lisp's Influence on Ruby

#5
post #2

That is actually Lisp influence on Smalltalk, and Perl, that eventually influenced Ruby.

Totalle agree, I just googled it: "Yukihiro 'Matz' Matsumoto heavily credits Smalltalk as the deepest structural inspiration behind Ruby’s object model. He combined Smalltalk’s beautiful object-oriented architecture and message-passing system with features from other languages to create a tool designed primarily for developer happiness." Including the closures and collection operations.

Re: Lisp's Influence on Ruby

#6
post #2

That is actually Lisp influence on Smalltalk, and Perl, that eventually influenced Ruby.

From the article

> Matz has said as much. He’s described Ruby’s design as starting from a simple Lisp, stripping out macros and s-expressions, then adding an object system, blocks, and Smalltalk-style methods. The features most Rubyists fall in love with aren’t the object-oriented ones. They’re the functional ones, dressed in friendlier clothes.

Re: Lisp's Influence on Ruby

#7
post #6
post #2

That is actually Lisp influence on Smalltalk, and Perl, that eventually influenced Ruby.

From the article > Matz has said as much. He’s described Ruby’s design as starting from a simple Lisp, stripping out macros and s-expressions, then adding an object system, blocks, and Smalltalk-style methods. The features most Rubyists fall in love with aren’t the object-oriented ones. They’re the functional ones, dressed in friendlier clothes.

But macros and s-expressions are two of my favorites parts of lisp!

Re: Lisp's Influence on Ruby

#9
post #7
post #6

Earlier quoted context omitted.

From the article > Matz has said as much. He’s described Ruby’s design as starting from a simple Lisp, stripping out macros and s-expressions, then adding an object system, blocks, and Smalltalk-style methods. The features most Rubyists fall in love with aren’t the object-oriented ones. They’re the functional ones, dressed in friendlier clothes.

But macros and s-expressions are two of my favorites parts of lisp!

Funny enough Lisp was originally meant to be written in a higher level syntax (with infix operators and everything).

But yeah, macros and S-expressions make it easier to write your own DSLs.

Re: Lisp's Influence on Ruby

#10
I love Ruby, use it for most of my projects that don't require performance.

Nothing I would love more than a Ruby with a Common-Lisp like compiler and runtime. Unboxed types, native compilation, partial compilation, live image (Ruby has this but "faster Rubies" like Crystal don't), etc...

Post reply on HN