サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
災害への備え
www.johnhawthorn.com
I saw a project a couple weeks back which allows writing and running Crystal methods inline inside a Ruby file. It’s a neat project, and I don’t want to take away from it but something in the README example looked off to me. require 'crystalruby' require 'benchmark' module Fibonnaci crystalize [n: :int32] => :int32 def fib_cr(n) a = 0 b = 1 n.times { a, b = b, a + b } a end module_function def fib
Just-in-time is an illusion. Albert Einstein This week, Takashi Kokubun (@k0kubun) merged the first implementation of a JIT compiler in MRI ruby. k0kubun @k0kubun I've just committed the initial JIT compiler for Ruby. It's not still so fast yet (especially it's performing badly with Rails for now), but we have much time to improve it until Ruby 2.6 (or 3.0) release. github.com/ruby/ruby/commit/ed9
このページを最初にブックマークしてみませんか?
『www.johnhawthorn.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く