You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Recently I came across a delightful article on idiomatic Ruby. Iâm not a good Ruby developer by any means, but I realized, that a lot of the patterns are also quite common in Rust. What follows is a side-by-side comparison of idiomatic code in both languages. The Ruby code samples are from the original article. Map and Higher-Order Functions The first example is a pretty basic iteration over eleme
Improving Ruby Performance with RustWritten by: Daniel P. Clark A couple of years ago, I found a few methods in my Rails application that were called several thousand times and accounted for more than 30 percent of my website's page load time. Each of these methods were strictly focused on file pathnames. Along with that, I came across a blog post that said âRust to the Rescue of Ruby,â which show
âSo... you've been learning Elixir. Or maybe Rust. You might have even fallen for the charms of Go. All great languages in their own right that will greatly enrich your programming arsenal. In this blog post, however, I'd like to talk about a path less travelled. What if I told you that you could use a language as performant as Elixir but without having to learn a new programming paradigm? Or as p
Graphing Benchmark Results in RubyWritten by: Daniel P. Clark Nothing presents performance statistics quite as well as having graphs for benchmarks. Whether you want to present an alternative way for code guidelines based on performance or show a presentation, seeing the difference makes a difference. What we'll cover here will show you how to generate graph data images from your own Ruby codebase
For the last couple of years I've been hearing how Rust can be useful to write faster Ruby gems. Last year, when Godfrey Chan gave his presentation about rewriting String#blank? with Rust, I was enthusiastic ð» to try it out, but I failed miserably. It was too early to experiment with it. This year, Godfrey and Yehuda Katz talked again about this topic, announcing the version 0.5.0 of Helix: a bri
#[macro_use] extern crate helix; ruby! { class Console { def log(string: &str) { println!("LOG: {:?}", string); } } } $ irb >> require "console" >> Console.log("I'm in your Rust") LOG: "I'm in your Rust" BLAZING FAST Helix lets you offload performance-critical code to Rust without leaving your Ruby workflow. class CountWordsController < ApplicationController def index # WordCount is written in Rus
Introducing Helix Rust + Ruby, Without The Glue. This post is a write-up of the talk I gave at RailsConf 2016. You can find the slides here. There's a lot to love about Ruby â the sweet syntax, the focus on developer productivity and happiness, the mature ecosystem, and of course, the awesome community we built around the language. One thing that Ruby is not known for though, is being a particular
èæ¯ Railsã§CSVãè¿ãæã10ä¸ãã¼ã¿ãããã®ãã®ãæ®éã«å¦çããã¨ã¡ã¢ãªãé£ãæ½°ããããå¦çãé ãã£ããããã ããã§è§£æ±ºçãæ¢ãã¦ããããRustã§Railsã®ä»£ããã«CSVãä½ãã¨ããç´ æ´ãããè¨äºã«åºä¼ã£ãã ãã®è¨äºã¯PostgresãNginxã使ã£ã¦ãããç§ã¯MySQLã使ã£ã¦ãããRailsã®ã¢ããªã±ã¼ã·ã§ã³å ã§å®çµãããã£ãã®ã§ãåèã«ããªãã試é¨çã«ä½ã£ã¦è¦ãã ãæã Railsããã§ã«ç解ãã¦ãããã¨ãåæã«é²ãã¾ãã åå¿è ã®æ¹ã¸ç°å¢æ§ç¯å¨ããæå¾ã®æ¹ã«ãã¾ãã¨ãã¦æ¸ãã¦ããã¾ãã®ã§åèã«ãã¦ãã ããã çè ã¯Ruståå¿è ã§ãã®ã§ã¢ããã¤ã¹ãé ããã¨ã¨ã¦ãå©ããã¾ãã ç°å¢ Ruby 2.3.3 Rust 1.14.0 Rails 5.0.1 Gemfileã¯åºæ¬ããã©ã«ã source 'https://rubygems.org' git_source
Google Tech Talk June 6, 2015 (click "show more" for more information) Presented by Alex Crichton ABSTRACT Rust is an exciting new programming language that combines fine-grained control over memory layout and allocation patterns with memory and thread safety. It reached 1.0 in May and is rapidly gaining acceptance in projects including Servo (Mozilla's next generation parallel layout engine), a
ãã®è¨äºã¯ mruby advent calendar ã® 9 æ¥ç®ã®è¨äºã§ãã 諸äºæ ã«ããå¤§å¹ ã«å ¬éãé ãã¦å¤§å¤ç³ã訳ããã¾ããã mruby ã¯è»½éãã¤æè»ãªè¨èªã§ããããã Web ãµã¼ãã Linux ã³ã³ããã®è¨å®ç¨è¨èªã¨ãã¦ç¨ãããããã ãããã¯ããµã¼ãã®æ§æãè¨è¿°ãã DSL ã¨ãã¦ç¨ããããçã®ã ããããã·ã¹ãã ããã°ã©ãã³ã°ã®é åã§ä½¿ç¨ãããä¾ãããè¦ããã¾ãã ããããå¾æ¥ãã·ã¹ãã ããã°ã©ãã³ã°ãè¡ãããã«ã¯ã C è¨èªãªã©ã®é£è§£ãªè¨èªãè¨è¿°ããå¿ è¦ãããã ãã㯠mruby ã§ã·ã¹ãã ããã°ã©ãã³ã°ãããéãä¾å¤ã§ã¯ããã¾ããã§ããã ä¸æ¹ã§ãè¿å¹´ã§ã¯ã·ã¹ãã ããã°ã©ãã³ã°ãè¡ãããã®è¨èªã¨ãã¦ã Go ã Rust ã¨ãã£ããå®ç¨çãªããã¯ãè¨èªå¦çç³»ã®ç 究ææãéç©ãããããªè¨èªãå°é ãã¦ãã¦ãã¾ãã ããã§ãæ¬ç¨¿ã§ã¯ãã¾ã ã¾ã çºå±éä¸ã§ããã¾ãããRu
Ruby on Rails Advent Calendar 13æ¥ç®ã§ã 注æ FFIãåãã¦ä½¿ã£ã¦ã¿ããã¿ã¬ãã«ãªã®ã§æ¬çªã§ãã£ã¦ã¯ããã¾ããã threadã®å¦çãããªãã¾ããæ°ããã¾ã helixãruruã¯ä½¿ã£ã¦ãã¾ããã使ã£ã¦ã¿ããã§ãã .trbå½¢å¼ã§ã®inline rustã使ã£ã¦ãªãã§ãã ã¢ããã¼ã·ã§ã³ ä»å¹´ã®9æããæ°ããä¼ç¤¾ã«è»¢è·ãã railsã使ãå§ãã¾ããã ãã®åã¯javaæ¸ãã¦ããã®ã§ãå¬ããåé¢ã並åå¦çã¾ããã§å°ãä¸æºãããã¾ãã rubyãæ¸ãåºãã¦Giant VM Lockã¨ããè¨èãåãã¦ç¥ã£ãã®ã§ãããrubyã®threadã£ã¦å®éã¯IOç³»ã®å¦çãã並åã§åãããªãã®ã§ããªãã¨ã... ãã¨ãã°controllerã§ãªã«ãå¦çããããã¨ãhttpã¬ã¹ãã³ã¹ãå ã«è¿ãã¦ãããã¯ã°ã©ã¦ã³ãå¦çã§ã¡ã¼ã«ãslackã«å¦çãé£ã°ãå¦çã¯ç°¡åã«ã¯æ¸ãã¾ãã
Ruby is not the fastest language in the world, there is no doubt about it. This doesn't turn out to matter all that much â Ruby and its ecosystem has so much more to offer, making it a worthwhile tradeoff a lot of the times. However, you might occasionally encounter workloads that are simply not suitable for Ruby. In this talk, we will explore building a native extension with Rust to speed up part
10:10 Invited Speaker Streem çºè¡¨æ¦è¦ã¯ãäºåã¤ã³ã¿ãã¥ã¼ãã覧ä¸ããã å¿ è¦ã¨ãªãç¥è ã¾ã¤ãã¨ããã²ã æ¥çµLinuxã©ã¤ã¿ã¼ 5/16 Skypeã«ã¦ä¼ºãã¾ããï¼è©±ãæï¼ã¾ã¤ãã¨ãããèãæï¼ç¬¹ç°ï¼ã ç¬¹ç° ä»åãã¿ã¤ãã«ãStreemãã ãé ãã¦ãã¦ãæ¦è¦ãé ãã¦ããªãã®ã§ãããã©ããªè©±ã«ãªãã§ããããã ã¾ã¤ã㨠Streem ã¨ããè¨èªãä½ã£ã¦ããã®ã§ããã®ç´¹ä»ããããã¨æãã¾ããè¨èªä»æ§ã®è©±ã¨ããããã©ãå®è£ ããããã¨ãã話ã«ãªããã¨æãã¾ããããè¨èªã®æ¹ãå¤ãããã Streem ã®è¨èªä»æ§ ç¬¹ç° è¨èªä»æ§ã£ã¦åºã¾ãã¾ãããï¼ ã¾ã¤ã㨠è¨èªã¬ãã«ã§ã¯ãå¤ååºã¾ã£ã¦ããã¨æããã ãã©ãã©ã¤ãã©ãªã足ãã¦ããªããè¨èªã®ä½¿ããæ¹ã£ã¦ã©ã¤ãã©ãªã§æ±ºã¾ã£ããããã®ã§ãããããæå³ã§ã¯ã¾ã ã¾ã ã ã¨æãã¾ãã ç¬¹ç° ãªãã¨ãªãããã¤ãã§ã¤ãªãã¦ãããã¨ããã
ã¯ããã« ãããã¯ãæ¥é 㯠Ruby ã§ãä»äºããã¦ãã¦ããã 1 å¹´ããã Rust ãåå¼·ãã ããæè¿ã§ã¯ Rust of Us ã¨ããæå¿ã®åå¼·ä¼ããã£ã¦ãã¾ãã ãã® AdventCalender ã«ç»é²ããæç¹ã§ã¯ãRust ã§ããããä½ãã ããã©ã¤ãã©ãªã«ã¤ãã¦æ¸ãã¤ããã§ãããããããå æ¥ã® RubyKaigi ã§çºè¡¨ã®ãã£ã turboruby ããããªãé¢ç½ãã£ãã®ã§ãã®ç´¹ä»ãããã¦ããã ãã¾ãã turboruby ã¨ã¯ turboruby ã¨ã¯ãTILDE ã¨ããä¼ç¤¾ã«ãã£ã¦ä½ããããã®ã§ãã TILDE ã¯ãRust Core team ã® wycats çããã¾ãã wycats ã¯åæ㧠Rust ã®çºè¡¨ãè¡ãªã£ã¦ãããæ¬ã®è²¸ãåã㧠Rust ã® Ownership ã説æããã¹ã©ã¤ã ãè¦ããã¨ããã人ãããã§ãããã å½¼ã®åã TILDE ã§ã¯ãRuby
â ï¸ Deprecated â ï¸ Sadly, we have made the decision to deprecate this project. While we had hoped to bootstrap the project to a point where it could flourish as a community project, unfortunately we ran into a number of roadblocks along the way, along with the need for significant architectural overhaul. While these issues are solvable on a technical level, doing so correctly requires more resources
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}