• Like
Embracing a new world - dynamic languages and .NET
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Embracing a new world - dynamic languages and .NET

  • 1,151 views
Published

Presentation on dynamic languages and .Net for DeveloperDay Scotland on 2nd May 2009.

Presentation on dynamic languages and .Net for DeveloperDay Scotland on 2nd May 2009.

Published in Technology , Sports
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,151
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
22
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Embracing a new world - dynamic languages and .NET Twitter - @Ben_Hall Blog.BenHall.me.uk [email_address]
  • 2. Dynamic Language Runtime
  • 3. What is the DLR? http://www.flickr.com/photos/lastrounds/3199561205/sizes/o/
  • 4.  
  • 5. IronSmallTalk Gary Short
  • 6. dynamic What is a Language?
  • 7. R UBY, R UBY, R UBY
  • 8. Optional Syntax
    • puts ‘Hello World’
    • puts(‘Hello World’)
    • puts(‘Hello World’);
  • 9. Simple declarations
    • x = 1
  • 10. Natural Programming
    • x = [1,2,3]
    • y = [4,5,6]
    • x + y == [1,2,3,4,5,6]
  • 11. Everything is an object
    • “ Hello World”.upcase
    • [5,3,4,1,6].sort
    • 10.times { }
  • 12. Blocks
    • 10.times do |i|
    • puts i
    • end
    • 10.times { |i| puts i }
  • 13. Duck Typing
    • def print_name(obj)
    • puts obj.get_name
    • end
    http://www.flickr.com/photos/normis/337183421/
  • 14. Duck Typing
    • class A
    • def get_name
    • “ My name is A”
    • end
    • end
  • 15. Duck Typing
    • class Q
    • def get_name
    • “ My name is Q”
    • end
    • end
  • 16. Duck Typing
    • print_name A.new
    • print_name(Q.new)
  • 17. Libraries
    • require ‘rake’
  • 18. RubyGems
    • gem install rake
    • Successfully installed rake-0.8.4
    • 1 gem installed
    • Installing ri documentation for rake-0.8.4...
    • Installing RDoc documentation for rake-0.8.4...
  • 19. If that’s Ruby http://www.flickr.com/photos/bflv/3328427869/ What’s IronRuby?
  • 20. http://www.flickr.com/photos/djwhelan/8395783/
  • 21. http://www.flickr.com/photos/mendhak/2117622450/sizes/o/ Combing the two worlds
  • 22. Data Gen Screenshot
  • 23. Reflector Screenshot
  • 24. Resolver Systems
  • 25. change How will the DLR your world?
  • 26. Thank you! Twitter - @Ben_Hall Blog.BenHall.me.uk [email_address]
  • 27. Links
    • http://www.codeplex.com/dlr
    • http://www.codeplex.com/Ironruby
    • http://www.codeplex.com/ironpython
    • http://blog.benhall.me.uk/2009/04/embedding-ironruby-and-dlr-into-red.html
    • http://msdn.microsoft.com/en-us/magazine/dd434651.aspx
    • http://msdn.microsoft.com/en-us/magazine/dd453038.aspx
    • http://www.resolversystems.com
    • http://www.manning.com/foord/