Tech News
← Home  ·  All topics

C++

280 GoKawiil briefs on this topic

DOJ argues presidents could legally sell classified records, court told

In oral arguments before the D.C. Circuit, Justice Department lawyers said a president could sell national security secrets to the highest bidder, affirming a position laid out in a DOJ memo that calls the Presidential Records Act unconstitutional. The case stems from a lawsuit by Freedom of the Press Foundation and Citizens for Responsibility and Ethics in Washington, which won a preliminary injunction in May requiring the White House to keep following the law while the case proceeds.

C++26 fails ISO DIS ballot, delaying reflection and contracts features

The ISO DIS ballot for the C++26 standard closed on 23 October 2026 and was disapproved, according to C committee convenor Robert Seacord. He and WG21 Direction Group member Daveed Vandevoorde say no prior C++ standard draft has failed a ballot, or even received a single vote against. The disapproved draft includes reflection, std::execution, library hardening, and contracts, and the length of the resulting delay is not yet known.

Blog post shows GCC 16.2 can execute unrelated code after undefined behavior

A developer's personal blog post demonstrates that GCC 16.2, when compiling C code that triggers undefined behavior (via std::unreachable() or a null pointer dereference), can generate assembly that executes a completely separate, never-called function. In one example, writing to a 'device_command' variable followed by undefined behavior causes the compiler to also emit code for an unrelated 'explode()' function that was never invoked in the source.

Buyer's guide outlines key checks before purchasing a wireless CarPlay adapter

A guide advises shoppers to confirm their car already has built-in wired CarPlay before buying a wireless adapter, since these devices only convert existing USB CarPlay to wireless rather than adding CarPlay to cars that lack it. It also recommends checking compatible-vehicle lists, matching USB-A or USB-C ports, and verifying iOS compatibility, citing Amzfeel's adapter as one claiming support for over 800 vehicle models.

9to5Mac rounds up weekend Apple discounts including $900 off MacBook Pro

9to5Mac published a roundup of weekend deals on Apple products, including discounts on the Apple TV 4K, a MacBook Pro listed $900 off, the USB-C Apple Pencil, and AirPods Pro 3, among other items. The deals are being offered by third-party retailers rather than Apple directly.

CNET reports phone charging faults often caused by debris clogging USB-C or Lightning ports

CNET explains that a common cause of iPhone and Android charging failures isn't damaged cables or ports but a buildup of dust, lint and debris inside the charging port itself. Over months or years, this debris compacts into a solid blockage that prevents the charging cable from fully connecting. The outlet notes this issue affects both Lightning ports on older iPhones and USB-C ports on newer iPhones and Android devices like the Pixel 11 Pro and Galaxy S26 Ultra.

UGREEN 6-Port Travel Adapter Drops to $27.99 on Amazon

UGREEN's 45W 6-Port Universal Travel Plug Adapter is on sale for $27.99 on Amazon, down from its $39.99 list price. The device combines two AC outlets, two USB-C ports, and two USB-A ports, supports plug formats for the US, UK, EU, and AU, and works across more than 200 countries and regions.

Apple accessory deals coincide with iPhone Duo launch

To mark iPhone Duo's shipping launch, retailers are discounting related Apple gear: AirPods Pro 3 are $50 off at $199, Apple Pencil (USB-C)—the only stylus iPhone Duo supports—is down to $69 (or $61 used-like-new), and the new Apple TV 4K remains available at a pre-order discount. Additional savings cover leather cases, power banks, and the new Mac Studio and M6 Mac mini.

Razer USB4 Dock discounted to $174.50 on Amazon

Amazon has cut the price of the Razer USB4 Dock to $174.50, down from its $259.99 list price, a reduction of $85 or about 33%. The dock offers 14 ports including HDMI 2.1, DisplayPort 1.4, USB-C, USB-A, Gigabit Ethernet, SD/microSD readers and a headphone jack, and can connect to a PC or Mac via a single USB-C or USB4 cable.

Apple details fast-charging requirements for iPhone Duo

Apple published a support document outlining how to achieve fastest charging speeds on iPhone Duo. Wired charging to 50% in about 20 minutes requires the bundled USB-C cable paired with a 60W+ adapter supporting Adjustable Voltage Supply and USB-PD 3.2, such as Apple's 40W Dynamic Power Adapter. Wireless charging to 50% in roughly 30 minutes requires a specific MagSafe-compatible charger named in Apple's guidance.

Meta creates non-voting Class C shares amid Zuckerberg's tax concerns

Meta's board approved a new non-voting Class C common stock class, effective January, which the company says will fund capital raising, employee pay and acquisitions tied to its AI push. The New York Times reports an SEC filing shows the plan was also shaped by CEO Mark Zuckerberg's concerns about California's proposed Proposition 40 billionaire tax, which could impose a one-time 5% levy on billionaires' net worth.

Canada's Bill C-22 surveillance law advances to Senate as groups push back

Canada's Bill C-22, the Lawful Access Act, has passed the House of Commons and is now before the Senate. The bill would let the Minister of Public Safety compel telecoms and messaging apps to build law-enforcement backdoors, require retention of user metadata for up to a year, and potentially expand cross-border data sharing with U.S. police without Canadian court oversight. The Canadian Civil Liberties Association and Citizen Lab have published an analysis calling for Part 2 of the bill to be withdrawn entirely, and are circulating a petition urging senators to reject it.