Tuesday, March 14, 2023

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

Nikki Locke <nikki@trumphurst.com>: Mar 14 11: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.
"Öö Tiib" <ootiib@hot.ee>: Mar 14 01:27PM -0700

On Monday, 13 March 2023 at 18:54:47 UTC+2, David Brown wrote:
> but the VM it runs on is in C or C++. The libraries that do the work in
> the graphics, the network, the filesystems, the game engine - it's all C
> and C++.
 
Fundamental blocks of lot of platforms are written in C or C++ with bit of
assembler. Apple has done lot of it in Objective-C. Rest like Fortran, Ada,
Rust, Go, Erlang, Haskell, Lisp matter only narrowly/locally. But consider
what I use right now? Google groups. Aggravating garbage but works on
any device under hand that does *not* have something better to do
at the moment.
 
> more important that efficiency is a high-priority in C and C++. And it
> is even more appropriate to expect the C and C++ programmers to be good
> at their jobs and not need hand-holding to get simple tasks right.
 
Shareholders of product do not think like that ... for them to have cheaper,
faster and more reliable maintenance team is higher priority. Otherwise
there will be syndrome of "legacy that may not be touched" and good
products simply degrade and die because of upkeep being too expensive.
 
> So for PC's, you absolutely want to be able to conduct your integer
> arithmetic as fast as possible without any unnecessary checking, traps,
> exceptions, or other hinders in the flow.
 
I don't want as rule. It is maybe in 5% of code base where micro-optimizations
may give few percents of advantage and there I expect every trick to be
commented with performance issue ID. I do reject removal of
#ifdef NDEBUG
#error "defining NDEBUG without author's permission not allowed"

No comments: