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
.NETの上でお手製の言語を動かす技術
Search
taiseiue
April 06, 2025
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
.NETの上でお手製の言語を動かす技術
Kyoto.cs#1で発表した資料です。
https://kyotocs.connpass.com/event/348616/
taiseiue
April 06, 2025
More Decks by taiseiue
See All by taiseiue
RustでもVJしたい!
taiseiue
0
65
“⾞が通れるほど⼤きな”セキュリティーホールを抑えながらログインしたい
taiseiue
0
410
Kotlinのデフォルト引数の話
taiseiue
0
99
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
450
振り向き美人
taiseiue
0
36
Tadpole operators
taiseiue
0
81
(自作の)プログラミング言語ができるまで
taiseiue
1
650
Other Decks in Technology
See All in Technology
ヘルスケア領域における AI 活用と その安全性担保のための取り組み (Leveraging AI in Healthcare and Our Efforts to Ensure Its Safety) - Google I/O Extended Tokyo 2026, July 11, 2026
zettaittenani
0
260
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
ゼロをイチにする仕事が終わったあと
smasato
0
330
誤解だらけの開発生産性 / Myths and Misconceptions about Developer Productivity
i35_267
1
160
Kaggleで成長するために意識したこと
prgckwb
1
170
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
180
証券システムを10年Scalaで作り続けるということ - 関数型まつり2026
krrrr38
3
830
KiCAD講習会②
tutcreators
0
110
AICoEでAIネイティブ組織への進化
yukiogawa
0
110
インフラと開発の垣根を超えていき!〜元AWSインフラエンジニアがAWS開発で奮闘している話〜
hatahata021
1
110
知らん間に、回ってる
ming_ayami
0
390
GuardrailからGovernanceへ~AIエージェント運用の次の課題~
sbspsy
2
260
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
698
190k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
490
The Curious Case for Waylosing
cassininazir
1
430
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Google's AI Overviews - The New Search
badams
0
1.1k
ラッコキーワード サービス紹介資料
rakko
1
3.9M
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
800
Thoughts on Productivity
jonyablonski
76
5.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Transcript
.NETの上で お手製の言語を動かす技術 Kyoto.cs#1 2025/4/6 京都産業大学 上村太成
自己紹介 •taiseiue • X @taiseiue • id:taiseiue • taiseiue.jp •
C#/TypeScript/Perl •
None
None
None
C#の話をします
None
None
None
AliceScriptの実装: Losetta
None
None
じゃあ AliceScriptの外の関数は?
None
None
None
こういう関数を考える
None
しんどい
None
こういうのにしたい
None
いるもの •Variable型から指定した型への変換 •.NETのメソッドをFunctionBaseにする
Variableか.NETの型への変換
None
いるもの • Variable型から指定した型への変換 •.NETのメソッドをFunctionBaseにする
None
BindFunctionには対応する .NET のメソッドの MethodInfoを持たせておく
BindFunctionには対応する .NET のメソッドの MethodInfoを持たせておく
遅い!
MethodInfo.Invokeの欠点 •遅い • リフレクション • 呼び出し毎に遅延バインディングが起きる
リフレクション
動的コード生成
None
None
None
None
Native C Functionは?
None
まとめ • リフレクションでメソッドを呼ぶときには • デリゲートにキャッシュしよう
None
乞う! コントリビューター!
完