サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ノーベル賞
usehelix.com
Getting Started Step 0: Install Rust Step 1: Create a new Rails project Step 2: Generate a Helix crate Step 3: Implement the text_transform library Step 4: Adding a feature Step 5: Putting it all together Step 6: Deploy to Heroku Further reading In this tutorial, we will walk through the steps of building a simple Rails app called Flipper. It is essentially a simplified version of the Textify demo
#[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
このページを最初にブックマークしてみませんか?
『Helix: Native Ruby Extensions Without Fear』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く