$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
マルチプラットフォームなインタラクティブシェルを楽に作る
Search
Takashi Kokubun
March 02, 2015
Technology
1
1.7k
マルチプラットフォームなインタラクティブシェルを楽に作る
hikarie.go #4
Takashi Kokubun
March 02, 2015
Tweet
Share
More Decks by Takashi Kokubun
See All by Takashi Kokubun
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
0
200
ZJIT: The Future of Ruby Performance / San Francisco Ruby Conference 2025
k0kubun
1
48
ZJIT: Building a New JIT Compiler for Ruby / REBASE 2025
k0kubun
0
40
Deoptimization: How YJIT Speeds Up Ruby by Slowing Down / RubyKaigi 2025
k0kubun
2
3.6k
YJIT Makes Rails 1.7x faster / RubyKaigi 2024
k0kubun
7
15k
Ruby JIT Hacking Guide / RubyKaigi 2023
k0kubun
2
10k
YJIT: Dive into Ruby's JIT compiler written in Rust / Rust.Tokyo 2022
k0kubun
2
2.2k
Towards Ruby 4 JIT / RubyKaigi 2022
k0kubun
3
11k
Optimizing Production Performance with MRI JIT / RubyConf 2021
k0kubun
1
510
Other Decks in Technology
See All in Technology
Power of Kiro : あなたの㌔はパワステ搭載ですか?
r3_yamauchi
PRO
0
200
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
yakumo
4
470
20251219 OpenIDファウンデーション・ジャパン紹介 / OpenID Foundation Japan Intro
oidfj
0
350
AIプラットフォームにおけるMLflowの利用について
lycorptech_jp
PRO
1
180
NIKKEI Tech Talk #41: セキュア・バイ・デザインからクラウド管理を考える
sekido
PRO
0
180
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.1k
MLflowダイエット大作戦
lycorptech_jp
PRO
1
150
Identity Management for Agentic AI 解説
fujie
0
290
AWSを使う上で最低限知っておきたいセキュリティ研修を社内で実施した話 ~みんなでやるセキュリティ~
maimyyym
2
1.9k
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
360
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
330
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
0
160
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
87
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
200
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
290
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.4k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
240
4 Signs Your Business is Dying
shpigford
186
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
340
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
65
Transcript
ϚϧνϓϥοτϑΥʔϜͳ ΠϯλϥΫςΟϒγΣϧΛָʹ࡞Δ hikarie.go #4 @k0kubun
k0kubunͱ͍͍·͢
Go༻ͷ৭͖ͭͷpp࡞Γ·ͨ͠ https://github.com/k0kubun/pp
GoͷREPL motemen/gore Ͱ͑Δ https://github.com/motemen/gore ࠓ͜ΕΛ͍ͬͨ࣌͡ͷΛ͠·͢
͋ΔgoreΛ৮͍ͬͯͨΒɺೖྗதʹ Πϯσϯτ͞Εͳ͍͜ͱʹؾ͍ͮͨ
ࣗಈΠϯσϯτΛ࣮ͯ͠Έͨ
͋Εʁ
Πϯσϯτͷ͍ͤͰดׅ͡ހ͕ͣΕΔ
͢Ͱʹग़ྗͨͭ͠Λॻ͖͍ͨ͠
ΤεέʔϓγʔέϯεΛ͏ • ΧʔιϧҠಈΛ͏ • ্ʹҠಈ • ઌ಄ʹҠಈɺ্ॻ͖ • ؆୯͚ͩͲwindowsͩͱಈ͔ͳͦ͏
WindowsͰಈ࡞͢Δ͜ͱॏཁ
ଞͷϥΠϒϥϦͲ͏ͯ͠Δͷ͔ʁ
ΈΜͳࣗͰ **_windows.go ༻ҙͯ͠γεςϜίʔϧ ͍͍ͨͯ෦APIʹͳͬͯͯϥΠϒϥϦͱͯ͑͠ͳ͍
͜ΕΛಡΜͰ
͍ͬͺ͍ॻ͘
ͩΔ͗͢
ΤεέʔϓγʔέϯεΛ windowsͰ͑ΔΑ ͏ʹͨ͠ΒศརͳͷͰ ʁ
࡞ͬͨ https://github.com/k0kubun/go-ansi
fmtͷ͔ΘΓʹansiʹ͢Δ͚ͩͰOK https://github.com/k0kubun/go-ansi
mattn/go-colorableʹࣅͯΔ ৭ͷΤεέʔϓγʔέϯεʹؔͯ͠ಉ͚ͩ͡Ͳɺ go-ansiΧʔιϧҠಈͱ͔ը໘ͷফڈͱ͔ಈ͘
https://github.com/k0kubun/go-keybind k0kubun/go-keybind ΩʔೖྗͷͭwindowsdͰಈ͘Α͏ʹ࡞ͬͨ Ctrl-AΈ͍ͨͳͷऔΕΔ
·ͱΊ • ָʹwindowsͰಈ͘γΣϧΛॻͨ͘ΊͷϥΠϒϥϦ࡞ͬͨ • k0kubun/go-ansi • k0kubun/go-keybind