 |
|  |
 |
|  |
 |
|  |
 |
|
Sir Ralph
|
 |
Long live teh Schwampel!
Dec 2001 time: 06:27
|
|
Geee, was it necessary to resurrect this thread? 
raghar, can you tell me where this quote comes from (you used it):
quote: 2 * TWO is converted to 2 * 2 by the preprocessor before compilation. This causes the compiled program to run faster as it does not have to look up the value of the constant during run-time. |
I ask, because it's utter nonsense. Any optimizing compiler using an explicit or implicit preprocessor (that's practically all I used in the past 10 years) wouldn't compile this like "2*2", but precompute 4 and load it in the appropriate register. For the i386 architecture, this would be for instance "mov eax, 4" and that's it. It makes absolutely no difference whether the code is "TWO * 2" or "2 * 2". "To lookup a constant" is crap, because it's, well, a constant, and can be used as immediate value. Otherwise it would be a variable.
Anyway, C# is a good thing and I will gladly use it, when one more condition is met:
Attachment: hell.jpeg
This has been downloaded 42 time(s).
|
|
|  |
 |
|  |
 |
|  |
 |
|  |
 |
|
Yog-Sothoth
|
|
Trondheim, Norway
Sep 2000 time: 06:27
|
|
quote: Originally posted by Asher
And I would disagree that ISO certification doesn't mean squat. It means the people pissed off about MS possibly changing things on them to make their implementations incompatible now have to put up and shut up... |
The certification only covers C# and the CLI. When all the API's, libraries etc that .Net consists of is submitted to a standard organization and certified, then we have something to talk about. As of now only a small part of the environment is open. Seems more like PR bullshit than anything else...
|
|
|  |
 |
|  |
 |
|
Asher
|
 |
Calgary, Alberta
Nov 1999 time: 22:27
|
|
quote: Originally posted by Yog-Sothoth
The certification only covers C# and the CLI. When all the API's, libraries etc that .Net consists of is submitted to a standard organization and certified, then we have something to talk about. As of now only a small part of the environment is open. Seems more like PR bullshit than anything else... |
Nonsense, I don't think you understand how the CLI works in C#.
I've heard this argument profusely on Slashdot, too, and it gets modded up by people who also don't know what they're talking about.
The .NET API is built into the C# CLI. The CLI parses the API. It's not just a code interpreter like you seem to be under the impression of it being, it's an environment which contains both the libraries, APIs, and the interpreter.
Under this ISO flag, the libraries, its APIs, and the actual interpreter itself are ISO standards.
I'll put it this way: C# code doesn't compile in all of the libraries when you compile a code. Those libraries exist pre-compiled in the CLI environment, and all the code does is call them remotely as an object. Those objects and libraries (and correspondingly, the APIs) are a critical component of the CLIs and are covered under the ISO standard.
Now, of course it's possible for someone to make their own library and use it, but it wouldn't be an ISO standard then, and MS is using their own libraries which are included in the CLI.
|
|
|  |
 |
|  |
 |
|
Yog-Sothoth
|
|
Trondheim, Norway
Sep 2000 time: 06:27
|
|
quote: Originally posted by Asher
Nonsense, I don't think you understand how the CLI works in C#.
I've heard this argument profusely on Slashdot, too, and it gets modded up by people who also don't know what they're talking about.
The .NET API is built into the C# CLI. The CLI parses the API. It's not just a code interpreter like you seem to be under the impression of it being, it's an environment which contains both the libraries, APIs, and the interpreter.
Under this ISO flag, the libraries, its APIs, and the actual interpreter itself are ISO standards.
|
The .NET API is not build into the C# CLI. The .NET Framework Components are:
- ASP .NET: Web Forms & Services
- User Interface (System.WIndows.Forms, etc)
- ADO .NET: Data & XML
- .NET Framework CLass Library
- Common Language Runtime
And as I understand it, the ISO standard will only cover the CLR (and C#).
Edit: read the damn thing wrong, its in fact the CLI that is submitted.
Y-S
Last edited by Yog-Sothoth on 04-04-2003 at 13:30
|
|
|  |
All times are GMT. The time now is 05:27. Apolyton Time is 00:27. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|