Hello!
New week and new interview with the speaker of the conference
RailsClub 2015 , which will be held on September 26 in Moscow. Today, questions are answered by
Kir Shatrov - the lead developer at Evil Martians, a contributor to Rails and a lead
RubyNoname Podcast .
In your opinion, in what direction will Ruby and Ruby on Rails develop in the coming years?')
At Rubyconf 2014, Matz said that one of the focuses of Ruby 3 will be competitive support. The makings of this already appear in the form of gems - for example,
concurrent-ruby , which is already used in the insides of Rail. I think that now it will become one of the tasks in the development of the language; Without good competition support, Ruby may have no future.
As for Rails, I am glad that over the past year, alternatives to the rail stack have appeared: for example, Lotus and ROM. Adaptation of alternative frameworks at the community level will help open the eyes of the developers and tell them that in addition to the rails there is something else: other approaches and other paradigms.
What is missing in Rails?Inside Rails, that's enough. In the fall there will still include ActionCable. What is missing is greater modularity. It is possible, but nobody uses it - how many friends do you have who use Sequel or ROM instead of ActiveRecord?
I think that the popularity of competitors could give rails an incentive to rewrite monolithic components, such as ActiveRecord.
Favorite programming language after Ruby, why him?Previously, I really liked Go, but after I saw Clojure, my opinion about Go changed :) Clojure bribed me with a beautiful syntax, REPL presence and a functional approach. After the experience with Clojure, it even became a little painful to look at the code on Go. For me, the main minus of Clojure is that this language is less popular in production than Go, so I don’t have any idea how to use it in a combat project.
What technology do you think will be the most promising in the near future?I feel that 70 percent of developers from the Rails Core Team - and other authoritative developers - are wildly fan of Rust. I think that he will reach a certain audience as soon as he becomes stable. Although some lack of stability does not stop - for example, Yehuda Katz already uses it in its
Skylight service.
What is open source for you? What projects are you participating in and why?Open Source and Gitkhab provide an opportunity to work together with very talented people who have something to learn.
1% of developers create frameworks, and 99% consume them. Besides, it's nice when you know that your code runs on a thousand machines.
Favorite resources (blogs / sites / twitter) on web development and programming?I am closely following the work of
Richard Schneeman , the author of derailed, a set of benchmarking tools for rail applications. He also recently
optimized the response time in Rails by almost 10% .
I can recommend
This Week in Rails newsletter - it contains all the interesting bugs and pull requests in Rails for the week.
Best read book on programming / technology?Definitely
Ruby Under a Microscope , which gives an excellent understanding of the data structures in the language, and how they are implemented in MRI, JRuby and Rubinius.
What advice would you give to developers who want to achieve great success?Ruby and rails have many magical things that work out of the box, immediately after adding a heme to a project. Many developers are so happy about this that they don’t even think about how it actually works.
It seems to me that if we read the source codes of gems rather than google or read the documentation, we would be much more knowledgeable about the subject area.
Therefore, the advice is that every time you have a question, feel free to dial the bundle open gem and read the source code. And do not be afraid to read the source of the rail :)
Not tired of programming?I'm tired. The last six months I try to move away from programming as much as possible in my spare time. I'm going to go to carpentry courses and start making furniture. In my free time I like to cook, and in July my colleague and I traveled a thousand kilometers on bicycles through Germany and Denmark.
What would you do if you had 2 months of free paid time?I have been going to port the ActiveRecord Attributes API for a long time already inside ActiveModel, so that the typecasting and multiple attributes can finally be added to ActiveModel. Now for this you need to use a third-party gem - for example,
virtus . This would allow even better to pump Form Objects in the default composition of Rails.
I would also try to write my own, modern solution for storing files in Ruby applications. It seems to me that now the community lacks such a solution, because Carrierwave is outdated (it was written for Merb in 2008), and the new
Refile has an excellent architecture, but its file processing is far from ideal.
I already made the first attempt (see
Storage ), but came across architecture problems, decided to rewrite everything, but did not find time for it.
Thank you for the interview and see you at the conference!On September 26th, Cyrus will arrive from Helsinki on RailsCllub. Full program and registration
on our website .
At the conference we are waiting for the Russian version of the report of Cyrus from RailsConf 2015 in Atlanta.
Using the beta versions of Rails 4.2, we’ve seen how often performance regressions can occur in the Rails framework, and how easily they can go unnoticed.
The problem of performance and its regressions is becoming more acute in the Ruby community. It pushed me and other Rails contributors to develop Rubybench, a service for searching regression for performance in Ruby and Rails.
In his report, he will review performance regressions with examples of commits from Rails, talk about building benchmarks for Ruby applications, and demonstrate Rubybench and its architecture.
Our sponsors
General partner:
ToptalGold Partner:
Cloud CastleSilver Partners:
AT-Consulting and
Honeybadger
Honeybadger is a service that monitors the exception, uptime and performance of your applications. When a problem occurs, Honeybadger sends a notification by email, chat, or even a message to the mobile. You can quickly fix bugs and build cool applications without being distracted.
Bronze Partners:
Rambler & Co and
Look at MediaStay up to date with our news by subscribing to the newsletter on the website railsclub.ru, and stay tuned for updates:
RailsClub.rutwitter.com/railsclub_rufacebook.com/railsclub