Sunday, February 24, 2019

Digest for comp.lang.c++@googlegroups.com - 25 updates in 5 topics

"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Feb 24 02:05PM -0800

It's because the love God has for you lives inside of me.
 
Jesus went to the cross to die for our sins so we wouldn't have
to be judged for them. He's already done all the work. All we
have to do today is believe and accept His free offer of eternal
life, of salvation from judgment, of a life beyond this world
that is free from the sin and evil we see here in this world.
 
Investigate the Bible. Taste and see for yourself if the Lord
is good. Don't trust the things you think you already know.
Instead, as you've matured over the years, as your understand-
ing and comprehension on a wide array of subjects has increased,
revisit the Bible and read it with a truth-seeking heart, read
it with a heart different from the days of your youth.
 
Give God, give truth, give forgiveness, give love a chance.
God will never fail you. He'll never let you down.
 
Why do I post Christian messages? Because only Jesus has gone
to the cross to set you free from your sin. No other way because
the acts of your past cannot be undone. All of them must be ac-
counted for in God's Holy Court.
 
Either you will pay the price of your sin ... or Jesus will.
That's what He offers you: Salvation from judgment, which means
also salvation from eternal Hellfire and damnation.
 
Seek the truth in all things. Press in and pursue it. When you
seek God in seeking the truth He will know you are doing this,
and He will meet you and lead you the rest of the way.
 
--
Rick C. Hodgin
"Chris M. Thomasson" <invalid_chris_thomasson_invalid@invalid.com>: Feb 24 02:01PM -0800

On 2/24/2019 3:05 AM, Chris Vine wrote:
>> part of the atomic itself, not standalone. Sorry for any confusion
>> Chris. ;^o
 
> As I read the standard[1] I think this "intermingling" works:
 
Indeed it does. Afaict, a std::atomic<T> behaves as if it were a fence
wrt the memory order.
 
 
> t2.join();
 
> return 0;
 
> However, like you I don't do that because it looks a bit odd to me.
 
Totally agreed. At least it is guaranteed to work in the std.
 
 
> there exists some atomic operation X on M such that X is sequenced
> before B and reads the value written by A or a value written by any
> side effect in the release sequence headed by A."
 
Right. I read this as if std::atomic behaves as a
std::atomic_thread_fence. However, once we introduce anything other than
relaxed in a std::atomic, it can "hide" where the actual barrier is
executed, or placed in the code.
 
For instance, a std::atomic::exchange with acquire will execute the
barrier _after_ the atomic RMW of exchange occurs. Using the standalone
fence allows the user to place it exactly where it is needed. It is more
complex, but can be more efficient...
 
Using a std::atomic::exchange with release will execute the barrier
_before_ the atomic RMW of exchange occurs.
 
Well, sometimes the standalone can be more flexible, and at least a lot
more "informative" wrt showing exactly where the barriers actually need
to be.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 04:10PM

On 24/02/2019 15:44, Rick C. Hodgin wrote:
> "Ravioli.
 
> "Ravioli.
 
> "Ravioli."
 
I haven't seen any of your bullshit religious spam in the last month or
so: well done, keep it up! :)
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
gazelle@shell.xmission.com (Kenny McCormack): Feb 24 04:11PM

In article <FzycE.4105$yI7.1412@fx06.fr7>,
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> wrote:
...
>> simplify other tasks considerably; looked at that way it's silly.
 
>Your analogy doesn't hold because there is no feature creep.
 
You are really, really, really beginning to sound like your nemesis.
 
They say that all women become their mothers.
Here, you are going to become, well, you know...
 
--
 
"If God wanted us to believe in him, he'd exist."
 
(Linda Smith on "10 Funniest Londoners", TimeOut, 23rd June, 2005.)
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 04:14PM

On 24/02/2019 16:11, Kenny McCormack wrote:
 
> You are really, really, really beginning to sound like your nemesis.
 
> They say that all women become their mothers.
> Here, you are going to become, well, you know...
 
Not sure how you made that jump mate. My projects are serious whist RCH's
projects are unserious religiously motivated works of the deluded that
nobody would want to use for that reason.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Daniel <danielaparker@gmail.com>: Feb 24 10:32AM -0800

On Sunday, February 24, 2019 at 10:11:24 AM UTC-5, Alf P. Steinbach wrote:
 
> I detect an extreme /internal feature/ creep here, which may stand in
> the way of the community ever getting a finished NeoGFX
 
Just so, but when you write software for free, you can do anything that you
want.
 
Daniel
gazelle@shell.xmission.com (Kenny McCormack): Feb 24 06:38PM

In article <5b0ce5f0-c8fd-428c-929d-8df966e18e7d@googlegroups.com>,
>> the way of the community ever getting a finished NeoGFX
 
>Just so, but when you write software for free, you can do anything that you
>want.
 
And deliver (or not) it whenever/however you want.
 
--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/RightWingMedia
Bart <bc@freeuk.com>: Feb 24 06:42PM

On 24/02/2019 14:08, Mr Flibble wrote:
>> libraries likely written in C.
 
> The core languages will be implemented; what % of standard libraries I
> provide will depend on time available.
 
I'm sorry, but you did seem to just by-the-by state your intention to
create compilers for mainstream languages such as Ada, Python,
Javascript and even C, in the same way someone might say they're going
out to buy milk, bread, and maybe some cheese.
 
Even if it is only the front-ends of those compilers. I assumed you
would be doing this single-handedly, and within a shortish time-scale
(not decades in other words).
 
Going back to the OP, you also say this is a single universal compiler
for any language.
 
You make writing a mere single-language compiler sound so trivial. No
wonder some people are sceptical.
 
 
> Python won't be calling a function in Ada because the Python and the Ada
> no longer exist after compilation: they are transformed into a language
> agnostic intermediate form.
 
But the user will be coding in Python and Ada, so they would the problem
of how cross-language interfaces will work. (Can they mix languages
within the same source file? Rick intends to do that.)
 
Python is highly dynamic. Ada is highly static, which would make the VM
design interesting. Actually, Python is so dynamic that you might not
even know what the source code is until runtime. (Eg. using exec() and
eval(), or using conditional 'import' dependent on some runtime expression.)
 
Anyway, good luck.
gazelle@shell.xmission.com (Kenny McCormack): Feb 24 06:51PM

In article <4ABcE.17217$701.4084@fx04.am4>, Bart <bc@freeuk.com> wrote:
...
>even know what the source code is until runtime. (Eg. using exec() and
>eval(), or using conditional 'import' dependent on some runtime expression.)
 
>Anyway, good luck.
 
Indeed. You know, it just occurred to me that Leigh and Rick should merge
their projects. A single, unified project would have a rather better
chance of coming to fruition than either one individually.
 
Of course, 2*.0000000000000000000000000000000000000000001% is still,
effecitvely, zero.
 
--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Infallibility
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 02:08PM

>> scripts written in your favourite programming language is a unique selling
>> point I think.
 
> Actually in that language or just using its syntax?
 
The language.
 
 
> Because you mention Ada and Python among others. Ada compilers I'd heard can take many man years to write. While Python is another huge language, of which half the functionality depends on standard libraries likely written in C.
 
The core languages will be implemented; what % of standard libraries I
provide will depend on time available.
 
 
> Another problem is that someone using what looks like Python might expect to be able to install and deploy any of tens of thousands of libraries, all with their own special requirements.
 
> So if some are saying such a project appears to be over-ambitious, then I would agree. Especially if there will be the ability to write projects in mixed languages (how will Python call a function in Ada; how will Ada call a function in Javascript?).
 
Python won't be calling a function in Ada because the Python and the Ada
no longer exist after compilation: they are transformed into a language
agnostic intermediate form.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Daniel <danielaparker@gmail.com>: Feb 24 11:28AM -0800

On Sunday, February 24, 2019 at 1:38:28 PM UTC-5, Kenny McCormack wrote:
 
> >when you write software for free, you can do anything that you
> >want.
 
> And deliver (or not) it whenever/however you want.
 
Indeed, it is in the nature of the thing. But it is churlish to complain
that Mr Flibble directs his efforts in one way but not another, they are
his efforts, and his alone.
 
Daniel
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Feb 24 12:43PM -0800

On Sunday, February 24, 2019 at 11:10:18 AM UTC-5, Mr Flibble wrote:
> > "Ravioli."
 
> I haven't seen any of your bullshit religious spam in the last month or
> so: well done, keep it up! :)
 
Can't say the same for you:
 
> that is not our fault. It's not right, it's utterly, utterly evil."
> "Why should I respect a capricious, mean-minded, stupid God who creates a
> world that is so full of injustice and pain. That's what I would say."
 
You've never understood. I don't post just to post. I post as a
course of my life. Where I am, there I am living for Jesus, and
teaching people the same. This comes spontaneously at times, or
in reaction to other input at other times.
 
The same reply I gave to this person is the same reason homosex-
uality exists in people. People are not "born gay," but they do
legitimately feel as though they have gay tendencies. However,
those tendencies are not from their own life, but rather the evil
spirit life induced upon your life. It is a purpose at deception
designed to keep you from coming to Jesus, repenting, asking for-
giveness for your sin. Any person seeking to resist the false-
ness and seek the truth will be known by God to be doing this,
and God Himself will step into that person's life an intervene on
their behalf, making the things which are impossible for the in-
dividual to accomplish on his/her own to be possible through His
help:
 
https://groups.google.com/d/msg/comp.lang.c/PD4wE-_AS7U/s1WZY2WPAQAJ
 
You don't see it because you won't see it. You love your sin,
and you are content to go forward living as you have lived. You
do not seek the truth, which is why it eludes you.
 
You could be set free today, Leigh, and have your future secure
in Heaven after you leave this world on whatever day that is.
 
You will realize this in time, either here on this Earth where it
will be good for you, or in the afterlife where it will be bad
for you. I hope it's the former. I want you to have a real future
and not consume eternity here with sinful pleasures of the flesh.
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 08:54PM

On 24/02/2019 18:51, Kenny McCormack wrote:
> chance of coming to fruition than either one individually.
 
> Of course, 2*.0000000000000000000000000000000000000000001% is still,
> effecitvely, zero.
 
You made two mistakes there:
1) you compared apples with oranges: my projects are serious whilst
Hodgin's are toy;
2) you are underestimating my technical ability.
 
Mistake (1) makes you look like a fucktard whilst (2) makes you look like
an ignorant cockwomble.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 08:57PM

On 24/02/2019 20:43, Rick C. Hodgin wrote:
> will be good for you, or in the afterlife where it will be bad
> for you. I hope it's the former. I want you to have a real future
> and not consume eternity here with sinful pleasures of the flesh.
 
Nonsense.
A) Your bible is false.
B) Your god the existence of which is predicated on your bible being true
is, given (A) also false.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Feb 24 01:13PM -0800

On Sunday, February 24, 2019 at 3:57:34 PM UTC-5, Mr Flibble wrote:
> A) Your bible is false.
> B) Your god the existence of which is predicated on your bible being true
> is, given (A) also false.
 
 
"Ravioli.
 
"Ravioli...
 
"Ravioli."
 
--
Rick C. Hodgin
gazelle@shell.xmission.com (Kenny McCormack): Feb 24 09:18PM

In article <a673e2bf-75bf-4853-9cf1-0813fe126d92@googlegroups.com>,
Rick C. Hodgin <rick.c.hodgin@gmail.com> wrote:
...
>"Ravioli.
 
>"Ravioli...
 
>"Ravioli."
 
Lasagne
 
Lasagne
 
Lasagne
--
Modern Christian: Someone who can take time out from using Leviticus
to defend homophobia and Exodus to plaster the Ten Commandments on
every school and courthouse to claim that the Old Testament is merely
"ancient laws" that "only applies to Jews".
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Feb 24 01:24PM -0800

On Sunday, February 24, 2019 at 4:13:24 PM UTC-5, Rick C. Hodgin wrote:
> "Ravioli.
> "Ravioli...
> "Ravioli."
 
My personal favorite:
 
https://www.youtube.com/watch?v=bU8MKxTJIKI
 
I especially liked the glasses maneuver. She made it very convinc-
ing. Please pass along my appreciate for her unique talent to
make saying the word "ravioli" in repetition enjoyable to watch.
She really did make me smile.
 
All four takes were quite good, with each offering their own take
on how to repeat the word "ravioli" three times on an otherwise un-
marked skit. Was it a comedy routine? Or maybe it was an AI actor
generated by a neoGFX gaming engine? If so, my hat goes off to you,
sir. She looked completely realistic.
 
https://www.youtube.com/watch?v=GmXYohCQvHI
 
On this one she wasn't quite ready though. Had to get the hair
just right it seems. It might be an outtake for my favorite one
at the top above:
 
https://www.youtube.com/watch?v=6bywQZFV_n0
 
This one is the most flat of the lot ... but still good:
 
https://www.youtube.com/watch?v=bymMOjA_-Gk
 
I like it, Leigh. If you're taking requests, can you do one on
pizza? Or would it be too few syllables for a full production
script?
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Feb 24 01:29PM -0800

On Sunday, February 24, 2019 at 4:18:29 PM UTC-5, Kenny McCormack wrote:
> to defend homophobia and Exodus to plaster the Ten Commandments on
> every school and courthouse to claim that the Old Testament is merely
> "ancient laws" that "only applies to Jews".
 
Homosexuality is decried in the New Testament as a sin that keeps one
out of the Kingdom of Heaven as well:
 
https://www.biblegateway.com/passage/?search=1+Corinthians+6%3A9-10&version=KJV;NIV
 
1 Corinthians 6:9-10 -- Or do you not know that wrongdoers will
not inherit the kingdom of God? Do not be deceived: Neither the
sexually immoral nor idolaters nor adulterers NOR MEN WHO HAVE
SEX WITH MEN[a] 10 nor thieves nor the greedy nor drunkards nor
slanderers nor swindlers will inherit the kingdom of God.
 
Footnote [a]: 1 Corinthians 6:9 The words men who have sex with
men translate two Greek words that refer to the passive and active
participants in homosexual acts [meaning those who are engaging
in homosexual acts, as well as those who approve of them].
 
Ignorance keeps you in chains, Kenny. The truth will MAKE you free.
 
If you want to know the truth ... it is there. The Bible is not a
joke. What God teaches us is not incorrect, hurtful, harmful, re-
strictive in the conventional sense, nor anything negative. It is
ALL for the fullest benefit of the creation of man, both here in
this temporary life, and for our life outside of time after we leave
this finite world.
 
God gave us the Law of Moses to keep us occupied, so we would not
sin. It was never intended to save us. It's the same reason God
did not give us high technology for the first 5,800 years of this
world's existence. Look how depraved our societies have become
since our labor burden has decreased.
 
Open your eyes, Kenny. You'll see the truth ... if you seek it.
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 09:37PM

On 24/02/2019 18:42, Bart wrote:
 
> But the user will be coding in Python and Ada, so they would the problem
> of how cross-language interfaces will work. (Can they mix languages within
> the same source file? Rick intends to do that.)
 
As I said, the languages disappear after compilation so there is no need
for "cross-language interfaces".
 
> design interesting. Actually, Python is so dynamic that you might not even
> know what the source code is until runtime. (Eg. using exec() and eval(),
> or using conditional 'import' dependent on some runtime expression.)
 
Just because you cannot make the mental leap needed to be able to
implement reflection in a language agnostic way it doesn't mean that I cannot.
 
> Anyway, good luck.
 
Thanks. :)
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 09:38PM

On 24/02/2019 21:29, Rick C. Hodgin wrote:
> world's existence. Look how depraved our societies have become
> since our labor burden has decreased.
 
> Open your eyes, Kenny. You'll see the truth ... if you seek it.
 
Nonsense.
A) Your bible is false.
B) Your god the existence of which is predicated on your bible being true
is, given (A) also false.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Feb 24 01:50PM -0800

On Sunday, February 24, 2019 at 4:38:24 PM UTC-5, Mr Flibble wrote:
> A) Your bible is false.
> B) Your god the existence of which is predicated on your bible being true
> is, given (A) also false.
 
 
If your belief is wrong, it will cost you your eternal soul, Leigh.
Investigate, and don't ignore the warning. It doesn't come from me.
It comes from men as from 3,500 to 2,000 years ago, writing YOU a
personal message from God about your soul. You owe the message your
consideration, not scorn.
 
--
Rick C. Hodgin
 
PS -- Your ravioli videos really did make me smile. She has a
pleasing accent and a very happy face.
 
PPS -- I wish you well on your projects. I look forward to seeing
your great success.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Feb 24 09:51PM

On 24/02/2019 21:50, Rick C. Hodgin wrote:
> It comes from men as from 3,500 to 2,000 years ago, writing YOU a
> personal message from God about your soul. You owe the message your
> consideration, not scorn.
 
Nonsense.
A) Your bible is false.
B) Your god the existence of which is predicated on your bible being true
is, given (A) also false.
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Jorgen Grahn <grahn+nntp@snipabacken.se>: Feb 24 04:34PM

On Sat, 2019-02-23, Bonita Montero wrote:
 
[David Brown]
 
 
>> So the compiler knows that "x + 1 > x" ...
>> is true, and "2 * x / 2" is "x", and so on.
 
> I think it's better for a compiler not to assume this.
 
Then invent a language which defines the behavior, write a compiler
for it, and convince people to use it. Or switch to a language which
already works like that.
 
Personally I'm happy with the simple rule "never let signed arithmetic
overflow".
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
Bonita Montero <Bonita.Montero@gmail.com>: Feb 24 05:56PM +0100

>     size_t bytesinvector;
>     sizeofvector = bytesinvector/sizeof(long)*sizeof(long);
 
And where is the check against the range here that the compiler
could optimize away?
Bonita Montero <Bonita.Montero@gmail.com>: Feb 24 05:06PM +0100

> 3. The only case where XADD could make sense is when there is an
> active writer and a reader is registering to gain shared ownership.
 
... and there are active writers. But if there are active writers
there will be kernel-transisions which are magnitudes slower than
the CAS-loop. So XADD rather don't help here.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: