📜 ⬆️ ⬇️

RailsClub'Moscow 2014. Interview with Aaron Patterson

RailsClub 2014 starts in 19 days! We have reached the finish line of preparation and are starting to publish traditional interviews with our speakers.

The first conversation is with the most welcome guest, Aaron Patterson . Aaron is a member of Ruby and Rails CoreTeam, the top 1 contributor to Rails for today and RubyHero 2010.

Interviews are published with original answers in English and our free translation.
')


What are you working on right now?


Right now I am working on several things:
* Accelerating the generation of views (including routing) in Rails
* Accelerating tests in ActiveRecord, experimenting with parallel execution
* Working on Rack 2.0

Right now I'm working on a few things:
* Speeding up view view generation (including routing) in Rails
* Speeding up tests in ActiveRecord by investigating parallel execution
* Working on Rack 2.0

What is the best and worst part of your job?

The best part is helping other developers and, of course, removing the code. I think my favorite activity is to delete the code! The worst is trying to figure out why some code is as it is. It is sometimes hard to work on Rails, because in some places the code is outdated, so it’s difficult to track down where a piece came from or why a particular piece of code is exactly like that.

Deleting code. I think my favorite thing to do is delete code! It is the way that it is. It is difficult to track it.

What do you consider your main achievement in life / career at the moment?

I think so far my main achievement is the performance improvements that I achieved in ActiveRecord (this project is called AdequateRecord). I have been learning to refactor code for years, so that later I could make such performance improvements. Pleasant feeling when you work on something for so long and, finally, see the result. I'm also happy that I managed to improve performance without having to change the public API.

I did it on the ActiveRecord (called AdequateRecord). I could make this type of performance improvement. It is actually ship. User interface APIs makes me very happy.

In your opinion, in what direction will Ruby and Ruby on Rails develop in the coming years?

I hope that in Rails we can improve the performance of HTTP in Ruby web servers. I want streaming to be better supported, and then we would use it as a launching pad for HTTP 2 support. Regarding Ruby, I’m encouraged by the improvements in the garbage collector. I think in the long run, the future of Ruby is associated with the addition of designs for working with concurrency, possibly with the built-in actor pattern.

For Rails, I hope that we can improve the HTTP story in Ruby webservers. If you want a launching pad for HTTP 2 support. As far as Ruby is concerned, I am excited about Ruby's garbage collector. I think it’s possible that the constructor can be,


What, in your opinion, is the most important problem that the Ruby and Ruby on Rails developers community is facing now?

In the future, for the Rails community, I think it will be very important to support HTTP 2, and it will not be easy. We have a large number of programs that are dependent on HTTP 1.1, and I think it will be a daunting task to upgrade.

It’s quite a challenge. HTTP 1.1, This is a lot of software that depends on HTTP 1.1.

Is there a heme you could point your finger at and say: “That's the way to write code”?

I think minitest is a good example. It is small and easy to understand. But I must say, not a single gem is perfect. Everywhere there are problems, you can simply not see them yet!

I think minitest is a good example. It's small and easy to understand. But I have to say that no gem is perfect. It doesn’t have any problems!


What rules would you suggest to establish for the successful development of a Ruby project with 250+ thousand lines of code by many developers with very different skill levels?

I think the best rule I can offer is good communication within the team. In addition, adhere to the principles of SOLID . I think these are good rules for newbies, and when you gain experience, you will begin to understand when you can break them.

I guess it’s a good rule. Other than that, stick to the SOLID design principles. It is a good idea to understand those rules.

Is there any chance that in the foreseeable future MRI will get rid of GIL?

Perhaps not in the near future. But I really think it will happen.

Probably not in the near future.

Do you read any blog dedicated to Ruby / RoR?

I usually read ruby ​​subreddit. I also enjoy listening to the Giant Robots podcast, although they don’t often talk about giant robots.

I usually read the ruby ​​subreddit. Also I like listening to the Giant Robots podcast, but very often.

What do you like to do when you don't write code?

Mostly cooking and video games. Although more cooking. Right now I'm salting bacon with my own hands!

Most cooking and playing video games. Mostly cooking though. I am curing my own bacon right now!

Thanks for the interview and see you in Moscow!

All the questions that we did not ask, you can ask Aaron and our other participants personally - September 27, at the Digital October center. The entire program is on the RailsClub 2014 conference site .

Registration and payment of participation - here.

Our sponsors:

General Sponsor - TopTal
Gold Sponsors: Boookmate and FunBox
Silver Sponsors: AT-Consulting and Lookatme
HR partner: DigitalHR
Organizers: Evrone and Undev

Stay up to date with our news by subscribing to the newsletter on the website railsclub.ru, and stay tuned for updates:
RailsClub.ru
twitter.com/railsclub_ru
facebook.com/railsclub

Source: https://habr.com/ru/post/236041/


All Articles