Saturday, December 19, 2020

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

"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 18 07:43PM -0500

The news is telling us that aliens and UFOs are real, that a 30+ year
Israeli official named Professor Eshed, who was in charge of Israel's
national space security program during that time, says both Israel and
the USA know about their existence, that President Trump created the
Space Force because of it, that President Trump almost told the American
public about their existence, but that representations from the Galactic
Federation (the aliens) convinced him not to.
 
We have a nuclear reaction brewing for January, 2021, one which may very
notably fundamentally change the shape of this world.
 
We have a presidential candidate (Biden) who, if he gets into office, is
wanting to push a 100-day mask mandate nation-wide in America.
 
We have a society so divided on nearly every issue that it's ripping our
nation apart like nothing before. And it's getting worse month by
month. 100+ days of rioting on the west cost. 60+% of businesses
closed on the East coast in New York. Governors in mostly blue states
forcing lockdowns for their citizens.
 
My friends, the time of the rapture is upon us. This week, next week,
this month, next month, this year, next year ... it's here.
 
Jesus said that those born during the time of Israel becoming a nation
again would not perish before all of the things He talked about after
(the rapture, the great tribulation, and His second coming here to this
Earth where He actually sets foot upon the ground in Jerusalem) come to
pass.
 
In Psalm 91 we read what a generation is. It's 70 years, and if by
strength possibly 80 years.
 
Israel became a nation again on May 14, 1948. 80 years later is May 14,
2028. Back off seven years for the tribulation which must precede that
event, and the purpose of the Coronavirus and lockdowns becomes clear:
 
1) The rapture will soon take place. The lockdowns are to prevent
football stadiums full of 100K fans suddenly having 10s of thousands of
them vanish on camera before everybody's eyes. When it happens now, it
will be small gatherings, or it will happen in people's homes. It can
be explained away as those same aliens we've been primed about in the
news having taken some drastic measure to get rid of those pesky
Christians who just aren't with the program with all their religion and
rules and belief in God and all that "crazy stuff." And those left
behind, who were not Christians, who did not seek the truth, who were
not born again, will believe it. And they'll be deceived into taking
the mark and thereby damning their eternal soul forever.
 
2) You're all being trained to take the mark. The government is in
control. You're not. You must be obedient citizens because this virus
is dangerous and the government knows what's best for you. Especially
Joe Biden and Kamala Harris. Their policy is instituted not to entrap
you, not to treat you like sheep or cattle heading in for the slaughter,
but because they want you to be safe, and cautious, and sensible, and to
follow science (unless that science says life begins at conception).
 
The great deception, the great falling away ... it's happening right
now. People everywhere are being divided into one of two groups.
They're either drawing nearer to Jesus and will soon depart from this
wanton world in the rapture, or they're being drawn to the world away
from Jesus and will remain and go through whatever portion of the
seven-year tribulation they live through.
 
-----
1) Jesus came to this Earth to save us from judgment for sin.
2) He offers free salvation to everyone who will receive it.
3) You can escape the coming seven-year tribulation today by asking
Jesus to forgive your sin.
4) You can have peace on the inside like you've never known.
5) You can look on the people of this world with new eyes, and reach
out to them.
6) Your heart can be transformed from within so your compassion
engages, your empathy engages, and you reach out to the people with real
caring in your soul.
 
Jesus has prepared the future. He's set everything up. He's issued
calls to every last one of us. And He's desiring with the strongest
desire that we will come to Him and partake of His unending Kingdom of
glory and power.
 
Email me if you'd like prayer, or help in your journey. Time is running
out. The time of Christians' departures from this world by the rapture
is rapidly approaching. Don't miss out, because what's coming in the
seven year tribulation is like nothing this world has ever seen.
Demonic forces will be in force. Literal demons flying around at one
point. War. Famine. Pestilence. People longing to die, but death
eluding them for five months. Read all about this in Revelation.
 
There are YouTube channels which will encourage you. Watch these videos
and be moved from within. You'll feel God knocking at the door of your
soul. You'll hear the call from within to go to Jesus and ask
forgiveness for your sin. You'll find yourself saying things you never
thought possible, because it's a movement of God within your soul coming
out into your mouth asking Jesus to forgive you.
 
Rebecca Castaneda:
https://www.youtube.com/channel/UC8-JQB88z8jgzZyn6zDIiRQ/videos
 
Chad Thomas:
https://www.youtube.com/c/WatchmanOnTheWall88/videos
 
JD Farag (specifically, his Bible Prophecy Updates):
https://www.youtube.com/c/JDFaragTV/videos
 
And there are many others.
 
 
Jesus went to the cross for you.
He went to take your punishment for your sin away from you.
He came to this Earth and taught us the way, and showed it by His dying
on the cross, and by God raising Him from the dead on the 3rd day.
 
Today is the day of your salvation. Rise. Answer His call. Begin your
walk in eternal life today. Call upon His name and ask Him to forgive
your sin. Feel the weight come off. Feel your soul expand. Feel your
joy become complete, and the tears of joy come streaming down your face.
 
God calls to you, His creation, His most beautiful and precious
creation, the one made in His own image and likeness.
 
Answer His call. Choose life. Choose love. Choose victory. And all
of it is made possible by Jesus, and by what He did on that cross for you.
 
I love you. I hope to see you in Heaven. You are precious, valuable,
loved, and a remarkable creation of God. He wants you to be a part of
His Kingdom. Answer His call right now, and secure your future. None
of us are promised tomorrow. And with the way this world is going, time
is running out for all of us -- saved or otherwise.
 
Peace, my friend. Tell your family and friends about Jesus. Spread the
word. Let His call be heard from your mouth unto others.
 
--
Rick C. Hodgin
A prayerful servant of God
Mr Flibble <flibble@i42.REMOVETHISBIT.co.uk>: Dec 19 12:51AM

On 19/12/2020 00:43, Rick C. Hodgin wrote:
[snip]
 
tl;dr.
 
Also, fuck off, spammer.
 
/Flibble
 
--
😎
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 18 08:05PM -0500

On 12/18/20 7:51 PM, Mr Flibble wrote:
> On 19/12/2020 00:43, Rick C. Hodgin wrote:
> [snip]
> tl;dr.
 
Remember that scene in Space Balls?
 
"The short short version!"
https://www.youtube.com/watch?v=sTKHzjh1mUk
 
The short short version:
 
1) Jesus will judge sin.
2) He also offers to forgive sin.
3) All you have to do is ask and believe.
4) The rapture will happen.
5) Those left behind will endure Hell on Earth ... and die.
 
You can be saved today. You also, Leigh. Eternity. Remember it.
 
--
Rick C. Hodgin
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 18 09:29PM -0800

On 12/18/2020 4:43 PM, Rick C. Hodgin wrote:
> Space Force because of it, that President Trump almost told the American
> public about their existence, but that representations from the Galactic
> Federation (the aliens) convinced him not to.
[...]
 
Why wouldn't intelligent life exist in the universe?
 
Why would Earth be the only one?
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 19 12:46AM -0500

On 12/19/20 12:29 AM, Chris M. Thomasson wrote:
> [...]
 
> Why wouldn't intelligent life exist in the universe?
 
> Why would Earth be the only one?
 
I never said it was.
 
In Revelation, the Earth is referred to as being harvested. It's not
the Earth being harvested, but the people of the Earth. We are a crop
of man that is raised up.
 
If my Solar System Assembly Line theory is correct, it would indicate
that, like the seasons we see here on Earth, the Earth too goes through
season, albeit on a much larger scale.
 
Consider that in the beginning God created everything. And in that
creation He also created systems in motion. He created the first apple
tree, but He created a system so the apples could reproduce themselves
and He wouldn't have to create the 2nd generation, or the 3rd...
 
When He created the Earth, He actually did create that first Earth. But
He also created a system in motion. In this case, and in the theory of
the Solar System Assembly Line (see http://www.3alive.org), Earths are
produced for a time. They go into service, a crop of man is raised up
over 7,000 years, and then that Earth goes into reclamation or
recycling. The next Earth comes into place and is prepared for the next
crop of man.
 
If this is true, then our solar system is effectively a field. It is
producing its crop, a crop of man, every 7,000 years. And just like how
farmers have fields today and grow crops on them, one field is one
field. But in a large area like a state or province or even county or
likewise, there are many fields.
 
Why wouldn't our solar system be teaming not only with life like ours,
but also the kind of life that exists after we leave this planet? After
we go through this first "boot camp" of our existence where we overcome
sin through Christ and enter into eternity as new citizens of Heaven?
 
Why wouldn't there be as many solar systems like ours out there in the
Heavens as there are fields all across America? And why wouldn't there
also be other solar systems not like ours which are there for the
Heavenly existence form, without sin, without Satan, without the flesh
we know getting in our way?
 
The things of God are revealed to us if we press in and seek the truth.
God does not want to keep things hidden from us, but He is a good
Father, a good Shepherd. Like a good Earthly father, you wouldn't give
the keys to the Rolls Royce to your 8 year old. Only when that child
matures would he/she then be given the keys to such a car. Well how
much more so knowledge of the things of the Kingdom of Heaven?
 
God has revealed to all of us the things we need to know in this world.
They are very clearly written in scripture, and taught all over by men
and women like me. But there are more mysteries of God that we also can
pursue when we press in and desire with a true, sincere, honest, pure,
truth-seeking heart. And for those who have such a heart, God does step
into their life and give them the keys to the Rolls Royce so to speak.
But it's still in stages.
 
We see as through a glass darkly here in this limited Earthly existence.
But we see enough to know that the universe God has created is
absolutely astounding, and that where we are going in the future, where
we will go after we leave this world, the things we will see and be a
part of once we shed this corporal temporal existence ... they are
mind-blowing.
 
Jesus described Heaven as a paradise. And, being free from Satan and
his lies and deception and enticing constantly toward sin for each of
us, what else would it be? Where would God live other than the most
beautiful and amazing and astounding and jaw dropping paradise you could
ever imagine?
 
We are only here for a time, but our soul goes on. And for all who will
seek the truth, Jesus invites them to come and also be a part of eternity.
 
Seek, Chris. Ask questions. Pursue Biblical answers. Don't let what
you think you know from things you think you heard correctly all those
years ago from so-and-so and such-and-such prevent you from seeking the
truth and coming to the true knowledge of the truth.
 
Pursue God with sincerity from within. Let Him reveal Himself to you as
you honestly and truly seek.
 
There's more to God than you think. Learning what that is begins with
the truth-seeking heart inquiring, "God? I have a few questions..."
 
--
Rick C. Hodgin
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 18 09:52PM -0800

On 12/18/2020 9:46 PM, Rick C. Hodgin wrote:
 
>> Why wouldn't intelligent life exist in the universe?
 
>> Why would Earth be the only one?
 
> I never said it was.
 
For some reason I kind of remember you saying that things that are
billions of light years away from us are some sort of false projection?
What if some alien says they are several million years ahead of us in
technology?
 
 
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 19 01:26AM -0500

On 12/19/20 12:52 AM, Chris M. Thomasson wrote:
> billions of light years away from us are some sort of false projection?
> What if some alien says they are several million years ahead of us in
> technology?
 
I said God instantiated everything in creation in motion. I used the
analogy with Leigh that when we create a space scene for a 3D game, we
don't make our physics engine take billions of years before seeing stars
that are, in our game, billions of light years away. Instead, the game
is able to see them immediately.
 
With God in His creation, it didn't take light billions of years to get
here from the other side of the universe. Instead, everything was fully
created properly at all points across this vast universe, with all
attributes of everything in its created position, being intended for and
presented to all other places system-wide.
 
--
Rick C. Hodgin
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 18 10:27PM -0800

On 12/18/2020 10:26 PM, Rick C. Hodgin wrote:
> created properly at all points across this vast universe, with all
> attributes of everything in its created position, being intended for and
> presented to all other places system-wide.
 
Is the universe infinite?
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 19 01:35AM -0500

On 12/19/20 1:27 AM, Chris M. Thomasson wrote:
>> On 12/19/20 12:52 AM, Chris M. Thomasson wrote:
>>> What if some alien says they are several million years
>>> ahead of us in technology?
 
There are no aliens that will be visiting Earth during our Earth's
duration of service. Anything showing up saying it's an alien is, in
fact, a demon deceiving you.
 
Do not listen to demons. Do not trust them. Do not believe them. They
always lie continually.
 
And note: There are no aliens at all. God has created a wide array of
beings that exist, of various forms, sizes, shapes. Angels are separate
from men, for example. There are different levels of angels. Demons
are angels which turned their back on God and followed Satan. They also
have ranks and varied abilities.
 
> Is the universe infinite?
 
The Bible describes three Heavens:
 
1) The sky / air
2) Outer space
3) Something else
 
We don't know what 3) is. All evidence so far suggests this universe is
finite. But Paul wrote about the third Heaven. He said there are
things spoken there which are not lawful for a man to utter.
 
So what's up there? Don't know in those details, but can't wait to find
out.
 
--
Rick C. Hodgin
Melzzzzz <Melzzzzz@zzzzz.com>: Dec 19 06:38AM

> forcing lockdowns for their citizens.
 
> My friends, the time of the rapture is upon us. This week, next week,
> this month, next month, this year, next year ... it's here.
 
You misspredicted two times already. Why you misspredict once more?
Doomsday loonies are plenty.
 
--
current job title: senior software engineer
skills: c++,c,rust,go,nim,haskell...
 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Svi smo svedoci - oko 3 godine intenzivne propagande je dovoljno da jedan narod poludi -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi
bili naoruzani. -- Mladen Gogala
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 18 10:43PM -0800

On 12/18/2020 10:35 PM, Rick C. Hodgin wrote:
> fact, a demon deceiving you.
 
> Do not listen to demons.  Do not trust them.  Do not believe them.  They
> always lie continually.
 
I worried that these aliens will offer to take certain smart humans back
to their home planet. Their home, as Earth is to us. They would ruin
your argument, big time. Then, they might say they actually created
Jesus! And that he was real and had special powers. Iirc, revelation
warns against the first "supernatural" beings that come to Earth for
they were the ones messing around with DNA creating the Hybrids, or
Giants so to speak. Hard core experiments.
 
> things spoken there which are not lawful for a man to utter.
 
> So what's up there?  Don't know in those details, but can't wait to find
> out.
 
Sometimes I think that we are contained in a black hole residing in our
"parent" universe. The edge of our universe might resemble an event
horizon of sorts.
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 18 10:52PM -0800

On 12/18/2020 10:38 PM, Melzzzzz wrote:
>> this month, next month, this year, next year ... it's here.
 
> You misspredicted two times already. Why you misspredict once more?
> Doomsday loonies are plenty.
 
When they are wrong, they say, well, it will be in the future... They
have no way to lose?
Melzzzzz <Melzzzzz@zzzzz.com>: Dec 19 07:46AM

>> Doomsday loonies are plenty.
 
> When they are wrong, they say, well, it will be in the future... They
> have no way to lose?
 
Well in 4 billion years ;)
 
 
--
current job title: senior software engineer
skills: c++,c,rust,go,nim,haskell...
 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Svi smo svedoci - oko 3 godine intenzivne propagande je dovoljno da jedan narod poludi -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi
bili naoruzani. -- Mladen Gogala
Mr Flibble <flibble@i42.REMOVETHISBIT.co.uk>: Dec 19 07:50AM

On 19/12/2020 01:05, Rick C. Hodgin wrote:
>     https://www.youtube.com/watch?v=sTKHzjh1mUk
 
> The short short version:
 
>     1)  Jesus will judge sin.
 
What can be asserted without evidence can also be dismissed without evidence.
 
>     2)  He also offers to forgive sin.
 
What can be asserted without evidence can also be dismissed without evidence.
 
>     3)  All you have to do is ask and believe.
 
What can be asserted without evidence can also be dismissed without evidence.
 
>     4)  The rapture will happen.
 
What can be asserted without evidence can also be dismissed without evidence.
 
>     5)  Those left behind will endure Hell on Earth ... and die.
 
What can be asserted without evidence can also be dismissed without evidence.
 
 
> You can be saved today.  You also, Leigh.  Eternity.  Remember it.
 
What can be asserted without evidence can also be dismissed without evidence.
 
Also, Satan invented fossils, yes?
 
/Flibble
 
--
😎
"Öö Tiib" <ootiib@hot.ee>: Dec 19 01:53AM -0800

On Saturday, 19 December 2020 at 08:38:48 UTC+2, Melzzzzz wrote:
> > this month, next month, this year, next year ... it's here.
 
> You misspredicted two times already. Why you misspredict once more?
> Doomsday loonies are plenty.
 
It is because Rick does not read what Bible does say about false
prophets. He thinks that Jesus will forgive even that to him.
"daniel...@gmail.com" <danielaparker@gmail.com>: Dec 19 07:30AM -0800

On Saturday, December 19, 2020 at 1:35:34 AM UTC-5, Rick C. Hodgin wrote:
 
> Anything showing up saying it's an alien is, in fact, a demon deceiving you.
 
What if something shows up saying it's a demon, but in fact it's an alien?
 
Daniel
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 19 02:35PM -0500

On 12/19/20 1:38 AM, Melzzzzz wrote:
> You misspredicted two times already. Why you misspredict once more?
> Doomsday loonies are plenty.
 
When the rapture happens, Melzzzzz, I hope you will go back into your
quiet place of reflection and contemplation and revisit your prejudice
and hatred of God. Recognize also that what you're about to go through
in the next seven years will be worse than any time in human history.
Worse than any war. Any famine. Any pestilence. Nothing in human
history will equal what those left behind will go through.
 
Deception in the world will grow exponentially and everybody who is not
focused purposefully on Jesus Christ will be deceived during this time
of God's wrath being poured out upon the Earth. A huge percentage of
people world-wide will die during this time due to the various plagues.
 
And during this time, only those then willing to die for their faith by
taking a visible, vocal, purposeful, public, unwavering stand will be
saved. This may include being given 10 days in prison to decide whether
or not you want to take the mark, or have your head separated from your
body. Only those who are willing to go to their death for their faith
will be saved.
 
-----
Should any of you miss the rapture reading this, I hope you will
remember these warnings and teachings and go back and read them and see
what it was you missed the first time, why it was I was issuing warnings
when I did, and why those of us who were raptured were looking up
continually for His coming, and the sign of the times.
 
Go to YouTube and Rumble and other sites and use your phones and capture
the many videos as soon as possible because the ones that teach you the
way of Christ and how to overcome the enemy's deception in this world,
that teach you what it will be, how to identify it, how to get right
with God, how to live for your faith, will all be taken down very quickly.
 
Only those who follow into the system that leads to the ETERNAL
DAMNATION OF YOUR SOULS during this time will have it seemingly easy or
even tolerable. Those who reject or rebel against that system will be
cast out into the streets, into the wilderness, into the cold. No food.
Water from lakes and streams and what not.
 
It's going to be absolutely horrible. It's why I urge you all today to
ask Jesus to forgive your sin today so you will escape that wrath tomorrow.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 19 02:43PM -0500

On 12/19/20 2:50 AM, Mr Flibble wrote:
> What can be asserted without evidence can also be dismissed without
> evidence.
 
The teaching here is that the spirit is not the flesh. What you cannot
know in your flesh is known in the spirit. The testimony of men and
women like me world-wide who have come to this knowledge of the truth
reach out to teach people the truth about the spirit nature. Read John
3. You must be born again.
 
And I understand. Don't believe me or my witness. Go to YouTube and
look for "born again" messages from total strangers across the world.
And also beware of some of them because the enemy knows the power of
salvation, of the born again nature when you come to Jesus truly and ask
forgiveness for your sin, and he goes out and purposefully puts up
nutters to muddy the water. But for all who seek the truth, God Himself
will give you discernment and direction and guidance on which way to go.
 
Testimony from a multitude of people gains credibility and has weight.
I was an atheist before coming to Christ. And I absolutely would not
have believed the transformation to salvation was possible had it not
happened to me. Even when it did happen to me it took me weeks to be
able to sort it all out, and to realize it was not of the flesh, but of
the spirit. And it remains to this day 16.5 years later.
 
The transformation is possible for all. And it did happen to me. How
it happened is exactly and only this: I truly sought the truth. I
truly wanted to know the truth about God. And I was serious in my
pursuit of wanting to know. And because I was serious, and truly did
want to know, God Himself brought it to me.
 
-----
I will see you in Heaven, Leigh. It will either be as a brother in
Christ, or as a witness in your judgment.
 
I would rather welcome you rejoicing with you as a brother in Christ in
our eternal life, than to speak words of truth, as I am compelled to
lift my voice against you speaking the words I warned you of repeatedly,
as a witness against you in your judgment.
 
I ask you with everything in me: Choose life. Choose Jesus Christ.
 
--
Rick C. Hodgin
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Dec 19 08:01PM

On Fri, 18 Dec 2020 19:43:05 -0500
"Rick C. Hodgin" <rick.c.hodgin@gmail.com> wrote:
[nutjob conspiracy theories excised]
 
Verily, we are going through a time of great tribulation. We have both
you and Olcott spamming this newsgroup at the same time.
 
Woe, woe, woe.
Mr Flibble <flibble@i42.REMOVETHISBIT.co.uk>: Dec 19 08:01PM

On 19/12/2020 19:43, Rick C. Hodgin wrote:
[snip - tl;dr]
 
And Satan invented fossils, yes?
 
/Flibble
 
--
😎
olcott <NoOne@NoWhere.com>: Dec 19 12:27PM -0600

On 12/18/2020 2:19 PM, Kaz Kylheku wrote:
 
> Problem is, this interference is coming from a global machine, and
> information from that machine is leaking into the program, changing its
> behavior in ways that are not allowed inside the proof.
 
It took me until now to empirically refute this claim with fully
operational code. Halts() does not need any global data it only needs
the local sequence of machine addresses that it simulates according to
this basic model of a halt decider:
 
bool Halts(u32 P, u32 I)
{
static u32* local_execution_trace_list;
bool Halted = false;
bool Aborted = false;
while (!Halted && !Aborted)
{
// EIP points to the next instruction to be simulated
PushBack(local_execution_trace_list, EIP);
Halted = DebugStep(P, I);
if (!Halted)
Aborted = Needs_To_Be_Aborted(local_execution_trace_list);
}
return !Aborted;
}
 
 
--
Copyright 2020 Pete Olcott
 
"Great spirits have always encountered violent opposition from mediocre
minds." Einstein
Keith Thompson <Keith.S.Thompson+u@gmail.com>: Dec 18 03:51PM -0800

> issues with templates, template functions are normally compiled so that
> multiple copies get merged into a single version, from one of the
> translation units.
 
It looks like the change happened between gcc 9.3.0 (2019) and 10.1.0 (2020).
 
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */
Ian Collins <ian-news@hotmail.com>: Dec 19 12:57PM +1300

On 19/12/2020 12:18, Richard Damon wrote:
> as extern to make them just declarations and not definitions). It did
> not check that they ware of the same type, but just put all of them at
> the same memory location.
 
This has been the cause of many a strange error and a good argument
against forward declaration (rather than header inclusion) for structs.
If the struct layout changes, say by adding a new member a the top, and
every TU that uses it isn't recompiled nasal demons have been known to
appear.
 
--
Ian.
"Öö Tiib" <ootiib@hot.ee>: Dec 19 01:47AM -0800

On Friday, 18 December 2020 at 23:43:30 UTC+2, Vir Campestris wrote:
> > the system is more apt to not detect the problem and report the issue.
> If I named two different ordinary functions the same I'd expect the
> linker to object.
 
It is groundless expectation as [basic.def.odr] "Every program shall contain
exactly one definition of every non-inline function or variable that is odr-used
in that program outside of a discarded statement, no diagnostic required.
...
An inline function or variable shall be defined in every translation
unit in which it is odr-used outside of a discarded statement."

> With template instantiations it optimises one away - based purely on the
> signature, not the content. I suppose it would be too hard to check the
> content.
 
Compiler vendors do very lot of things that are hard and not required,
but programmers are still expected to pay attention to what is their
fault and what compilers are not required to diagnose.
"Öö Tiib" <ootiib@hot.ee>: Dec 19 01:22AM -0800

> string_view, but by the grace of G-d we are getting some C++-based
> operating systems. I haven't looked at them in much depth, but
> I hope they will use string_view in their APIs.
 
The string_view is optimization where terminating zero is replaced
with length/end information. IOW it helps algorithms that
benefit from length and/or algorithms that benefit from avoiding
making copies to ensure existence of terminating zero. Exception
has to have that terminating zero for what() and loggers do simple
linear processing so particular case does not benefit much from
length information.
 
> > table entries and code of such entries of used classes AFAIK.
> How about if you use link-time optimization? Probably
> static exceptions will affect some of the things you mention.
 
Throw and catch being so close to each other that some kind of
interprocedural optimization affects it is unusual as people
prefer good old if in cases where issue can be handled locally.
So lets say in few lucky places virtual function can be called
non-virtually (and even potentially inlined). Those occasions do
not allow compilers to remove families of functions from virtual
tables as rest of the calls remain virtual in meaningful program.
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: