際際滷

際際滷Share a Scribd company logo
D   と  reflection はまじしん匯ろう
えらい念 醤悶議には 5 定くらい念とかから Reflection  圀しいな`という蕗は富なからずあった 恷兜のアンオフィシャルウィッシュリスト  (2005-3 埖 ): Nanka Kanka Hoge Reflection API ->  4 了
書 ウィッシュリストで隆だ~m匯了 つまりまだoい   Java, C# :  ある C, C++ :  ない D :  ない 火廷な湖じ
なんで圀しいか RPC 恬るとか シリアライザ圀しいとか バックトレ`スとか竃ると_kラクとか etc etc´
適薦 ^肇 インチキ   reflection  とか  backtrace  とか 徭蛍のバイナリからシンボルテ`ブルiんで _D3std4math3absFlZl デマングルして哈方侏とか卦りミ佑鯏亢 樋泣 夛悶とかクラスのメンバがわからん つまりシリアライザけない
適薦 ^肇 FlectioneD  とか  DDL  とか 貌たようなことをもうちょい悶狼議に まぁ屎岷なところ頼莎とはほどhいか
F壓 こんなんが咾 贋壓するクラスの匯Eくらいは竃せる ClassInfo から∀謇v方テ`ブルとかも函れる import std.moduleinit; foreach (ModuleInfo mi; ModuleInfo.modules) { foreach (ClassInfo ci; mi.localClasses) { printf(^%.*s\n ̄, ci.name); } }
F壓 Aき c lass ClassInfo c onst(MemberInfo[]) getMembers(string); ~m隆g廾 DMD るとコ`ドはきかけてるので恬るつもりはあるにはあるのでないかな
隆栖 コンパイルタイムリフレクションを割gさせて ライブラリ箸  reflection  戻工できるようにするよ` by  うぉるた` たしかにコンパイルrにはF彜の  D  でもそれなりに秤麋,譴
まとめ D  での  Reflection  のF彜とかについて まぁ除いうちにそれなりになんか秘るのではないかな。岑らんけど。 繍栖議にはコンパイルタイム  reflection  を割gさせてライブラリとして戻工、らしい
Ad

Recommended

Code Golf
Code Golf
Shinichiro Hamaji
?
H2O - the optimized HTTP server
H2O - the optimized HTTP server
Kazuho Oku
?
堰意意永/2の仁籾と繍栖
堰意意永/2の仁籾と繍栖
Kazuho Oku
?
Reorganizing Website Architecture for HTTP/2 and Beyond
Reorganizing Website Architecture for HTTP/2 and Beyond
Kazuho Oku
?
2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
?
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
Artificial Intelligence, Data and Competition C SCHREPEL C June 2024 OECD dis...
Artificial Intelligence, Data and Competition C SCHREPEL C June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
?
弼について.pptx .
弼について.pptx .
iPride Co., Ltd.
?
Protect Your IoT Data with UbiBot's Private Platform.pptx
Protect Your IoT Data with UbiBot's Private Platform.pptx
ユビボット 幄塀氏芙
?
Forguncy 10 u瞳古勣Y創 - ノ`コ`ドWebアプリ_kプラットフォ`ム
Forguncy 10 u瞳古勣Y創 - ノ`コ`ドWebアプリ_kプラットフォ`ム
フォ`ガンシ`
?
茶氏_タ`ミナルコマント?秘薦儻堀晒_20250620. pptx. .
茶氏_タ`ミナルコマント?秘薦儻堀晒_20250620. pptx. .
iPride Co., Ltd.
?
OWASP ASVS5.0 overview 20240607_owaspnagoya
OWASP ASVS5.0 overview 20240607_owaspnagoya
OWASP Nagoya
?
粥鴛室宝慌嗤氏2025-06-05喝禽艶艶沿檎艶壊艶温姻界鞄の尖盾とg樹.沿糸韓
粥鴛室宝慌嗤氏2025-06-05喝禽艶艶沿檎艶壊艶温姻界鞄の尖盾とg樹.沿糸韓
Takuma Oda
?
Vibe Codingを兵めよう ?Cursorを箭に、ノ`コ`ドでのプログラミング悶Y?
Vibe Codingを兵めよう ?Cursorを箭に、ノ`コ`ドでのプログラミング悶Y?
iPride Co., Ltd.
?
PGConf.dev 2025 歌紗レポ`ト (JPUGt氏龝Oセミナ`2025 k燕Y創)
PGConf.dev 2025 歌紗レポ`ト (JPUGt氏龝Oセミナ`2025 k燕Y創)
NTT DATA Technology & Innovation
?
2024 State of Marketing Report C by Hubspot
2024 State of Marketing Report C by Hubspot
Marius Sescu
?
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
?
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
?
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
?
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
?

More Related Content

Recently uploaded (8)

弼について.pptx .
弼について.pptx .
iPride Co., Ltd.
?
Protect Your IoT Data with UbiBot's Private Platform.pptx
Protect Your IoT Data with UbiBot's Private Platform.pptx
ユビボット 幄塀氏芙
?
Forguncy 10 u瞳古勣Y創 - ノ`コ`ドWebアプリ_kプラットフォ`ム
Forguncy 10 u瞳古勣Y創 - ノ`コ`ドWebアプリ_kプラットフォ`ム
フォ`ガンシ`
?
茶氏_タ`ミナルコマント?秘薦儻堀晒_20250620. pptx. .
茶氏_タ`ミナルコマント?秘薦儻堀晒_20250620. pptx. .
iPride Co., Ltd.
?
OWASP ASVS5.0 overview 20240607_owaspnagoya
OWASP ASVS5.0 overview 20240607_owaspnagoya
OWASP Nagoya
?
粥鴛室宝慌嗤氏2025-06-05喝禽艶艶沿檎艶壊艶温姻界鞄の尖盾とg樹.沿糸韓
粥鴛室宝慌嗤氏2025-06-05喝禽艶艶沿檎艶壊艶温姻界鞄の尖盾とg樹.沿糸韓
Takuma Oda
?
Vibe Codingを兵めよう ?Cursorを箭に、ノ`コ`ドでのプログラミング悶Y?
Vibe Codingを兵めよう ?Cursorを箭に、ノ`コ`ドでのプログラミング悶Y?
iPride Co., Ltd.
?
PGConf.dev 2025 歌紗レポ`ト (JPUGt氏龝Oセミナ`2025 k燕Y創)
PGConf.dev 2025 歌紗レポ`ト (JPUGt氏龝Oセミナ`2025 k燕Y創)
NTT DATA Technology & Innovation
?
Protect Your IoT Data with UbiBot's Private Platform.pptx
Protect Your IoT Data with UbiBot's Private Platform.pptx
ユビボット 幄塀氏芙
?
Forguncy 10 u瞳古勣Y創 - ノ`コ`ドWebアプリ_kプラットフォ`ム
Forguncy 10 u瞳古勣Y創 - ノ`コ`ドWebアプリ_kプラットフォ`ム
フォ`ガンシ`
?
茶氏_タ`ミナルコマント?秘薦儻堀晒_20250620. pptx. .
茶氏_タ`ミナルコマント?秘薦儻堀晒_20250620. pptx. .
iPride Co., Ltd.
?
OWASP ASVS5.0 overview 20240607_owaspnagoya
OWASP ASVS5.0 overview 20240607_owaspnagoya
OWASP Nagoya
?
粥鴛室宝慌嗤氏2025-06-05喝禽艶艶沿檎艶壊艶温姻界鞄の尖盾とg樹.沿糸韓
粥鴛室宝慌嗤氏2025-06-05喝禽艶艶沿檎艶壊艶温姻界鞄の尖盾とg樹.沿糸韓
Takuma Oda
?
Vibe Codingを兵めよう ?Cursorを箭に、ノ`コ`ドでのプログラミング悶Y?
Vibe Codingを兵めよう ?Cursorを箭に、ノ`コ`ドでのプログラミング悶Y?
iPride Co., Ltd.
?
PGConf.dev 2025 歌紗レポ`ト (JPUGt氏龝Oセミナ`2025 k燕Y創)
PGConf.dev 2025 歌紗レポ`ト (JPUGt氏龝Oセミナ`2025 k燕Y創)
NTT DATA Technology & Innovation
?

Featured (20)

2024 State of Marketing Report C by Hubspot
2024 State of Marketing Report C by Hubspot
Marius Sescu
?
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
?
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
?
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
?
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
?
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
?
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
?
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
?
The six step guide to practical project management
The six step guide to practical project management
MindGenius
?
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
?
2024 State of Marketing Report C by Hubspot
2024 State of Marketing Report C by Hubspot
Marius Sescu
?
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
?
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
?
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
?
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
?
The six step guide to practical project management
The six step guide to practical project management
MindGenius
?
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
?
Ad

Dreflection

  • 1. D と reflection はまじしん匯ろう
  • 2. えらい念 醤悶議には 5 定くらい念とかから Reflection 圀しいな`という蕗は富なからずあった 恷兜のアンオフィシャルウィッシュリスト (2005-3 埖 ): Nanka Kanka Hoge Reflection API -> 4 了
  • 3. 書 ウィッシュリストで隆だ~m匯了 つまりまだoい Java, C# : ある C, C++ : ない D : ない 火廷な湖じ
  • 4. なんで圀しいか RPC 恬るとか シリアライザ圀しいとか バックトレ`スとか竃ると_kラクとか etc etc´
  • 5. 適薦 ^肇 インチキ reflection とか backtrace とか 徭蛍のバイナリからシンボルテ`ブルiんで _D3std4math3absFlZl デマングルして哈方侏とか卦りミ佑鯏亢 樋泣 夛悶とかクラスのメンバがわからん つまりシリアライザけない
  • 6. 適薦 ^肇 FlectioneD とか DDL とか 貌たようなことをもうちょい悶狼議に まぁ屎岷なところ頼莎とはほどhいか
  • 7. F壓 こんなんが咾 贋壓するクラスの匯Eくらいは竃せる ClassInfo から∀謇v方テ`ブルとかも函れる import std.moduleinit; foreach (ModuleInfo mi; ModuleInfo.modules) { foreach (ClassInfo ci; mi.localClasses) { printf(^%.*s\n ̄, ci.name); } }
  • 8. F壓 Aき c lass ClassInfo c onst(MemberInfo[]) getMembers(string); ~m隆g廾 DMD るとコ`ドはきかけてるので恬るつもりはあるにはあるのでないかな
  • 9. 隆栖 コンパイルタイムリフレクションを割gさせて ライブラリ箸 reflection 戻工できるようにするよ` by うぉるた` たしかにコンパイルrにはF彜の D でもそれなりに秤麋,譴
  • 10. まとめ D での Reflection のF彜とかについて まぁ除いうちにそれなりになんか秘るのではないかな。岑らんけど。 繍栖議にはコンパイルタイム reflection を割gさせてライブラリとして戻工、らしい