| Kyle's profileKyle HuntleyPhotosBlogLists | Help |
|
August 22 Browser vs Runtime, Atlas/Ajax, WPF thoughtsSome thoughts about the boundary between what we traditionally think of as thin and thick client apps. With the increasing complexity of the browser environment I think the distinction is blurring between using a browser as an execution host vs. a “traditional” run-time as an execution host. In the beginning there was the native client, and it was good. For a while at least, until IT departments found out how expensive it was to maintain that software configuration. So came the radical shift towards thin client, with a goal of zero client side application footprint. There were two options: · Distribute a runtime and enable it to run network portable code. Like Java and Applets. · Use a browser and send lightweight markup over the network.
Well, at the time there were problems with the runtime approach: · Distributing the Java runtime was problematic for many network connections. · Applets were painfully, agonizingly, slow in execution · The applets were also relatively big for the network (then) to carry.
So, momentum shifted to the browser model. Well the browser was small and fast, and the markup was light, but it couldn’t really do that much. Accordingly, the industry spend a decade or so enhancing the browser object models and environments until the browsers became runtimes in their own right, which are capable of hosting reasonably complex software that just happens to be JIT-Loaded from a web server, taking us to Atlas / Ajax today. Atlas / Ajax does not represent any “Best Practices” in development from a purely technical standpoint; there are better ways to do it all. It is the unfortunate reality that the industry has been unable to settle on a single well-conceived runtime environment and has instead taken a drunkard’s walk to arrive at a very unappealing, but relatively standard, programming environment. Ajax is simply a way of trying to paper over the “poor” client characteristics of the browser / markup technology rootstock. If we re-examine the runtime vs. browser decision today, would we make the same decision? · Browser downloads are now comparably sized to full-fledged runtimes and networks are much faster, so the browser no longer has any clear advantage in runtime distribution. · “Applets” or transportable .NET code is plenty fast for the client now, so that reason favoring the browser is also gone. · Downloaded byte-code or IL can still be pretty big. This can be managed with proper techniques, but it is still nowhere near as light as interpreted script and markup.
So it seems that the size of the executable is the last strong fundamental reason to favour the browser model. This must be balanced against the inferior programming model. With new markup-enabled rich client technologies, such as WPF and Silverlight, the applications distributed to the client side run-times will be light enough, but with good user experience plus properly robust and productive development models. This should knock the final pin out from under the browser approach. From both a user and a developer standpoint I look forward fondly to a day where I don't have to submit to the tyranny of the back button. ;-)
August 06 JITting Phoenix... Grid?In the context of all the multi-core processor excitement, I’d like to see a JITter that would optimize to the target parallel architecture. It’s a hard problem but there are ways to approach it. Experimental re-JITting and measurement in sandboxes, with the JIT strategies selected from an heuristic analysis of the code, for example. Or a formal analysis for that matter, and strictly functional code in critical sections could simplify the analysis. The Phoenix project: http://research.microsoft.com/Phoenix/ suggests the near term availability of tools that could really help with this. Of course targeting N cores would just be the beginning, because you could use the same technology to underpin a “Big G” Grid. August 05 Waterfall == CommunismWaterfall projects fail for the same reason Communism failed. They tried to control a big complex system, their economy, from the top down. Planning and control. Well that didn't end up being too efficient or successful. Software projects are big complex systems too. So, the next time someone asks you for an estimate, refuse and call them a commie. Just kidding. Of course I think the idea with the say, Soviet, economy was that eventually there would be a change in human nature and people would gladly labor side by side to the best of their abilities, taking only what they needed and giving all they could in an economy of plenty. Sort of like, hmm, Star Trek? The funny thing is, I've seen development environments where people really do act like that and there is an intellectual economy of plenty, but never in a big command and control environment. |
|
|