Goofing around with TypeScript & Windows Script Host

I’ve been horsing around a lot lately with Windows Script Host for various reasons, some more interesting than others.  I’ve actually done a bunch of random things to make it much more palatable under Visual Studio 2012:  perhaps I’ll share some of that goofy magic later, but for right now I’m now trying out TypeScript, because…

3

Quick note about x64 Tail call

A coworker on the CLR dropped by recently, having hit a brick wall about some problem he was having with some ASM code for x64 that was trying to tail call.  He has already grep’ed through the ABI docs, and had actually hit this blog prior to knocking on my door.  The problem?  How to…

1

What’s in a title?

My wife just asked “What’s an ‘after-sales engineer’?”  I parsed the terms, and came up with “Tech Support Dude”.  As a teenager, I was a Foliage Architect (I mowed lawns), System Builder (computer assembly slave), Network Administrator (very poorly paid, local ‘after sales engineer’) and an Information Delivery Engineer (paper boy).

0

The customer is wrong

I just watched the highly lame “You wouldn’t steal a car…Downloading pirated movies is stealing” ‘trailer’. How’s this for irony: I watched this trailer because it was the SECOND thing to play on the DVD of Die Hard 4 that I just purchased. The FIRST thing to play on this DVD was a menu that…

0

Turning off comments for a while…

The spam bots have been causing me all sorts of trouble – I had over 1000 messages informing me that some spam has been deleted over the weekend.  I’m going to kill comments, and hope that in a few months, (after I get a chance to write up something of value), the spam bots will…

0

Vista x64 Media Center ‘fix’

<RETRACTION> Crap.  After getting a couple of comments saying they tried the same thing, and it didn’t work for them, I went back and tried it myself.  And it turns out it doesn’t work.  I think I had tried it with some media that I had already transcoded to WMV without realizing it.  The reason…

5

How not to benchmark different languages

I’ve recently been trolling the web for any sort of language-comparision benchmarks, to see how the CLR’s JIT stacks up to the competition.  Dr. Dobbs has what seemed to be a pretty reasonable micro-benchmark article.  It’s not particularly insightful, but hey, it is hard to come up with stuff that makes sense to compare across…

8

Boost 1.34.0 and how to get it to build for AMD64…

I’ve recently been deluged by a pile of new electronic gadgets* so that I haven’t had time to do much coding.  So I was looking around yesterday and found that there’s (finally) a new version of Boost available.  I was actually underwhelmed by the lack of interesting new libraries that have been added (there have…

0

How to use RtlUnwindEx

Disclaimer:  I’ve never actually written an unwind personality routine, so take what’s here with a grain of salt. A few days back, I spent 30 minutes defending the C++ runtime’s exception handling personality routine to the guy that has the less than enviable job of supporting the .Net Framework’s exception handling personality routine.  The eventual…

1

AMD64 unwind info gotchas

I had a brief e-mail exchange with one of the devs on the optimizer team about a checkin he put up for review.  He modified the compiler so that it only aligns the stack for functions that call other functions – that’s the typical definition in compiler lingo of a ‘leaf function’.  My first response was “don’t…

1