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
120
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
同人サークルを作って 8年経った僕らの現在地
taiseiue
0
140
RustでもVJしたい!
taiseiue
0
83
“⾞が通れるほど⼤きな”セキュリティーホールを抑えながらログインしたい
taiseiue
0
440
Kotlinのデフォルト引数の話
taiseiue
0
110
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
470
振り向き美人
taiseiue
0
37
Tadpole operators
taiseiue
0
86
(自作の)プログラミング言語ができるまで
taiseiue
1
670
Other Decks in Technology
See All in Technology
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
200
OAuth SPIFFE Client Authentication(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
340
『自分で判断できるか』を基準に、プロダクトのハンズオン研修でAI利用の線を引いてみた / Where We Drew the Line on AI in Hands-on Training
honyanya
0
430
tamachi.goを支える技術
rymiyamoto
0
110
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
950
1.5時間を無駄にして学んだwsl2におけるaptとsnapの選択と仕組み
yosaka0123
0
460
:syncing_time:
sksat
3
840
atproto spaces概要
yamarten
0
110
AI時代の「OAuth認証」にどう物申すか?(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
340
サーバー常駐型の 簡易障害調査AI エージェントを作ってみた話
masayoshi
1
290
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
dbt in Microsoft Fabric
ryomaru0825
0
300
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
430
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
880
Designing for Timeless Needs
cassininazir
1
460
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
690
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
380
Paper Plane (Part 1)
katiecoart
PRO
1
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
900
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
830
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
乞う! コントリビューター!
完