Professional Documents
Culture Documents
Dynamic Deep Dive: Alexandru Ghiondea Software Developer Engineer in Test C# Compiler
Dynamic Deep Dive: Alexandru Ghiondea Software Developer Engineer in Test C# Compiler
Alexandru Ghiondea
Software Developer Engineer in Test
C# Compiler
Ghiondea.Alexandru@microsoft.com
Alexandru Ghiondea
Software Developer Engineer in Test
C# Compiler
Ghiondea.Alexandru@microsoft.com
Why dynamic?
There is a lot of interest in accessing the
highly dynamic object model of HTML
DOM
COM is heavily used and the inter-op
code could be easier to read and write
Dynamic languages are becoming
increasingly popular
We need a unified way to work with all of
the above
Architecture
IronPytho
n
IronRuby
C#
VB.NET
Others
JavaScrip
t
Binder
Dynamic
Dispatch
Python
Binder
COM
Binder
e
Ex
Run
D
e e le
ga
t
yn
am
ic
Ca
ll
DL
R Cach
e
Bind call
Expressio
n Tree
IronPytho
n Binder
C#
Runtime
Binder
Dynamic FAQ
When do you go dynamic?
When the target of the call OR
Any of the call arguments are dynamic
Implement IDynamicObject OR
Derive from DynamicObject
Implements IDynamicObject
Demo
I want to be dynamic!!!
Additional Resources
C# 4.0 Samples and Whitepaper
http://code.msdn.microsoft.com/csharpfuture
http://blogs.msdn.com/ericlippert/
http://blogs.msdn.com/cburrows/
http://blogs.msdn.com/samng/
http://blogs.msdn.com/sreekarc/
http://blogs.msdn.com/mattwar/
http://blogs.msdn.com/ed_maurer/
http://blogs.msdn.com/davsterl/
http://blogs.msdn.com/alexghi