はてブログ

はてなブックマーク新着エントリーの過去ログサイトです。



タグ in Ruby

新着順 人気順 5 users 10 users 50 users 100 users 500 users 1000 users
 
(1 - 14 / 14件)
 

Mastering CSV in Ruby

2022/08/23 このエントリーをはてなブックマークに追加 5 users Instapaper Pocket Tweet Facebook Share Evernote Clip

This book is an up-to-date, well-organized knowledge base for anyone dealing with CSV files as a Ruby developer. From simple actions like reading and creating CSV files to processing CSV with Rails, parsing large files, and using advanced preprocessors, this book will be your companion. This is a... 続きを読む

Ruby 3 JIT can make Rails faster. I’ve wondered Why Rails becomes slow… | by k0kubun | May, 2021 | Medium

2021/05/21 このエントリーをはてなブックマークに追加 11 users Instapaper Pocket Tweet Facebook Share Evernote Clip Today Fast medium May I wrote

I’ve wondered Why Rails becomes slow with JIT for a long time. Today, I’m pleased to share my answer to the question in this article, which I spent three years of my life to figure out. RubyKaig 2018 / The Method JIT Compiler for Ruby 2.6"MJIT Does Not Improve Rails Performance"As I wrote in Ruby... 続きを読む

Everything You Need to Know About Destructuring in Ruby 3 | RUBY3.dev

2021/01/08 このエントリーをはてなブックマークに追加 7 users Instapaper Pocket Tweet Facebook Share Evernote Clip

Welcome to our first article in a series all about the exciting new features in Ruby 3! Today we’re going to look how improved pattern matching and rightward assignment make it possible to “destructure” hashes and arrays in Ruby 3—much like how you’d accomplish it in, say, JavaScript—and some of ... 続きを読む

Direct instruction marking in Ruby 2.6 - The GitHub Blog

2019/06/04 このエントリーをはてなブックマークに追加 32 users Instapaper Pocket Tweet Facebook Share Evernote Clip The GitHub Blog

We recently upgraded GitHub to use the latest version of Ruby 2.6. Ruby 2.6 contains an optimization for reducing memory usage. We’ve found it to reduce the “post-boot live heap” by about 3 percent. The “post-boot live heap” are the objects still referenced and not garbage collected after booting... 続きを読む

Hijacking Ruby Syntax in Ruby

2018/05/31 このエントリーをはてなブックマークに追加 26 users Instapaper Pocket Tweet Facebook Share Evernote Clip SENDAI RubyKaigi FRI joker1007

Hijacking Ruby Syntax in Ruby 1. HIJACKING RUBY SYNTAX IN RUBY RubyKaigi 2018 Sendai #rubykaigi 2018/05/31 (Fri) @joker1007 & @tagomoris 2. Self-Intro Joker ▸ id: joker1007 ▸ Repro inc. CTO ▸ I’m fami... 続きを読む

ES6 style hash literals in Ruby

2018/03/08 このエントリーをはてなブックマークに追加 20 users Instapaper Pocket Tweet Facebook Share Evernote Clip

(Or how to create a naughty fork of Ruby on your own machine) I've been writing a lot of JavaScript code lately, and one pattern I see used a lot is something that I think is called an Object Literal ... 続きを読む

C Compiler written in Ruby // Speaker Deck

2018/01/26 このエントリーをはてなブックマークに追加 34 users Instapaper Pocket Tweet Facebook Share Evernote Clip Speaker Deck

All slide content and descriptions are owned by their creators. 続きを読む

リファクタリングコンテスト in Ruby 審査結果発表 - Grooves開発ブログ

2016/02/03 このエントリーをはてなブックマークに追加 90 users Instapaper Pocket Tweet Facebook Share Evernote Clip Forkwell Jobs Grooves開発ブログ 期間

2016 - 02 - 03 リファクタリングコンテスト in Ruby 審査結果発表 Ruby on Rails Refactor Me 大変長らくお待たせしました。Forkwell Jobs にて、2015年11月24日〜12月31日の期間で開催していた【 リファクタリングコンテスト in Ruby 】の審査結果がようやく出揃いました。 今回、なんと最もよいコードに贈られる Ruby賞 を1人... 続きを読む

Feature #11473: Immutable String literal in Ruby 3 - Ruby trunk - Ruby Issue Tracking System

2015/10/04 このエントリーをはてなブックマークに追加 9 users Instapaper Pocket Tweet Facebook Share Evernote Clip feature LITERA Change

vm_opts.h, iseq.c, iseq.h: add compile option to force frozen string literals. [Feature #11473] This addition is not specification change, but to try frozen string literal world discussed on [Feature ... 続きを読む

Debugging memory leaks in Ruby

2015/04/01 このエントリーをはてなブックマークに追加 54 users Instapaper Pocket Tweet Facebook Share Evernote Clip

At some point in the life of every Rails developer you are bound to hit a memory leak. It may be tiny amount of constant memory growth, or a spurt of growth that hits you on the job queue when certain... 続きを読む

Unit testing in Ruby

2014/11/05 このエントリーをはてなブックマークに追加 24 users Instapaper Pocket Tweet Facebook Share Evernote Clip

続きを読む

タイピングの心理学

2014/02/28 このエントリーをはてなブックマークに追加 47 users Instapaper Pocket Tweet Facebook Share Evernote Clip タイピング 邦訳 ダックタイピング 心理学 手引き

結論 "How to duck type? - the psychology of static typing in Ruby" (邦訳: ダックタイピングの手引き? - Rubyでの静的型付けの心理学) という記事は意味不明文書なので読む価値はありません (訳は良くできています) 「静的ダックタイピング」という用語は「原動機なしバイク」のようなもの。 はじめに(FIXME) 近年(FIXME)、... 続きを読む

ダックタイピングの手引き? - Rubyでの静的型付けの心理学 - 読み書きプログラミング ブログ

2013/09/24 このエントリーをはてなブックマークに追加 100 users Instapaper Pocket Tweet Facebook Share Evernote Clip ダックタイピング 手引き Ruby 静的型付け 心理学

「Dropboxは全部Pythonで信頼性の高いソフトウェアを作った」の中で「人生を変えた記事」として"Subject: How to duck type? - the psychology of static typing in Ruby"というメーリングリストへの投稿記事が紹介されていましたので、訳してみようかと思いました。Tim Batesさんはエディンバラ大学の心理学の教授です。 Subj... 続きを読む

CodeZine:L2Lisp in Ruby(インタープリタ)

2007/07/22 このエントリーをはてなブックマークに追加 90 users Instapaper Pocket Tweet Facebook Share Evernote Clip インタープリタ CodeZine

はじめに P.Graham著『On Lisp』に示されているように、現代的なLispプログラミングでは静的スコープ(字句的スコープ)と末尾呼出し(末尾再帰を含む)の最適化のもとでのマクロが重要な意味をもちます。しかし、今まで処理系作成の初心者が内部に手を入れやすい手頃な大きさの実装が事実上ありませんでした。 ここでは、そういったモダンな特徴を備えた小さなLispインタープリタL2LispをRuby... 続きを読む

 
(1 - 14 / 14件)