Blog Stats
  • Posts - 79
  • Articles - 1
  • Comments - 30
  • Trackbacks - 191

 

Tuesday, September 13, 2005

PDC05: IIS7 Rocks!

There's been so many technologies for me to learn since joing Microsoft. IIS7 is one that I had not seen yet and it is truely impressive. The Metabase is DEAD! You can now configure IIS7 websites using the web.config file which means application deployment and configuration is a lot easier.

One of the things you can configure is the modules that are configured for each site. You can not only add your own modules, but you can remove modules provided by Microsoft. One of the demos I saw showed all of the modules removed including authentication and static file modules. Basically, configured a null web server. The advantage of this is total control over what bits are running on the server.

Another feature of file-based configuration is that site managers can configure their website without having to be administrator on the server machine.

There were a ton of features shown..too many to write about. I'll point you to the Communications track at PDC Bloggers for observations from others.

PDC05: Writing a Dynamic Language Compiler in One Hour

I've already seen much of the technology here at the PDC05, so I've been looking for presentations that would teach me something new. One of the sessions that popped out at me was TLN410, CLR: CLR: Writing a Dynamic Language Compiler in One Hour. I haven't written a compiler since classes in college, so this was a nice review of a writing a basic scanner/parser that targets the CLR.

The scenario is a made-up language called Good For Nothing (GFN). I would have called it GFN# or GFH.NET, but that's probably a good reason I'm not giving this presentaiton.

The compiler itself is written in C# and then uses Reflection.Emit to generate the IL code for and calls into the framework to compile a simple application written in GFN:

var x = “hello world“;
print x;

Note the local variable type inference. :) They also showed type coercian implemented in the compiler. Nothing complicated, but cool to see those dynamic language features in a compiler targeting the CLR.

 

 

Copyright © Drew Robbins