Re: Dvorak on Microsoft and .NET
- From: "Wayne Niddery [TeamB]" <wniddery@xxxxxxxxxxxxxx>
- Date: Sun, 7 May 2006 21:46:56 -0400
Jolyon Smith wrote:
That's my original point: .net sets the limits in a way that the
previous API (Win16/Win32) did not.
As Win32 set limits Win16 did not have and Win16 set limits DOS did not
have, and DOS set limits the CPU does not have?
There are always limits, the issue is only whether those limits are
reasonable or whether they stop you from doing something that is crucial and
cannot be done effectively another way.
AIUI that would happen naturally when debugging a project comprising
code from both languages, e.g. a C# app that uses a control authored
in Delphi. It's a feature/benefit of .net, isn't it?
Fair enough. If debugging from Delphi, this probably works, though I have
not tried it, so I'm not certain (but if not yet then likely will in
future - reasonable feature IMO). If debugging from VS, then no, but you
will then be debugging directly in the IL - it's not going to generate C#
code and put you somewhere in that. Essentially this is the same as
debugging code in Win32 you do not have the source for - you can still do
it, but you're going to be looking at assembler code.
Right, but lets pretend that .net didn't support sets. Then Delphi -
couldn't- have them and still be a .net language. This level of
dependency between language and platform is new (in the Wintel world
at least).
Delphi could still *emulate* sets so that we could still use them, as long
as it was able to *resolve* them into something that was compatible with
..Net - and we would still not need to care from a Delphi POV - there'd be no
semantic difference. If you debug without source, then as above you will
then be into the IL and will have to figure out what it's doing and that the
code you see there represents Delphi "sets". Once again the analogy with
Assembler applies.
Having established that sets are supported by .net, lets instead
contemplate some hypothetical new language feature "X":
.net doesn't have "X", therefore no .net language can offer "X" either
as an extension to or improvement of .net, unless and until Microsoft
choose to permit that feature by extending .net itself.
Unless that language feature can be implemented in a way that allowed it to
resolve to something compatible.
Basically, there is nothing that is really off-limits to any language at all
as long as it can be implemented in a way that is acceptable to .Net.
Another actual example: In .Net *all* variables require a type, but yet
Delphi still allows untyped parameters as per prior Delphi versions, and it
resolves just fine into safe, managed, verifiable, .Net code. The answer was
simply to compile that parameter as TObject. It still works *exactly* as it
always has in Delphi, yet is compatible.
So a language can choose to add, and express, a feature any way it likes.
It's just a matter of how it is implemented under the covers. Thinking that
language expression is somehow limited by .Net would be the same as saying
no Win32 language can have OO features because the CPU doesn't support it.
The point is it doesn't *have* to support it - OO is handled by the
*compiler*.
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
"Bandwagons are like streetcars, there'll be another along in a few
minutes."
.
- Follow-Ups:
- Re: Dvorak on Microsoft and .NET
- From: Jolyon Smith
- Re: Dvorak on Microsoft and .NET
- From: Chris Burrows
- Re: Dvorak on Microsoft and .NET
- References:
- Dvorak on Microsoft and .NET
- From: Mat Ballard
- Re: Dvorak on Microsoft and .NET
- From: Dave Nottage [TeamB]
- Re: Dvorak on Microsoft and .NET
- From: Felipe Monteiro de Carvalho
- Re: Dvorak on Microsoft and .NET
- From: Jolyon Smith
- Re: Dvorak on Microsoft and .NET
- From: Oliver Townshend
- Re: Dvorak on Microsoft and .NET
- From: Jolyon Smith
- Re: Dvorak on Microsoft and .NET
- From: Jolyon Smith
- Re: Dvorak on Microsoft and .NET
- From: Jolyon Smith
- Re: Dvorak on Microsoft and .NET
- From: Wayne Niddery [TeamB]
- Re: Dvorak on Microsoft and .NET
- From: Jolyon Smith
- Dvorak on Microsoft and .NET
- Prev by Date: Re: Info from the meeting with David I/Jason Volkes in Denmark
- Next by Date: Re: Dvorak on Microsoft and .NET
- Previous by thread: Re: Dvorak on Microsoft and .NET
- Next by thread: Re: Dvorak on Microsoft and .NET
- Index(es):
Relevant Pages
|
|