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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
taiseiue
April 06, 2025
Technology
0
100
.NETの上でお手製の言語を動かす技術
Kyoto.cs#1で発表した資料です。
https://kyotocs.connpass.com/event/348616/
taiseiue
April 06, 2025
Tweet
Share
More Decks by taiseiue
See All by taiseiue
“⾞が通れるほど⼤きな”セキュリティーホールを抑えながらログインしたい
taiseiue
0
330
Kotlinのデフォルト引数の話
taiseiue
0
81
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
400
振り向き美人
taiseiue
0
28
Tadpole operators
taiseiue
0
66
(自作の)プログラミング言語ができるまで
taiseiue
1
580
Other Decks in Technology
See All in Technology
[続・営業向け 誰でも話せるOCI セールストーク] AWSよりOCIの優位性が分からない編(2026年2月20日開催)
oracle4engineer
PRO
0
150
Introduction to Bill One Development Engineer
sansan33
PRO
0
380
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
290
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
95k
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
0
210
【2026年版】生成AIによる情報システムへのインパクト
taka_aki
0
200
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
71k
2026-02-25 Tokyo dbt meetup プロダクトと融合したCI/CD で実現する、堅牢なデータパイプラインの作り方
y_ken
0
160
dbt meetup #19 『dbtを『なんとなく動かす』を卒業します』
tiltmax3
0
130
AIエンジニア Devin と歩む、自律型運用プロセスの構築
a2ito
0
470
Secure Boot 2026 - Aggiornamento dei certificati UEFI e piano di adozione in azienda
memiug
0
120
Eight Engineering Unit 紹介資料
sansan33
PRO
1
6.8k
Featured
See All Featured
Paper Plane
katiecoart
PRO
0
47k
Technical Leadership for Architectural Decision Making
baasie
3
270
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
570
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
480
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
190
The browser strikes back
jonoalderson
0
740
RailsConf 2023
tenderlove
30
1.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Documentation Writing (for coders)
carmenintech
77
5.3k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.3k
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
乞う! コントリビューター!
完