jducoeur: (Default)
[personal profile] jducoeur
Fond though I am of hating Microsoft (due to its excessively aggressive business tactics), I have to admit that Microsoft Research comes up with remarkably cool ideas from time to time.

Computer language geeks should check out this article on the hypothetical language Xen. This is basically a collection of extensions to C# to make it much more usable for data processing. In particular, the article describes how to extend C# to make it really, really easy to use it for XML processing; along the way, they almost casually make it easier to embed SQL processing as well.

Of course, the annoying thing is that the chances of actually seeing this language come to market are slim -- MSR comes up with any number of great ideas that the Monolith never actually gets around to selling. But I can hope -- I suspect these concepts have ramifications well beyond XML processing...

Not so sure about the XML part...

Date: 2004-01-09 06:53 pm (UTC)
From: [identity profile] metageek.livejournal.com

Call me a heretic, but I'm not as thrilled about XML as some people. As a result, I wasn't expecting to be all that excited...but I was wrong. Wow. They really got my attention with:

string* titles = bib.books.title;

I mean, that is an amazingly powerful construct, and one that I've actually wanted in the past. It's the sort of operation I have in my head sometimes, when I have to write out the explicit code for it; being able to make it a one-liner would be fantastic.

And then they throw in the functional style with:

sequence{string; int;}* bs = AWBooks.{return new(it.title, it.year);};

Fantastic. Oh, and yield; that would be an amazingly useful bit of shorthand. I've worked a bit with lazy-evaluation sequences in Scheme, but having explicit language support for them would be so much more useful.

Profile

jducoeur: (Default)
jducoeur

October 2025

S M T W T F S
   12 34
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags