Skip Navigation
www.theregister.com The empire of C++ strikes back with Safe C++ blueprint

You pipsqueaks want memory safety? We'll show you memory safety! We'll borrow that borrow checker

37
Jump
Linux Mint 22 “Wilma” released!
  • at least you could keep their reviews so users could at least know if the app can be trusted.

    You mean, don't trust a flatpak uploaded by a random person, but if there are enough fake reviews, it can be trusted?

    15
  • Jump
    New features in C++26 [LWN.net]
  • No mention of Reflection which was passed to the Core Working Group for wording review, or senders/receivers (on the library side) which was actually voted into the working paper.

    2
  • Jump
    New features in C++26 [LWN.net]
  • Huh? There is no such alternation between new features and feature freeze releases. In fact, C++26 will very likely get reflection as a major new feature. In comparison, the biggest core language feature in C++23 was probably "deducting this (explicit object member functions)".

    The only thing that keeps Contracts out of C++26 is that they might not be finished in time (they'll need to be handed over from Evolution to Core by the February 2025 meeting, and then make it through Core review during the summer 2025 meeting).

    1
  • Jump
    FreeBSD 14.1 vs. DragonFlyBSD 6.4 vs. NetBSD 10 vs. Linux Benchmarks
  • Can anyone explain why there is such a huge difference in some of the benchmarks: Poll, Forking, CPU Cache, Semaphores, Socket Activity, Context Switching (all Stress-NG). Can we really trust these tests?

    1
  • Jump
    How to avoid one C++ foot gun
  • Depends on what semantic you want. Sure, if you use a unique_ptr member, you will get a deleted copy constructor/operator - I wouldn't consider that blowing up in my face.

    2
  • Jump
    Sean Baxter's Safe C++ Demo
  • Yes, it's not Open Source, but I am not sure that's really relevant here. I see it more as a prototype implementation for something that could be standardised for C++.

    1
  • Anyone else noticing all those broken icons/images on this instance?

    e.g. https://programming.dev/pictrs/image/1e947440-0f0d-4768-ba4b-1480551e7cc9.png?format=webp&thumbnail=96 seems to result in something like "Request error: error sending request for url (http://pictrs:8080/image/process.webp?src=1e947440-0f0d-4768-ba4b-1480551e7cc9.png&thumbnail=96): error trying to connect: dns error: failed to lookup address information: Name or service not known"

    3

    Please take 10 minutes or so to participate! A summary of the results, including aggregated highlights of common answers in the write-in responses, will be posted publicly here on isocpp.org and shared with the C++ standardization committee participants to help inform C++ evolution.

    The survey closes in one week.

    0
    https:// blog.netbsd.org /tnf/entry/netbsd_10_0_available

    The NetBSD project is pleased to announce the eighteenth major release of the NetBSD operating system NetBSD 10.0! See the release announcement for details.

    0
    devblogs.microsoft.com What's New for C++ Developers in Visual Studio 2022 17.9 - C++ Team Blog

    We are happy to announce that Visual Studio 2022 version 17.9 is now generally available! This post summarizes the new features you can find in this release for C++. You can download Visual Studio 2022 from the Visual Studio downloads page or upgrade your existing installation by following the Updat...

    5
    https:// blog.netbsd.org /tnf/entry/netbsd_10_0_rc4_available

    The NetBSD project is pleased to announce the fourth (and probably last) release candidate of the upcoming 10.0 release, please help testing! See the release announcement for details.

    0
    eu.chuwi.com FreeBook 13.5 inch | Intel N100 | 2K Touch Screen

    Chuwi FreeBook: Convertible 13.5-inch laptop, slim, lightweight and stylish with a 3:2 aspect ratio, a 2K display and an Intel Jasper Lake N100 processor,8 GB of RAM and 512 GB SSD.

    Anyone got any experience with running Linux on a Chuwi Freebook N100 yet?

    0
    https:// www.gnu.org /savannah-checkouts/gnu/emacs/news/NEWS.29.2

    This is a bug-fix release with no new features.

    • Changes in Specialized Modes and Packages in Emacs 29.2

      • Tramp

        • New user option 'tramp-show-ad-hoc-proxies'. When non-nil, ad-hoc definitions are kept in remote file names instead of showing the shortcuts.

    • Incompatible Lisp Changes in Emacs 29.2

      • 'with-sqlite-transaction' rolls back changes if its BODY fails. If the BODY of the macro signals an error, or committing the results of the transaction fails, the changes will now be rolled back.
    0
    https:// blog.netbsd.org /tnf/entry/netbsd_10_0_rc3_available

    For RC3 only few (relatively) minor changes were made, including https certificate verification in libfetch (which is used by pkg_ad(1)), and also improvements to the EFI bootloader to better deal with booting from CD (or in virtual machines ISO images), plus lots of various bug fixes.

    0
    Jump
    OpenD, a fork of D
  • Embracing the GC

    I never actually liked the GC in D as it didn't seem to fit in with the general direction of the language, and Walter Bright in D at 20: Hits and Misses says:

    Miss: Emphasis on GC

    10
  • https:// blog.netbsd.org /tnf/entry/netbsd_10_0_rc2_available

    The NetBSD project is pleased to announce the second (and probably last) release candidate of the upcoming 10.0 release, please help testing! See the release announcement for details.

    The netbsd-10 release branch is more than a year old now, so it is high time the 10.0 release makes it to the front stage. This matches the long time it took for the development branch to get ready for branching, a lot of development went into this new release.

    This also caused the release announcement to be one of the longest we ever did.

    0
    Jump
    Linode Alternative Suggestions for Small Projects
  • There is also lowendspirit, but in both cases you have to be very careful what you buy - not everything that is advertised there will work as advertised or will work long-term

    1
  • Jump
    Linode Alternative Suggestions for Small Projects
  • where they will double your monthly data limit for free when you comment your order number.

    where they use you to spam the forum thread (for giving away something rarely anyone has any use for)

    1
  • arne.me Emacs From Scratch Part Two: Projects and Keybindings

    In this second post in my Emacs from Scratch series, we’ll set up a way to manage projects, quickly find files, set up custom keybindings, interact with Git and open a terminal inside Emacs.

    0
    Jump
    Is Ubuntu deserving the hate?
  • There is no reason to “hate” Ubuntu but there are better choices.

    What are those better choices then (for those who currently use the non-LTS Ubuntu releases and don't want to move to rolling releases or LTS-only releases)?

    3
  • Jump
    Is Ubuntu deserving the hate?
  • I still think Ubuntu is the best option (particularly if you want to use the non-LTS releases)

    Having said that I do hate snaps and also dislike flatpaks. So what I do is just use the Firefox deb package from the PPA and the chromium package from Linux Mint. Oh, and I have actually replaced ubuntu-advantage-tools with a no-op dummy package.

    6
  • Jump
    Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?
  • Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.

    Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). /var will also have a lot of different owners.

    3
  • Jump
    What's the biggest change you would like to see in computing/tech?
  • Pretty much anything that's only available via an app store. The difference with web apps is that I can also use them on a laptop/PC and I have a bit more control about tracking (by using ad/tracking blockers).

    17