C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Paper for Preventing Re-entry of Functions (10 pages)

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 20 Feb 2023 09:25:50 -0800
On Sunday, 19 February 2023 11:24:40 PST Arthur O'Dwyer via Std-Proposals
wrote:
> the example on Page
> 6 seems unimplementable without a ton of heap-allocation, which obviously
> won't fly even as a library solution.
> https://godbolt.org/z/Kebvbv4cW

That probably means the compiler/language solution needs to be prototyped too.
Can it be implemented at all? What kind of resources would it utilise? Does it
work across shared library / DLL boundaries, for the implementations that have
such a feature?

Compilers don't do magic. They're still pretty far from Clarke's Third Law's
threshold.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-02-20 17:25:52