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
PyCon2014China-Zhuhai-meta programming
Search
Zoom.Quiet
November 17, 2014
Technology
1
100
PyCon2014China-Zhuhai-meta programming
141115 in Zhuhai
http://zoomq.qiniudn.com/CPyUG/PyCon2014China/141115zh-am1-Wuvist.MP3
Zoom.Quiet
November 17, 2014
Tweet
Share
More Decks by Zoom.Quiet
See All by Zoom.Quiet
PyCon2014China-Zhuhai-high performance
zoomquiet
0
130
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
80
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
84
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
65
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
78
PyCon2014China-Zhuhai-jeff
zoomquiet
0
58
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
87
DevFest2014-Zhuhai-Polymer
zoomquiet
0
370
TEDxJLUZH MOMENT future
zoomquiet
0
330
Other Decks in Technology
See All in Technology
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.2k
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
160
.NET 9 のパフォーマンス改善
nenonaninu
0
730
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
1
110
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
210
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
210
KubeCon NA 2024 Recap: How to Move from Ingress to Gateway API with Minimal Hassle
ysakotch
0
200
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
150
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
100
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
550
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
1
230
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1k
Featured
See All Featured
Designing Experiences People Love
moore
138
23k
Automating Front-end Workflow
addyosmani
1366
200k
Making Projects Easy
brettharned
116
5.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Building an army of robots
kneath
302
44k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
A better future with KSS
kneath
238
17k
The Cult of Friendly URLs
andyhume
78
6.1k
RailsConf 2023
tenderlove
29
940
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Agile that works and the tools we love
rasmusluckow
328
21k
Transcript
欽1:㹊梡(P⯋綘玐 线⠚!䋞ㅷ猰䪮
None
Ⱒ✵䧮 ˖ 线⠚⾲䌢끸倝⸈㗗梡㾀帿㖕 ˖ ♶倗䫔艗䎃涸Ⰼ畮玐䎸プ • .net -> python ->
go ˖ ⱄ妃㔐㕂⚌錟⠑⠶ •
[email protected]
⯋綘玐 ˖ 䭷厤碫雦皾劼玐䎸涸綘ⱗ鵯碫雦皾劼玐䎸綘ⱗ䧴罏 乼紷Ⱖ㸐玐䎸䧴罏荈魧⡲⚹㸐⟌涸侨䰘 ˖ ♸䩛䊨綘ⱗⰌ鿈➿瀦湱嫱玐䎸プ〳⟄蜦䖤刿넞涸䊨 ⡲佪桧
⯋綘玐Ⱖ㹊偽㢅♶㖈 ˖ 剒䌢錛涸⯋綘玐䊨Ⱘ僽綘霖㐼㸐〳⟄㼜玐䎸プ⢪欽 넞紩露鎊綘ⱗ涸湱㼆瀊㼭涸玐䎸鲮䰃⚹瘝⟟涸宨綘露 鎊䧴罏劼㐼露鎊玐䎸 ˖ Ⱖ㸐⯋綘玐禹絡ⴭ⯈雽⟄綘玐倰䒭乼紷♧猫露鎊կ㸪 禹絡⽰僽鵯呋♧猫皍⽀涸禹絡
$㸪 #define list_for_each(pos, head) \ for (pos = (head)->next; pos
!= (head); pos = pos->next)
ˊ雽䒭⠚ Go✽翫緸傞➿涸C♴♧⚡C
Go⯋綘玐 ˖ 加剣㸪 ˖ 加剣岌㘗 ˖ 㼘䖎ꦼ欽 ˖ gopher鵯Ⳝ䎃䖎⸖⸂鍒Ɀ✫雽㢴ⵆ涸露鎊⚥♶ 㶸㖈涸곿˘˘!饆⹄嵞
溏溏䖎⸖⸂涸gopher 㥵⡦欽py勻㹊梡go涸岌㘗
None
˖ StringSet♸IntSet➿瀦䖎碫⡃➑碫㘗♶ず ˖ 岌㘗涸Ⱙ㘗⢪欽㖞兞
None
None
皍⽀ծ磦凐ծ剣佪
荈⸓欰䧭 ˖ MakeFile ˖ 港䱽俒⟝⥝佖HJUIVCDPNHPSBLIBSHPTI XBUDIEPH
ⱄ勻溏溏ORM
䧮⟌欽thrift⡲㼆韌 㹁⛐涸DSL
None
None
None
ず♧㼆韌⯋⥌䜂 ˖ 㟞ⴵ佖叅 ˖ Ⰼ俒䵂程 ˖ た〵勉ꣳ • RPC
㼆韌⠛鷻ծ餻⧩ծ儑爙 剣㣐ꆀ湱⡃涸➿瀦
None
None
None
None
˖ ♳鶣➿瀦鿪呏䰘㼆韌⯋⥌䜂欰䧭ⴀ勻 ˖ 欰䧭涸➿瀦♶⠔ꝡ
㥵⡦㹊梡
鍒區㼆韌 • ptsd: github.com/wickman/ptsd • thrift lexer/parser using ply •
ply: www.dabeaz.com/ply/ • An implementation of lex and yacc parsing tools for Python
➿瀦欰䧭垷匣 • www.cheetahtemplate.org
None
None
None
None
None
None
None
None
None
YAML⛲僽㥩⚎銯_
None
None
None
˖ 㹊梡♸ORM碫⡃〫僽䪾DSL➢thrift䰃䧭YAML ˖ YAML ˖ 邍鴪腊⸂刿䔂 ˖ 宠➃プ㥩
㢪鿈䱹〡 ˖ 銳㢴畮㹊梡 • web • mobile web • mobile
client ˖ ぐ畮⚌⸉♧荝⡎靈欽⚌⸉〳腊銳♶ず㼓鄳
None
None
None
None
㼓鄳➿瀦 鿪♶䎾霪➃聘ⱗ
None
䨾⟄䧮⟌고湡剣♰♰遤➿瀦
˖ ♳鶣➑➑僽怵爙➿瀦 ˖ 㹊꣢➿瀦銳㢕勇䖤㢴㢴 ˖ ORM剣䒓彂github.com/sipin/xuanwu ˖ ➑⣘罌ծⴗ⺡⢪欽 ˖ 偽俒咓
˖ ♶絶䫡 ˖ ⰻ鿈䊺䲀⦝ꅾ勻
㥵⡦㹁ⵖ ˖ 欰䧭♧妃たꥥ⤑佖 ˖ ꥥ垷匣⥝佖㢕欰䧭 ˖ 䲿⣘㹁ⵖ䱹〡倰岁㔐靈 ˖ 銻渷暵㹁倰岁
None
None
˖ 岌㘗ծORMծ崨玐ծ䱹〡㼓鄳瘝瘝㖞兞㖲〳罌贊⯋綘玐 ˖ 儑搬⛲♶〫♳鶣㖞兞 ˖ 䪾⯋綘玐錠⚹♧猫ꅾ匬䩛媯 ˖ ⯓䩛⸓ⱗ♧麑➿瀦 ˖ 䪾㢕ⴀ梡ծ碫⡃涸➿瀦䬄韌⚹垷匣
˖ 鷥䭊DSL ˖ Python皍⽀ծ䎽餴彂⚪㺢〳⟄䖎㺂僒涸낉霆⯋綘玐涸䟝岁
⯋綘玐涸ꦼ挿 ˖ 鷥䭊ざ鷓涸%4- ˖ 䲿⣘넞㽻妃䬄韌腊⸂ ˖ 絶䭯絈蒜㹁ⵖ腊⸂ • www.joelonsoftware.com/articles/ LeakyAbstractions.html
➿瀦欰䧭 ˖ 鍒區DSL靈欽垷匣欰䧭➿瀦涸垷䒭䖎㺂僒㹊梡 ˖ 欰䧭涸鿪僽皍⽀➿瀦㺂僒debug ˖ 綘霖㐼唬叅➿瀦
㼘欨荛LISP侅 ˖ 偽곢ꅾ㢕綘霖 ˖ 鵘遤傞唬叅ꝡ霴 ˖ 㹊梡刿剣ꦼ䏞 ˖ ➿瀦刿⸈礵䊫ծ⠏꧈ ˖
儑搬넞㣐♳
–Ken Thompson “When in doubt, use brute force.”
Q & A
Ⱖ㹊 ˖ Python♶䘯 ˖ 嫱倰霹⡤낉鵂git涸匧鸟㽠䖎ꦼ䗽hg涸♶䘯 ˖ ⯋綘玐剒㥩鵮僽鍒區露鎊劥魧 • golang.org/pkg/go/parser/ ˖
HPHFOFSBUF ˖ EPDTHPPHMFDPNEPDVNFOUE7-6GK4"%%PP%.IF @,&HQ5&N7VW23V/."&OKH