Sunday, May 14, 2023

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

Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo>: May 14 06:56PM -0400

Chris M. Thomasson wrote:
> I can get this working with C++20, can anybody else? Over allocating and
> aligning on a page size:
> _________________________
[snipped]
 
> I get:
 
> page = 0000017135410000
 
> as an output. I get no crap output, so to speak... ;^)
 
[snipped]
Seems to work for me as well
 
g++ (GCC) 13.1.1 20230429
 
$ ./a.out
page = 0x55f3f83da000
$
 
g++ (GCC) 13.1.1 20230429 on x86_64 GNU/Linux
 
-Pavel
Nikki Locke <nikki@trumphurst.com>: May 14 10:23PM

Available C++ Libraries FAQ
 
URL: http://www.trumphurst.com/cpplibs/
 
This is a searchable list of libraries and utilities (both free
and commercial) available to C++ programmers.
 
If you know of a library which is not in the list, why not fill
in the form at http://www.trumphurst.com/cpplibs/cppsub.php
 
Maintainer: Nikki Locke - if you wish to contact me, please use the form on the website.
Bonita Montero <Bonita.Montero@gmail.com>: May 14 03:46AM +0200

Am 13.05.2023 um 21:08 schrieb David Brown:
 
> You /do/ understand that I was referring to past usage, not typical
> modern machines?
 
There are not much differences in access times on old HDDs.
And DRAM access times aren't much different the last 20 yrs.
Muttley@dastardlyhq.com: May 14 08:30AM

On Sat, 13 May 2023 19:03:24 +0200
>But unexpected or unplanned swapping is a bad thing - if a process
>starts taking so much memory that it forces most of the rest of the
>system onto swap, then I agree things are going to go /really/ badly.
 
Unfortunately Linux (and probably Windows and Mac) doesn't AFAIK prioritise
processes that the user needs to rescue the system when it tanks due to
swapping. Any shell and its child processes spawned from getty/login (or
whatever fucked up crap systemDire replaced them with) should never be swapped
out if the shell is running as root but I guess thats tricky to sort out.
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: May 14 12:13AM -0700

They better keep it on a some sort of a leash? The dark side:
 
https://youtu.be/_p6okLK3sq0
 
Yikes!
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: