Re: Transitioning libgomp from C to C++ implementation

Martin Uecker via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
Am Samstag, dem 09.05.2026 um 01:03 +0200 schrieb Arsen Arsenović:
> Martin Uecker <[email protected]> writes:
> 
> > Sadly this is true, once you add complexity, it is much more
> > difficult to get rid of it again. Entropy...
> > 
> > Luckily, a large part of gcc is still quite C-like, but I also
> > wonder sometimes whether I should focus my time elsewhere
> > given the trends.
> 
> I find that condition quite unlucky myself.

What I find unlucky, for example, is that we do have a generic
tree data structure with a lot of imlicit assumptions and lot
of issues if those are violated. So encapsulating this properly
in abstract data types would be really helpful.  But we could do
this also in C, while the switch to C++ apparently did nothing
to address this.


Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.