S
spinoza1111
Scott Roberts said:
Ah, I approve.
Okay - *at the time*, no, we didn't bother. We simply showed the boss the
comparative figures, and he agreed that there was no point in continuing
with .Net. After all, everyone has deadlines, and we'd already beaten
ours. The last thing anyone wanted was to add another three months to the
project while we fiddled around trying to figure out how to get Yet
Another Microsoft Technology to do as it's told. It was that or deliver
And, of course, to Learn YAMT.
fast code, early, within budget. We chose the latter. Wouldn't you?
Later on, however, one or other of us (I forget which) discovered (I'm not
sure how authoritatively) that, apparently, .Net is not good at heavily
Dijkstra was precise: much of what passes for knowledge in computing
circles is a sort of oral folklore, whisperings of dark secrets around
campfires in a demon-haunted world.
How would .Net not be good at recursion? My parser in the compiler for
Build Your Own .Net Language and Compiler worked at constant time
applying a rather deeply recursive top-down descent algorithm.
.Net has to set up a safe and rational procedure call for recursion
the first time, and reuse it depending on the depth of recursion. The
folk-lore isn't confirmed that it isn't "good" at recursion.
Recursion was hard when routines supplied "work areas" to their
callees and compilers blew their tops trying to compile a recursive
call. The rumor that .Net's technologists messed it up, when the
academy has long known what you have to do (think stacks, Richard) is
a blood libel.
recursive code, and since our code did little else *but* recurse (its
function was to extract dependency relationships from source code, and
much of this was achieved by parsing the source to look for stuff like
#include "foo.h", <a href="yadayadayada.html">, etc etc - and parsing is
an inherently recursive process), this may go some way towards explaining
the huge performance disparity between .Net and native code.
Whoa, a huge performance disparity emerges as it were from de jungle.
I'm no expert on relative performance disparities between .Net and
native. I do know, however, that historically, whenever a man wanted
to solve a problem with some sort of run-time language that had to be
interpreted in some way, your basic Computer Guys would mutter
aaaaargh burn me buttocks would ye slow things down, belike?
There is such a think as folkish wisdom. But there is also folly in
the folk.
With all due respect, this sounds to me belike one of those *ersatzen*
for due diligence, in which the actual coders are invited by
management to evaluate a new tech direction without being given any
slack on the deadlines, which they could use to sit back and do due
diligence.
I mean, did you write recursive code and run it on a .Net platform
side by side with a "native" platform?
It sounds to me that some guy passed along a rumor at some meeting.
One reason why programmers, and many other decent folk, abhor meetings
in tech venues where the main job is production. No time is given for
intellectual honesty, and Rumour, painted full of tongues, is the time-
saver of choice.
This is to me an economic tragedy as severe as that of the commons,
but nameless. The workers are asked to take control by management but
not given the time to do the work of self-management, and for this
reason, revert to folk-lore.