Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
久しぶりにJSを触ってみた
Search
mackee
October 31, 2015
Programming
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
久しぶりにJSを触ってみた
mackee
October 31, 2015
Transcript
18 slides
ٱ͠ͿΓʹJSΛ৮ͬͯ Έͨ
͍ • @mackee a.k.a Ϛίϐʔ • υϩʔϯܳਓ • Work: Perl
& Go
࠷ۙ࡞ͬͨͷ • github.com/mackee/go-sqlla • ΫΤϦϏϧμʔ • github.com/mackee/kuiperbelt v1 • http
1.1ҎલͷϦΫΤετΛwebsocketʹม ͯ͘͠ΕΔ܅
͍
kuiperbeltΛॻ͍ͨͷͰ ;ͱJavaScriptΛॻ͖ͨ͘ͳͬͯ͠·ͬͨͷͰ͠ ͨ • ΫϥΠΞϯτͰಈ͘ݴޠ͍ͬͯ͠Δͷ JavaScript͔͠ͳ͍ • ͱ͍͑ॻ͚ΔΘ͚Ͱͳ͍
ͦ͏͍͑
None
None
΄͏
ͱΓ͋͑ͣॻ͍ͯΈΔ
HTML͕͜͏Ͱ
JS͕͜͏Ͱ͢
ͪΐͬͱಛघͳJSͳͷͰ • $ gopherjs build main.goͬͯͬͯ͝ʹΐ͝ ʹΐͱͨ͜͠ͱΛΒͳ͍ͱ͍͚·ͤΜ • ͱʹ͔͘Ͳ͔͜Ͱॻ͍ͨ͜ͱ͕͋Δγϯλο Ϋε͕͑ͯΜΓ
࣮ࡍಈ͘(σϞΛࡽ͢ͷ͕ΊΜ Ͳ͍͘͞ͷͰͷखݩͰ)
ͰɺgopherjsͷͳΜͰ͚͢ ΕͲ
gopherjs • go get github.com/gopherjs/gopherjs • gopherjs build main.goͬͯΔͱmain.js͕ ੜ·ΕΔ
• github.com/gopherjs/gopherjs/js͍ͬͯ͏ͷ Λimport͢ΔͱͳΜ͔͍Ζ͍Ζ͑Δ
ղઆ
͔Μͦ͏ • ͝ʔͰ͔͚͓ͯͯ͘͢͢͝͠Ζ͔ͬͨͰ͢ • ͔͠͠JSͱͷΠϯλʔϑΣΠεܕͳ͠ͳͷ ͰɺGoϊϦͰॻ͘ͱิͱ͔ฉ͔ͳͯ͘ʮΦ ΦοʯͱͳΔ • ֎෦ϥΠϒϥϦΛΘͣʹpure goͰॻ͚ͩ
͍Ϳָ͕ग़དྷΔؾ͕͢Δ
More Decks by mackee
See All by mackee
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
900
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
1.6k
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
6
7k
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
14
7.8k
ワンバイナリWebサービスのススメ
mackee
10
9.4k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
1k
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
1.2k
perl for shell, awk and sed programmers
mackee
3
3k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
1.2k
Other Decks in Programming
See All in Programming
protojson における文字化けの扱い
kazuki1023
0
450
Distance field of Julia set
kinakomoti321
0
330
SODA - FACT BOOK(EN)
sodainc
1
270
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1k
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
はじめてのKubernetesコントリビューション
nasa9084
0
170
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
600
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
120
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
230
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
690
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
440
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Practical Orchestrator
shlominoach
192
12k
Docker and Python
trallard
47
4.3k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
Code Review Best Practice
trishagee
74
20k
Building an army of robots
kneath
307
47k
It's Worth the Effort
3n
188
29k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
980
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k