Monday, March 25, 2019

Digest for comp.lang.c++@googlegroups.com - 15 updates in 2 topics

Bonita Montero <Bonita.Montero@gmail.com>: Mar 25 05:49PM +0100

> Bonita, don't forget: Leigh's writing a new master neo-lang right?
 
People even don't like having a lot of #defines and depending or
even nested #ifdefs in a single module. But in this case you can
see a necessity to do that. But there's no necessity to mix several
even interleaving code-pieces of different languages in a single
source-file. The idea is totally ridiculous.
And I hardly doubt that Mr.Fibble is able to write a parser for
this set of languages. Parsing C++ should be the hardest; that's
three heads to high for him. And he is simply not smart enough
to write a performant VM.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Mar 25 09:51AM -0700

On Monday, March 25, 2019 at 12:49:51 PM UTC-4, Bonita Montero wrote:
> this set of languages. Parsing C++ should be the hardest; that's
> three heads to high for him. And he is simply not smart enough
> to write a performant VM.
 
I disagree. I think he's got the skillz. I think we'll soon see
a brand of neo ravioli coming out (with special sauce).
 
--
Rick C. Hodgin
Bonita Montero <Bonita.Montero@gmail.com>: Mar 25 05:52PM +0100

> I disagree. I think he's got the skillz. I think we'll soon
> see a brand of neo ravioli coming out (with special sauce).
 
Yes, with an interleaving mix of strawberrys and mussels.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Mar 25 10:31AM -0700

On Monday, March 25, 2019 at 12:53:05 PM UTC-4, Bonita Montero wrote:
> > I disagree. I think he's got the skillz. I think we'll soon
> > see a brand of neo ravioli coming out (with special sauce).
 
> Yes, with an interleaving mix of strawberrys and mussels.
 
LOL! Quote possibly.
 
"Mussels. Mussels. .... Mussels."
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 25 06:05PM

On 25/03/2019 13:48, Scott Lurndal wrote:
> I understand it quite well.
 
> The function that Flibble posted won't work as documented if it is re-entered
> from the same thread further down the call stack.
 
Nonsense; the function is re-entrant; obviously those three decades have
paid off eh?
 
/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>: Mar 25 06:06PM

On 25/03/2019 16:00, Bonita Montero wrote:
> _limiter and decremented on destruction / retuen.
> The thing is simply, that almost no one cares for stack-overflows;
> so his code is almost useless.
 
Yet more baseless assertions summarily dismissed.
 
/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>: Mar 25 06:06PM

On 25/03/2019 16:49, Bonita Montero wrote:
> this set of languages. Parsing C++ should be the hardest; that's
> three heads to high for him. And he is simply not smart enough
> to write a performant VM.
 
Yet more baseless assertions summarily dismissed.
 
/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."
Bonita Montero <Bonita.Montero@gmail.com>: Mar 25 07:24PM +0100

>> three heads to high for him. And he is simply not smart enough
>> to write a performant VM.
 
> Yet more baseless assertions summarily dismissed.
 
Yor work is as serious as your name.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 25 06:29PM

On 25/03/2019 18:24, Bonita Montero wrote:
>>> to write a performant VM.
 
>> Yet more baseless assertions summarily dismissed.
 
> Yor work is as serious as your name.
 
Learn to spell dear.
 
/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."
jameskuyper@alumni.caltech.edu: Mar 25 12:20PM -0700

On Monday, March 25, 2019 at 9:48:45 AM UTC-4, Scott Lurndal wrote:
...
> The function that Flibble posted won't work as documented if it is re-entered
> from the same thread further down the call stack.
 
That description sounds to me like it should be relatively easy to
create a simple example demonstrating the problem you're talking about.
Since there seems to be considerable confusion about this issue, perhaps
you could provide such an example?
David Brown <david.brown@hesbynett.no>: Mar 25 08:26PM +0100

On 25/03/2019 19:29, Mr Flibble wrote:
 
>> Yor work is as serious as your name.
 
> Learn to spell dear.
 
> /Flibble
 
<https://en.wikipedia.org/wiki/Muphry%27s_law>
 
(At the risk of invoking it myself, I note that you missed out the comma.)
scott@slp53.sl.home (Scott Lurndal): Mar 25 07:50PM

>create a simple example demonstrating the problem you're talking about.
>Since there seems to be considerable confusion about this issue, perhaps
>you could provide such an example?
 
Ah, not having used the C++11 threading facilities, I wrongly concluded
that thread_local, like static, would use the same storage for multiple
objects defined with the same name. I see that is incorrect.
 
Mea culpa; I generally use POSIX interfaces (pthread_key_create/pthread_setspecific).
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 25 08:23PM

On 25/03/2019 19:50, Scott Lurndal wrote:
> that thread_local, like static, would use the same storage for multiple
> objects defined with the same name. I see that is incorrect.
 
> Mea culpa; I generally use POSIX interfaces (pthread_key_create/pthread_setspecific).
 
"three decades" of experience!.
 
/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."
Bonita Montero <Bonita.Montero@gmail.com>: Mar 25 09:30PM +0100

>> Mea culpa; I generally use POSIX interfaces
>> (pthread_key_create/pthread_setspecific).
 
> "three decades" of experience!.
 
Keep calm!
You have a massive overestimation of your capabilities yourself.
Bonita Montero <Bonita.Montero@gmail.com>: Mar 25 01:56PM +0100

>> unhandy.
 
> Check if 'reserve' solves your problem.
> https://en.cppreference.com/w/cpp/container/vector/reserve
 
.reserve() doesn't grow the vector so that .end() is adjusted propery.
And with debug-builds the []-operator and the iterators might be bounds
-checking so that a debugger might break if you access the vector beyond
.end(). And I'm even mot sure if .reserve() is oblgated to really grow
the capacity; I think it could do nothing in every case in an unopti-
mized implementation.
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: