Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
合体事故した話
Search
Yuuki Sumida
December 17, 2016
Technology
700
0
Share
合体事故した話
合同勉強会 in 大都会岡山 -2016 Winter-
https://gbdaitokai.connpass.com/event/37730/
Yuuki Sumida
December 17, 2016
More Decks by Yuuki Sumida
See All by Yuuki Sumida
stddev_popとstddev_sampの話 / stddev_pop and stddev_samp
razon
0
700
Monacaのビルド結果をSlackに通知したいマン[WIP] / Notify Monaca build results to Slack [WIP]
razon
0
480
ノベルティカンファレンス in 地方 / Novelty conference in local region
razon
0
870
おれたちのファイナルファンタジー勉強会 アンケート / Final Fantasy Survey
razon
1
280
フロントエンドわからなさすぎるのでVue CLIが吐き出すファイルを読む / Read the files generated by Vue CLI
razon
0
1.1k
今の飲みは次の飲みへ[完結編] / For the current drinking party to the next drinking party -final version-
razon
0
65
昔Reactで書いたコードをHyperappに移植した話 / Porting react to hyperapp
razon
0
280
今の飲みは次の飲みへ / For the current drinking party to the next drinking party
razon
0
66
大都会アワード2017 / Daitokai awards 2017
razon
0
950
Other Decks in Technology
See All in Technology
ぼくがかんがえたさいきょうのあうとぷっと
yama3133
0
190
ARIA Notifyについて
ryokatsuse
1
120
LLM時代の検索アーキテクチャと技術的意思決定
shibuiwilliam
3
1.2k
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
400
昔はシンプルだった_AmazonS3
kawaji_scratch
0
330
目的ファーストのハーネス設計 ~ハーネスの変更容易性を高めるための優先順位~
gotalab555
8
2.2k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.1k
自立を加速させる神器 - EMOasis #11
stanby_inc
0
140
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
590
Eight Engineering Unit 紹介資料
sansan33
PRO
3
7.3k
生成AIが変える SaaS の競争原理と弁護士ドットコムのプロダクト戦略
bengo4com
0
770
Claude Code を安全に使おう勉強会 / Claude Code Security Basics
masahirokawahara
11
33k
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.2k
Building the Perfect Custom Keyboard
takai
2
730
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
510
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
520
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
260
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Building AI with AI
inesmontani
PRO
1
910
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
Transcript
2016-12-17(Sat) 合同勉強会 in 大都会岡山 - 2016 Winter -
今年の実績
来年の実績(予定)
来年の実績(予定) 「ペルソナイト」 「ペルソナイト」 でググれください でググれください
2016-12-17(Sat) 合同勉強会 in 大都会岡山 - 2016 Winter -
最近やったプロジェクト サーバサイド クライアントサイド
最近やったプロジェクト サーバサイド クライアントサイド
Eclipse(Spring Tool Suite) • IDE • なんか最近はEcliなんとかとか言われて Disられている
Doma • O/R Mapper • 2Way SQL • DAOはインタフェースだけ定義しておけば コンパイル時に実装したクラスが生えてくる
• Doma-Genという実DBからテーブル定義を 抜いてきてDAOやらEntityクラスを 生成するツールがある
Lombok • 色々アノテーション付ければ コンパイル時にクラスやらメソッドを 生やしてくれる – Setter/Getter – Constructor –
Logger – Builder – … • べんり
None
None
一体何が 起きたのか?
Doma-Genについて • ビルドツールのタスクとして走らせる • 実DBからテーブル定義を取得して、 テンプレート定義を元にEntity/CRUDのDAO/SQL を生成 – テンプレートはFreeMakerで作成されていて、 独自に拡張できる
– Entityの雛形はLombokのアノテーションを ガン積みでカスタマイズした
Eclipseでのビルド時 • LombokとDomaのAnnotation Proceccingが 重なってヒープメモリ爆食いした結果 Eclipseがそっとお亡くなりになったくさい • Eclipseのヒープメモリマシマシにしたら ビルド通った
Eclipseでのビルド時 • LombokとDomaのAnnotation Proceccingが 重なってヒープメモリ爆食いした結果 Eclipseがそっとお亡くなりになったくさい • Eclipseのヒープメモリマシマシにしたら ビルド通った •
-Xmx 3036m
元請けのPC 標準が32ビット 問題
まとめ • 32ビットマシンが許されるのは 小学生までだよねーキャハハハハハハ
Appendix:ビルドツールを使う • Lombokのdelombokタスクで事前にソースとして 吐き出す • DomaのAnnotation Proceccingと 実行タイミングが被らないのでそこまで ヒープメモリを爆食いしない
おしまい