473,378 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Optimizing code - is /O2 faster that /Ox ???

The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?
Jul 21 '05 #1
70 2492
"grün" <gr**@copperdog.gro> wrote in
news:d1********************************@4ax.com...
The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?


This is a C++ compiler question, I think this is the wrong ng.
Anyway, I doubt another ng could give you a clear answer: This always
depends on the code you write and on the target machine; The only way to
know for sure is to do benchmarks with performance critical code on a broad
number of machines.

Niki
Jul 21 '05 #2
Niki,
This is a C++ compiler question, I think this is the wrong ng.


Why are all VBNet and C# questions answered in this NG and can that not with
C++?

(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).

As forever not meant as flame

:-)

Cor
Jul 21 '05 #3
Cor Ligthert wrote:
Niki,
This is a C++ compiler question, I think this is the wrong ng.


Why are all VBNet and C# questions answered in this NG and can that
not with C++?


Because the question isn't about .NET in general. It is about native code
optimization, and I'm pretty sure you'll get a much better answer in one of
the *vc* groups anyway ;-)

The same goes for C# and VB.NET specific questions. These don't belong here
either. Unfortunately, too many users still cannot tell the difference
between a language question and a framework question or are just too lazy
:-(

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Jul 21 '05 #4
"Cor Ligthert" <no**********@planet.nl> wrote in
news:uV******************@TK2MSFTNGP10.phx.gbl...
Niki,
This is a C++ compiler question, I think this is the wrong ng.
Why are all VBNet and C# questions answered in this NG and can that not
with
C++?


Because this is a question about unmanaged code. In managed code,
optimization is done by the JIT.
(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).


Err... I think I did exactly that...

Niki
Jul 21 '05 #5
Please post VC related questions to the specialized NG :
microsoft.public.dotnet.languages.vc
Willy.

"grün" <gr**@copperdog.gro> wrote in message
news:d1********************************@4ax.com...
The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?

Jul 21 '05 #6
Err... I think I did exactly that...


Where when it was about C# or VBNet, than I will excuse myself to you

Cor
Jul 21 '05 #7
Joerg,

A special reason why you deleted the part where I wrote about answering in
the language NG in this messages.

When you quote than please do it correct and do not put a message in a
different meaning by deleting essential parts of the original message or
delete the complete message.

To show you an example what you wrote in the style you did with mine as I do
it with yours.
Because the question is about .NET in general.
The same goes for C# and VB.NET specific questions. These belong here


You wrote that, I only deleted some essential parts the same as you did.

Cor
Jul 21 '05 #8
"Cor Ligthert" <no**********@planet.nl> wrote in
news:OJ**************@tk2msftngp13.phx.gbl...
Err... I think I did exactly that...


Where when it was about C# or VBNet, than I will excuse myself to you


Well, I did answer the guy's question to the best of my knowledge, and I
told him there are better ng's for his qeustion. I really don't see your
point.

Niki
Jul 21 '05 #9
Niki,
Err... I think I did exactly that...


Where when it was about C# or VBNet, than I will excuse myself to you


Well, I did answer the guy's question to the best of my knowledge, and I
told him there are better ng's for his qeustion. I really don't see your
point.

This was the primair point of my question:
Why are all VBNet and C# questions answered in this NG and can that not with
C++?

Cor
Jul 21 '05 #10
"Cor Ligthert" <no**********@planet.nl> wrote in
news:%2****************@TK2MSFTNGP10.phx.gbl...
...
This was the primair point of my question:
Why are all VBNet and C# questions answered in this NG and can that not
with
C++?


I *did* answer the C++ question, to the best of my knowledge.

Niki
Jul 21 '05 #11
Cor Ligthert wrote:
Joerg,

A special reason why you deleted the part where I wrote about
answering in the language NG in this messages.
No, not at all.
When you quote than please do it correct and do not put a message in a
different meaning by deleting essential parts of the original message
or delete the complete message.
I didn't. I answered a specific question. You made two simple statements:
Why are all VBNet and C# questions answered in this NG and can that not
with
C++?
.... to which I replied to and
(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).
.... which IMHO doesn't add anything to the discussion.
To show you an example what you wrote in the style you did with mine
as I do it with yours.
Because the question is about .NET in general.
The same goes for C# and VB.NET specific questions. These belong here


You wrote that, I only deleted some essential parts the same as you
did.


That's baloney. You edited and distorted my statement, whereas I only quoted
the first part of your post *as is*.

Maybe I should have added [...] at the end of the quote, but other than "Um,
cool, I agree" there's little I could have replied to your second statement.
In the end, we both say there are better places to go ;-)

--
Joerg Jooss
jo*********@gmx.net
Jul 21 '05 #12
Niki,

I *did* answer the C++ question, to the best of my knowledge.

Did I deny that?

I think it was the right answer, however I am asking also myself why, when I
do that for VBNet, I will sometimes be flamed (And I can assure you that I
know when it is more a language question than a general question).

In my opinion should this be done for C# as well, for which I am more
carefully to do it, however when it is obvious I do it.

That means not to say to the OP "you are not welcome here", however for the
ones who don't know those newsgroups exist, help them to find those.

Cor
Jul 21 '05 #13
Joerg,

We agree in my opinion,

However I did not change one word in your message (only deleted a lot) where
I tried to show that with deleting text a message can be completly get out
of its context. What it was in my opinion.

I do not disagree with Niki's answer, I only asked why this is only done by
me when it is about VBNet and C#, while I think that it can be a good
answer.

On what you answered that your opinion was the same as mine by the way.

:-)

Cor
Jul 21 '05 #14
Cor Ligthert <no**********@planet.nl> wrote:

<snip>
I think it was the right answer, however I am asking also myself why, when I
do that for VBNet, I will sometimes be flamed (And I can assure you that I
know when it is more a language question than a general question).


<snip>

I think the problem is that historically you *haven't* known when
something is more a language qusetion than a general question - or at
least, your opinion of that has been significantly different to that of
other posters.

(The question about string concatenation on here a while ago being a
prime example of that. The most appropriate answer, namely using
StringBuilder, is completely non-language-specific.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #15
>
I think the problem is that historically you *haven't* known when
something is more a language qusetion than a general question - or at
least, your opinion of that has been significantly different to that of
other posters.

(The question about string concatenation on here a while ago being a
prime example of that. The most appropriate answer, namely using
StringBuilder, is completely non-language-specific.)


Again completly constructivly set in the context from Jon Skeet.

In that case the OP did give a complete sample in VBNet code, where I was
the first who told that it was better to use the Stringbuilder and gave a
piece of new code including the Stringbuilder. And told that a better place
for VBNet problems was the language.vb newsgroup.

However it was very much flamed by Jon Skeet because telling people that the
language.vb group is a good newsgroup for VBNet problems is not good in the
eyes of Jon Skeet.

Cor


Jul 21 '05 #16
Cor Ligthert <no**********@planet.nl> wrote:
I think the problem is that historically you *haven't* known when
something is more a language qusetion than a general question - or at
least, your opinion of that has been significantly different to that of
other posters.

(The question about string concatenation on here a while ago being a
prime example of that. The most appropriate answer, namely using
StringBuilder, is completely non-language-specific.)
Again completly constructivly set in the context from Jon Skeet.


Just trying to alert you to the fact that while you think you know what
is best posted in a language group and what is best posted in the
general group, others have disagreed with you. I only provided one
example, but there have been others (including in other groups).
In that case the OP did give a complete sample in VBNet code, where I was
the first who told that it was better to use the Stringbuilder and gave a
piece of new code including the Stringbuilder. And told that a better place
for VBNet problems was the language.vb newsgroup.
But the point is that everyone on that thread apart from you agreed
that it would have been no better on the language-specific group than
on the general group. You were the only person who believed it to be a
language-specific question.

(For those who wish to see what I mean, the thread in question was
titled "How to efficiently chunk long string". It's easy to find in
groups.google.com.)
However it was very much flamed by Jon Skeet because telling people that the
language.vb group is a good newsgroup for VBNet problems is not good in the
eyes of Jon Skeet.


It's fine, but so was the original post on .general. There was nothing
VB-specific about the code being posted.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #17
It's fine, but so was the original post on .general. There was nothing
VB-specific about the code being posted.


This was the original question. Have especially an eye on the last sentence
and in that the word "Routine" however I think you have only readed the
subject of that question and never the question itself only started direct
flaming when I told that for that the language VBNet newsgroup was a better
place.

-----------------------------------------------------------------------
I'm trying to chunk a long string SourceString into lines of LineLength
using this code:

Dim sReturn As String = ""
Dim iPos As Integer = 0
Do Until iPos >= SourceString.Length - LineLength
sReturn += SourceString.Substring(iPos, LineLength) + vbCrLf
iPos += LineLength
Loop
sReturn += SourceString.Substring(iPos)

It's OK if the SourceString is less than 1 mb. But if it's over 5 mb, the
cost of time and machine resource is intolerable.
Does anyone has a better idea or a routine dealing with large SourceString?
--------------------------------------------------------------------------
Jul 21 '05 #18
Cor Ligthert <no**********@planet.nl> wrote:
It's fine, but so was the original post on .general. There was nothing
VB-specific about the code being posted.


This was the original question. Have especially an eye on the last sentence
and in that the word "Routine" however I think you have only readed the
subject of that question and never the question itself only started direct
flaming when I told that for that the language VBNet newsgroup was a better
place.


Um, no. I read the question itself. It had nothing to do with VB
specifically - which is why the answer wasn't anything to do with a
particular language construct, but to use StringBuilder. That would
have been the answer if the question had been posted in C#, too.

You still seem to have missed my point though: how can you assure us
that you know what's language specific when many of us have disagreed
with you about it in the past?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #19
Cor Ligthert wrote:
Joerg,

We agree in my opinion,

However I did not change one word in your message (only deleted a
lot) where I tried to show that with deleting text a message can be
completly get out of its context. What it was in my opinion.


I still think there's a *slight* difference between your (sample) editing
and mine, but since we cheerfully agree, I call it quits for now.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Jul 21 '05 #20
> You still seem to have missed my point though: how can you assure us
that you know what's language specific when many of us have disagreed
with you about it in the past?


I can answer this, maybe you can be that polite to answer the point about
"Nothing to do with VB.Net before you take a new subject" although I show
that there is a complete routine in the question from the OP for which he
ask a beter one.

However the sentence above is again a constructive Jon Skeet sentence those
"many" where 2 persons who where never active in the General newsgroup from
who one was telling this (The messages from that person were at that time
often to see in the C# newsgroup)..

\\\a sentence from someone in the thread you talking about
Jon Skeet [C# MVP] wrote:
[...]

Why are you so keen to get *all* questions on the VB.NET newsgroup?

Hehe. It certainly makes one wonder.

///
And the other one was Jay B, who reacted on a completly by youconstructive
out of the context places sentence were I said "there were no answers given
in this newsgroup except by me" while I meant "answers in this thread in the
newsgroup except by me", however used by you directly in all folowing
messages as if I was telling nobody would gives answers in this newsgroup
except me.

You show exactly what I was meaning with my first question to Niki.

Cor


Jul 21 '05 #21
A little correction
And another one was Jay B, who reacted on a completly by


Jay placed one message in the thread so there where 6 persons active
including you and me.

The actual OP who went on in the newsgroup.languages.vb and actualy even did
a fine test about the stringbuilder and was not seen again in the
dotnet.general newsgroup and did not give any reactions on the flames.

Jon Skeet,
Jay B with one message.
2 others seldom seen before and afterwards in this newsgroup dotNet general
Me

Cor

Jul 21 '05 #22
Cor Ligthert <no**********@planet.nl> wrote:
You still seem to have missed my point though: how can you assure us
that you know what's language specific when many of us have disagreed
with you about it in the past?
I can answer this, maybe you can be that polite to answer the point about
"Nothing to do with VB.Net before you take a new subject" although I show
that there is a complete routine in the question from the OP for which he
ask a beter one.


Sorry, I hardly understood a word of that, including the point you were
asking me to reply to. You you rephrase it?
However the sentence above is again a constructive Jon Skeet sentence those
"many" where 2 persons who where never active in the General newsgroup from
who one was telling this (The messages from that person were at that time
often to see in the C# newsgroup)..
3, including another MVP - in that single thread. There are other
threads, of course - this was just the example I was able to find
quickest.
\\\a sentence from someone in the thread you talking about
Jon Skeet [C# MVP] wrote:
[...]

Why are you so keen to get *all* questions on the VB.NET newsgroup?Hehe. It certainly makes one wonder.

///
And the other one was Jay B, who reacted on a completly by youconstructive
out of the context places sentence were I said "there were no answers given
in this newsgroup except by me" while I meant "answers in this thread in the
newsgroup except by me", however used by you directly in all folowing
messages as if I was telling nobody would gives answers in this newsgroup
except me.


Well, I read that comment from Jay as agreeing with my general point on
the thread, but I agree he might have been only agreeing with the
single post.

(The reason yours was the only answer to the OP in that thread was that
it was the only answer needed. It gave the right answer as well as the
(misplaced) redirection. Why should anyone give the same answer again?)
You show exactly what I was meaning with my first question to Niki.


Shall we have a look at another example, then?

http://groups.google.com/groups?thre...b9d542198a991%
40msnews.microsoft.com

It's another occasion you suggest using a VB group, despite the fact
that not only was there nothing VB-specific about the question, but in
fact the OP never mentioned VB at all! It turned out he was a C#
programmer in the first place...

You just seem a little too eager to redirect people to the VB group,
even when the question can easily be answered by people with no
detailed VB knowledge, and has benefit for people who don't use VB.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #23
>
3, including another MVP - in that single thread. There are other
threads, of course - this was just the example I was able to find
quickest.
May I ask what the status MVP has to do with this? I do not know why this
gives something extra in this discussion.

Altough contstructively as always from you, that was Jay B about whom I am
speaking in this same message, which was answering not on the subject
however on the by you constructed message.
And the other one was Jay B, who reacted on a completly by you

constructive................
Well, I read that comment from Jay as agreeing with my general point on
the thread, but I agree he might have been only agreeing with the
single post.
http://groups.google.com/groups?thre...b9d542198a991%


Why again another subject forever and forever. What kind of arguing this is
in a newsgroup when you start everytime with a new subject that has nothing
the do with the previous subject.

In contradiction to you it seems, yes I can make mistakes and this was one,
however not one that accoording to the OP was very important, although your
flaming disturbing in this thread was again very anoying. The Op did thank
me for my help in that thread by the way.

And maybe you can give an answer on the question about that first thread
where I showed that VBNet routine from the OP, where he had sand VBCode and
was asking for renewed code.

You told there was nothing about VBnet language code in that question.

This I asked you again and again, than you do not answer it and at least
tell than that you do not understand the question, however are able to
answer all other things very well.

Jul 21 '05 #24
Cor Ligthert <no**********@planet.nl> wrote:
3, including another MVP - in that single thread. There are other
threads, of course - this was just the example I was able to find
quickest.
May I ask what the status MVP has to do with this? I do not know why this
gives something extra in this discussion.


Just that MVPs are generally given their awards on the basis that they
usually know what they're talking about, and to counter the way you
seemed to dismiss the other people posting on the thread, as if the
fact that they haven't posted much in the group means that they can't
tell the difference between a language issue and a general one.
Altough contstructively as always from you, that was Jay B about whom I am
speaking in this same message, which was answering not on the subject
however on the by you constructed message.
And the other one was Jay B, who reacted on a completly by you
constructive................
Well, I read that comment from Jay as agreeing with my general point on
the thread, but I agree he might have been only agreeing with the
single post.

http://groups.google.com/groups?thre...b9d542198a991%


Why again another subject forever and forever. What kind of arguing this is
in a newsgroup when you start everytime with a new subject that has nothing
the do with the previous subject.


It absolutely has to do with the subject, which was this quote (from
you, in this thread):

<quote>
I think it was the right answer, however I am asking also myself why,
when I do that for VBNet, I will sometimes be flamed (And I can assure
you that I know when it is more a language question than a general
question).
</quote>

The point is that as people disagree with your idea of when a question
is language-specific, your assurance means very little, IMO.
In contradiction to you it seems, yes I can make mistakes and this was one,
however not one that accoording to the OP was very important, although your
flaming disturbing in this thread was again very anoying.
You call that flaming? Good grief. You should see some *real* flames.
Looking back on the thread, I was pretty polite, whereas you were
sarcastic ("I am not as good as you that without people write one
syllable about it I know that this is an ADO.NET question about").
Where exactly was the supposed flame?
The Op did thank
me for my help in that thread by the way.
I don't see the relevance. The point I was making is that you haved
suggested on more than a few occasions that people should have posted
on a VB-specific group when the question is nothing to do with the
VB.NET language itself.
And maybe you can give an answer on the question about that first thread
where I showed that VBNet routine from the OP, where he had sand VBCode and
was asking for renewed code.

You told there was nothing about VBnet language code in that question.
Indeed - nothing VB-specific. Sure, he wanted the code in VB.NET, but
even I could have cobbled together that much VB code, or at least given
him enough pointers on using StringBuilder to get him up and running.
The main thing is that the answer of "you should use StringBuilder
instead of string concatenation" is not language-specific, and nor was
the question, even though it was written in VB.NET.

You're still missing the point though: you gave your assurance that you
know when something is more of a language question than a general
question. Given that you have been disagreed with about this (not just
by me) on more than one occasion, what is the use of your assurance?
The fact that you still maintain that the first thread was a language-
specific question just reinforces my impression that we disagree
strongly on what counts as language-specific. The OP's question in
*this* thread, however, was very clearly language-specific.

I suspect when you have been flamed (in your eyes - I haven't seen much
flaming, to be honest - could you give an example?) it's for being a
bit overzealous in suggesting that people should have posted to the
VB.NET group instead.
This I asked you again and again, than you do not answer it and at least
tell than that you do not understand the question, however are able to
answer all other things very well.


I can answer when people write in plain English, but I'm afraid often
your English gets somewhat garbled when we get into an argument.
Believe me, when I ask you to rephrase something it's because I don't
understand what you're talking about, I'm being honest - it's not meant
to be some kind of delaying tactic.

Short note by the way: I'm going away early tomorrow morning, so if
suddenly I go abrupty silent, that's why. I'll pick it up on Tuesday
morning if there's anything left to reply to.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #25
I know you are MVP and do not deny your knowledge as you know.

However, the way you try every time to give the idea that I know nothing is
really bringing you down. I did show you some times in your way what you was
doing to others, when you did give absolute wrong answers. I stopped with
it, because you did not even see why I was doing it.

I can assure you that I can answer most VBNet language questions myself in
this newsgroup. To give the OP a better opinion is why I tell them there is
a language.vb newsgroup.

I do not see you do that with C# questions and see you even give VBNet
answers, which you have cobbled together. In my opinion, that is not helping
people in the right way. You may have another opinion. I feel free to have
mine.

Jul 21 '05 #26
Cor Ligthert <no**********@planet.nl> wrote:
I know you are MVP and do not deny your knowledge as you know.

However, the way you try every time to give the idea that I know
nothing is really bringing you down.
When have I ever said or implied that you know nothing?
I did show you some times in your way what you was doing to others,
when you did give absolute wrong answers. I stopped with it, because
you did not even see why I was doing it.
I can't remember when I gave "absolutely wrong" answers that you've
corrected. Care to remind me? The only example I can think of that you
may be considering is when I added the Ticks properties of TimeSpans
rather than adding the TimeSpans themselves. I accept (and did at the
time) that adding the TimeSpans is a more elegant solution - but my
answer was far from absolutely wrong. (I seem to remember that my
inelegant solution gave the OP what he wanted whereas your first
version adding TimeSpans didn't, however :)

I'm sure there have been times when I've been absolutely wrong and
you've corrected me, and the same occurs vice versa. I don't recall you
doing that without me seeing why you corrected me though. Which posts
are you thinking of?
I can assure you that I can answer most VBNet language questions myself in
this newsgroup.
Sure, and I've never denied that.
To give the OP a better opinion is why I tell them there is
a language.vb newsgroup.
You sometimes not only tell people that it's there, but that they
should have used it in the first place, when often that's
inappropriate, IMO.

I don't see why there's any need to post in other newsgroups when the
answer is available on .general in the first place.
I do not see you do that with C# questions and see you even give
VBNet answers, which you have cobbled together. In my opinion, that
is not helping people in the right way. You may have another opinion.
I feel free to have mine.


Yes, but "assuring" someone that you know the difference between
language questions and general questions when you know full well that
others disagree with you is implying that your opinion is definitely
more correct than those who disagree with you.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #27
Yes, but "assuring" someone that you know the difference between
language questions and general questions when you know full well that
others disagree with you is implying that your opinion is definitely
more correct than those who disagree with you.


This you base on 2 persons, which you called before many, in that thread
where 5 persons involved excluding me.

In the other threads it was always you and as far as I remember me the only
one and I will not overdo it again by telling how very intensive.

You never did give an answer what you thought that could be the reason that
I was telling about the VBNet newsgroup and have a clue why you are thinking
that I do it, however than that is wrong, I have no other reason than I gave
in my previous message.

I threath in this newsgroup all newsgroup equally, however I know very good
what is in the AdoNet and in the Language.Vb newsgroup for others it is
sometimes guessing (although I check almost always when it are other
newsgroups).

I never tell people "should" look first, I even have the idea that I have to
give a solution when I tell them that they can look better next time
(sometimes as well) in another newsgroup (although giving no C# answers
because I know you are active here and I than always tell without naming
you, that there are people in this newsgroup active who know the answer as
well, where I mean you. You know, I do not know if you are everyday here)..

This is one of the things I have worked together with Fergus Cooney hard on
to change as behaviour in the language.vb newsgroup and there you will never
see it, so it would be strange when I should do it in this newsgroup.

(I can sometimes use the word "should" wrong because, although it are almost
the same words, is the meaning from the second and thirth person "should"
and "would" in Dutch a little bit different, however I try to avoid to use
it wrong, because I know that and do surely not use it in the way you
write).

Ok lets make peace again.

:-)

Cor
Jul 21 '05 #28
Cor Ligthert <no**********@planet.nl> wrote:
Yes, but "assuring" someone that you know the difference between
language questions and general questions when you know full well that
others disagree with you is implying that your opinion is definitely
more correct than those who disagree with you.
This you base on 2 persons, which you called before many, in that thread
where 5 persons involved excluding me.


Well, 3 people (Jeff, myself and C# learner) or 4 depending on Jay's
meaning - but that was only in that single thread. I'm pretty sure I've
seen others disagree with you at other times, but I'll admit that could
be a faulty memory.
In the other threads it was always you and as far as I remember me
the only one and I will not overdo it again by telling how very
intensive.
I haven't done it that often, to be honest - and never harshly enough
to deserve the description of "flaming" IMO. So your comments in this
thread about you having been flamed - you were talking solely about me?
You never did give an answer what you thought that could be the
reason that I was telling about the VBNet newsgroup and have a clue
why you are thinking that I do it, however than that is wrong, I have
no other reason than I gave in my previous message.
Again, not sure what that sentence means, and to be honest I don't know
why you plug (or plugged) the VB group so often, if that's what you're
asking.
I threath in this newsgroup all newsgroup equally, however I know very good
what is in the AdoNet and in the Language.Vb newsgroup for others it is
sometimes guessing (although I check almost always when it are other
newsgroups).
What do you mean exactly by this? I don't follow you.
I never tell people "should" look first, I even have the idea that I
have to give a solution when I tell them that they can look better
next time (sometimes as well)
Well, you implied to Anony in that StringBuilder-related thread that he
shouldn't have posted the question in .general:

<quote>
Why are you sending a real "language.vb" question also to the
dotnet.general group.
</quote>

Asking someone why they're posting something on a group pretty much
implies that you think they shouldn't have done so, doesn't it?

Either way, you certainly haven't been doing it much recently, for
which I'm grateful.
in another newsgroup (although giving no C# answers because I know
you are active here and I than always tell without naming you, that
there are people in this newsgroup active who know the answer as
well, where I mean you. You know, I do not know if you are everyday
here)..
I read all groups whenever I read any, generally. If you can give
answers to questions posed in C# terms though, I encourage you to do
so. Why not?
This is one of the things I have worked together with Fergus Cooney hard on
to change as behaviour in the language.vb newsgroup and there you will never
see it, so it would be strange when I should do it in this newsgroup.
Do what on this newsgroup? What behaviour have you changed in the VB
group?
(I can sometimes use the word "should" wrong because, although it are almost
the same words, is the meaning from the second and thirth person "should"
and "would" in Dutch a little bit different, however I try to avoid to use
it wrong, because I know that and do surely not use it in the way you
write).

Ok lets make peace again.


Sure.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #29
> I haven't done it that often, to be honest - and never harshly enough
to deserve the description of "flaming" IMO. So your comments in this
thread about you having been flamed - you were talking solely about me?
LOL, I would have used that one very much earlier when I was you in this
thread , because I cannot deny that, and agree that it was not nice however
I thought that nobody would have noticed that. You may call that a mistake
from me. When you want my excuse done with this.
Again, not sure what that sentence means, and to be honest I don't know
why you plug (or plugged) the VB group so often, if that's what you're
asking.
I tried to answer bellow.
I threath in this newsgroup all newsgroup equally, however I know very good what is in the AdoNet and in the Language.Vb newsgroup for others it is
sometimes guessing (although I check almost always when it are other
newsgroups).

I know (basicly) what active people answers in those newsgroups. I do not
know that about other newsgroups, therefore in my opinion it would be good
that you told that there is a language.csharp newsgroup. I see this
"general" newsgroup as a general portal.
I never tell people "should" look first, I even have the idea that I
have to give a solution when I tell them that they can look better
next time (sometimes as well)
Well, you implied to Anony in that StringBuilder-related thread that he
shouldn't have posted the question in .general:

<quote>
Why are you sending a real "language.vb" question also to the
dotnet.general group.
</quote>


You see it was not pointing, it was a question. It was followed with my
sentence "In the language.vb newsgroup you get always an answer". Which is
in this newsgroup not always the case, although we both and others do our
best, some questions are (in my opinion) impossible to answer here, so I was
as curious why he did that.

And than came that message from Jeff that "every dotNet question is a Net
framework question", which I denied and you did agree that with Jeff after
some messages.

The OP never did give an answer on that, he followed the problem in the
language.vb newsgroup, where he did not answer that as well, the end of the
thread could have been an interesting discussion for the general group as
well by the way and had to do with that string constant we where talking
about lately. (And you would not have to reply on this, I do not often put
the bal direct almost inside my own goal)

By the way, who is making the most posts to tell people to use Crossposting
in the dotNet newsgroups, I think you know that, when not I will show you
who that is by a Google thread.
Asking someone why they're posting something on a group pretty much
implies that you think they shouldn't have done so, doesn't it?
No not directly, can be culture, in my culture asking is asking, telling is
telling (when there is no extra tone in that, what is only in speaking
situations and this is writing), you see in my idea more in this than there
is.
Either way, you certainly haven't been doing it much recently, for
which I'm grateful.
Actualy I have done it very much lately, I only added the Csharp group, to
please you and showing you it is not something special for VBNet.

I even have pointed yesterday someone to the VBNet newsgroup although that
was completly wrong, however the question was VBNet or C# and Outlook, and I
had not seen Jay a while in this newsgroup, probably it was a C# user, I
told him not to tell that, I hope you will forget this one. :-)
I read all groups whenever I read any, generally. If you can give
answers to questions posed in C# terms though, I encourage you to do
so. Why not?
Thank you, however as long as you are here better not. I make the same
simple mistakes as C# people in my opinion with VBNet. (Translating one
language to the other while there are in that language simpler solutions).
Do what on this newsgroup? What behaviour have you changed in the VB
group?


In the language.vb newsgroup was (in past) in our (Fergus and me) opinion a
kind of culture to tell people they "Should" by instance go to another
newsgroup. Fergus got arguments about that with an well known person in the
language.vb newsgroup and quited. The other person changed his behaviour by
the way completly and became in my opinion even better than he was before.

Therefore I really would not do that in this newsgroup. This is maybe not
the major newsgroup where I am active in, however I think that I am
sometimes really active here and find myself one of the more regulars of
this newsgroup.


Jul 21 '05 #30
> >This is a C++ compiler question, I think this is the wrong ng.

Why are all VBNet and C# questions answered in this NG and can that not with C++?

Maybe it's because VBNet and C# at least have something to do with .NET
whereas C++ compiler optimisation techniques are slightly, a bit very
slightly definitively off topic here..
Maybe someaday people will start threads here in which gas station the gas
is cheaper, see what you will say then :)

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
Jul 21 '05 #31
You guys must have problems :)

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
Jul 21 '05 #32
Cor Ligthert <no**********@planet.nl> wrote:

<snip>
And than came that message from Jeff that "every dotNet question is a Net
framework question", which I denied and you did agree that with Jeff after
some messages.
Check the thread again - *you* were the one who said:

<quote>
Everything is a framework question when it is dotnet.
</quote>

Jeff and I both disagreed with you on that. I still do. For instance

"What's the difference between int and System.Int32 in C#" is not a
framework question - it's specific to just C#.
The OP never did give an answer on that, he followed the problem in the
language.vb newsgroup, where he did not answer that as well, the end of the
thread could have been an interesting discussion for the general group as
well by the way and had to do with that string constant we where talking
about lately. (And you would not have to reply on this, I do not often put
the bal direct almost inside my own goal)

By the way, who is making the most posts to tell people to use Crossposting
in the dotNet newsgroups, I think you know that, when not I will show you
who that is by a Google thread.
I don't generally suggest cross-posting, because I think there's
*usually* a single group which is best-suited to a question. Cross-
posting is definitely a lot better than multi-posting though - on that
we agree.
Asking someone why they're posting something on a group pretty much
implies that you think they shouldn't have done so, doesn't it?


No not directly, can be culture, in my culture asking is asking, telling is
telling (when there is no extra tone in that, what is only in speaking
situations and this is writing), you see in my idea more in this than there
is.


So there's no such thing as a leading question? If you really weren't
trying to imply that he shouldn't have asked in .general, then I wasn't
the only one to get the wrong idea. Anony replied:

<quote>
No more dotnet.general, thanks for the advice.
</quote>

That suggests to me that he thought you were telling him he shouldn't
have posted the question in .general.
Either way, you certainly haven't been doing it much recently, for
which I'm grateful.


Actualy I have done it very much lately, I only added the Csharp group, to
please you and showing you it is not something special for VBNet.


Maybe I just haven't seen it as much, or possibly you've been more
selective...
I even have pointed yesterday someone to the VBNet newsgroup although that
was completly wrong, however the question was VBNet or C# and Outlook, and I
had not seen Jay a while in this newsgroup, probably it was a C# user, I
told him not to tell that, I hope you will forget this one. :-)
:)
I read all groups whenever I read any, generally. If you can give
answers to questions posed in C# terms though, I encourage you to do
so. Why not?


Thank you, however as long as you are here better not. I make the same
simple mistakes as C# people in my opinion with VBNet. (Translating one
language to the other while there are in that language simpler solutions).


Well, that's one thing - but suppose the equivalent question to the
"string chunking" one had come up, but with the code being written in
C# to start with - I hope you'd have felt comfortable suggesting using
StringBuilder in the same way.
Do what on this newsgroup? What behaviour have you changed in the VB
group?


In the language.vb newsgroup was (in past) in our (Fergus and me) opinion a
kind of culture to tell people they "Should" by instance go to another
newsgroup. Fergus got arguments about that with an well known person in the
language.vb newsgroup and quited. The other person changed his behaviour by
the way completly and became in my opinion even better than he was before.


Right.
Therefore I really would not do that in this newsgroup. This is maybe not
the major newsgroup where I am active in, however I think that I am
sometimes really active here and find myself one of the more regulars of
this newsgroup.


Sure.

By the way, when I come back from holiday I'll be putting the finishing
touches to "version 2" of my threading articles, including writing up
something about when it's worth threading and when it's not, as
suggested by you - I hope you'll have a look and see whether it's what
you were after or not. I'll let you know when I've written it.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #33
This is a C++ compiler question, I think this is the wrong ng.


Why are all VBNet and C# questions answered in this NG and can that not

with
C++?

Maybe it's because VBNet and C# at least have something to do with .NET
whereas C++ compiler optimisation techniques are slightly, a bit very
slightly definitively off topic here..
Maybe someaday people will start threads here in which gas station the gas
is cheaper, see what you will say then :)

--

I disagree that however it shows what I mean. People see C++ not as a part
of dotNet and see VBNet and C# as the dotNet languages.

There are at least two more, J# and C++.

I find the answer from Niki right (I nowhere told he was not), however would
expect that there was more pointing people on the existance on the
language.vb and language.csharp newsgroup as well.

That are two of the three farmost largest developper newsgroups from
Microsoft. (The thirth is framework.aspnet).

Cor
Jul 21 '05 #34
I do, have nice hollidays

EOT

Cor
Jul 21 '05 #35
Cor Ligthert <no**********@planet.nl> wrote:
I do, have nice hollidays

EOT


Not *quite* end of thread, as I've been unable to sleep, so have
written the article I was mentioning before. If you're still up and
fancy reading it, I'll look forward to reading your comments when I
come back. I have a feeling we'll disagree on whether or not you should
always multi-thread Windows Forms apps, but hopefully you'll agree on
the rest. Let me know if anything in it isn't terribly clear - I've
written it fairly quickly and relatively late at night, which is never
a good sign :(

http://www.pobox.com/~skeet/csharp/t...hentouse.shtml

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #36
"grün" <gr**@copperdog.gro> wrote in
news:d1********************************@4ax.com...
The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?


This is a C++ compiler question, I think this is the wrong ng.
Anyway, I doubt another ng could give you a clear answer: This always
depends on the code you write and on the target machine; The only way to
know for sure is to do benchmarks with performance critical code on a broad
number of machines.

Niki
Nov 22 '05 #37
Niki,
This is a C++ compiler question, I think this is the wrong ng.


Why are all VBNet and C# questions answered in this NG and can that not with
C++?

(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).

As forever not meant as flame

:-)

Cor
Nov 22 '05 #38
Cor Ligthert wrote:
Niki,
This is a C++ compiler question, I think this is the wrong ng.


Why are all VBNet and C# questions answered in this NG and can that
not with C++?


Because the question isn't about .NET in general. It is about native code
optimization, and I'm pretty sure you'll get a much better answer in one of
the *vc* groups anyway ;-)

The same goes for C# and VB.NET specific questions. These don't belong here
either. Unfortunately, too many users still cannot tell the difference
between a language question and a framework question or are just too lazy
:-(

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 22 '05 #39
"Cor Ligthert" <no**********@planet.nl> wrote in
news:uV******************@TK2MSFTNGP10.phx.gbl...
Niki,
This is a C++ compiler question, I think this is the wrong ng.
Why are all VBNet and C# questions answered in this NG and can that not
with
C++?


Because this is a question about unmanaged code. In managed code,
optimization is done by the JIT.
(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).


Err... I think I did exactly that...

Niki
Nov 22 '05 #40
Please post VC related questions to the specialized NG :
microsoft.public.dotnet.languages.vc
Willy.

"grün" <gr**@copperdog.gro> wrote in message
news:d1********************************@4ax.com...
The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?

Nov 22 '05 #41
Err... I think I did exactly that...


Where when it was about C# or VBNet, than I will excuse myself to you

Cor
Nov 22 '05 #42
Joerg,

A special reason why you deleted the part where I wrote about answering in
the language NG in this messages.

When you quote than please do it correct and do not put a message in a
different meaning by deleting essential parts of the original message or
delete the complete message.

To show you an example what you wrote in the style you did with mine as I do
it with yours.
Because the question is about .NET in general.
The same goes for C# and VB.NET specific questions. These belong here


You wrote that, I only deleted some essential parts the same as you did.

Cor
Nov 22 '05 #43
"Cor Ligthert" <no**********@planet.nl> wrote in
news:OJ**************@tk2msftngp13.phx.gbl...
Err... I think I did exactly that...


Where when it was about C# or VBNet, than I will excuse myself to you


Well, I did answer the guy's question to the best of my knowledge, and I
told him there are better ng's for his qeustion. I really don't see your
point.

Niki
Nov 22 '05 #44
Niki,
Err... I think I did exactly that...


Where when it was about C# or VBNet, than I will excuse myself to you


Well, I did answer the guy's question to the best of my knowledge, and I
told him there are better ng's for his qeustion. I really don't see your
point.

This was the primair point of my question:
Why are all VBNet and C# questions answered in this NG and can that not with
C++?

Cor
Nov 22 '05 #45
"Cor Ligthert" <no**********@planet.nl> wrote in
news:%2****************@TK2MSFTNGP10.phx.gbl...
...
This was the primair point of my question:
Why are all VBNet and C# questions answered in this NG and can that not
with
C++?


I *did* answer the C++ question, to the best of my knowledge.

Niki
Nov 22 '05 #46
Cor Ligthert wrote:
Joerg,

A special reason why you deleted the part where I wrote about
answering in the language NG in this messages.
No, not at all.
When you quote than please do it correct and do not put a message in a
different meaning by deleting essential parts of the original message
or delete the complete message.
I didn't. I answered a specific question. You made two simple statements:
Why are all VBNet and C# questions answered in this NG and can that not
with
C++?
.... to which I replied to and
(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).
.... which IMHO doesn't add anything to the discussion.
To show you an example what you wrote in the style you did with mine
as I do it with yours.
Because the question is about .NET in general.
The same goes for C# and VB.NET specific questions. These belong here


You wrote that, I only deleted some essential parts the same as you
did.


That's baloney. You edited and distorted my statement, whereas I only quoted
the first part of your post *as is*.

Maybe I should have added [...] at the end of the quote, but other than "Um,
cool, I agree" there's little I could have replied to your second statement.
In the end, we both say there are better places to go ;-)

--
Joerg Jooss
jo*********@gmx.net
Nov 22 '05 #47
Niki,

I *did* answer the C++ question, to the best of my knowledge.

Did I deny that?

I think it was the right answer, however I am asking also myself why, when I
do that for VBNet, I will sometimes be flamed (And I can assure you that I
know when it is more a language question than a general question).

In my opinion should this be done for C# as well, for which I am more
carefully to do it, however when it is obvious I do it.

That means not to say to the OP "you are not welcome here", however for the
ones who don't know those newsgroups exist, help them to find those.

Cor
Nov 22 '05 #48
Joerg,

We agree in my opinion,

However I did not change one word in your message (only deleted a lot) where
I tried to show that with deleting text a message can be completly get out
of its context. What it was in my opinion.

I do not disagree with Niki's answer, I only asked why this is only done by
me when it is about VBNet and C#, while I think that it can be a good
answer.

On what you answered that your opinion was the same as mine by the way.

:-)

Cor
Nov 22 '05 #49
Cor Ligthert <no**********@planet.nl> wrote:

<snip>
I think it was the right answer, however I am asking also myself why, when I
do that for VBNet, I will sometimes be flamed (And I can assure you that I
know when it is more a language question than a general question).


<snip>

I think the problem is that historically you *haven't* known when
something is more a language qusetion than a general question - or at
least, your opinion of that has been significantly different to that of
other posters.

(The question about string concatenation on here a while ago being a
prime example of that. The most appropriate answer, namely using
StringBuilder, is completely non-language-specific.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #50

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Andreas Paasch | last post by:
I've finally gotten my nice little system working and it's gone live. Now, I spent time optimizing my code and adding a little smart functionality here and there, based on needs and simplicity. ...
13
by: Nickolay Kolev | last post by:
Hi all, I am currently writing some simple functions in the process of learning Python. I have a task where the program has to read in a text file and display some statistics about the tokens in...
15
by: Jacek Generowicz | last post by:
I have a multiple disptacher which, conceptually, looks something like this: class Multimethod: def __init__(self): self.methods = {}
14
by: Ian Richardson | last post by:
I'm writing a large Javascript application (uncompressed source around 400K) which is doing almost all the initialisation it needs to in a just-in-time manner. However, I have included an option...
3
by: PWalker | last post by:
Hi, I have written code that I would like to optimize. I need to push it to the limit interms of speed as the accuracy of results are proportional to runtime. First off, would anyone know any...
8
by: Hagen | last post by:
Hi, I have a question that you probably shouldn´t worry about since the compiler cares for it, but anyways: When you run your compiler with optimization turned on (eg. g++ with -Ox flag) and...
4
by: Flashman | last post by:
A little confusing with setting up optimizing options with 2003 .NET. Under the Optimization Tab. if you set to /O1 or /O2 is the program ignoring the settings for Inline Function expansion,...
24
by: Richard G. Riley | last post by:
Without resorting to asm chunks I'm working on a few small routines which manipulate bitmasks. I'm looking for any guidance on writing C in a manner which tilts the compilers hand in, if possible,...
6
by: peter_k | last post by:
Hi, Last time i'm interested in optimizing small c programs. On my studies we are sending the programs using the web interface to online judge. The person who will wrote the faster program get...
10
by: anon.asdf | last post by:
Here's a reminder of duff's device: /*************************************/ #include <stdio.h> #define STEP 8 #define MAX_LEN STEP*4+1 #define SOURCE_LEN 28
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.