Readit News logoReadit News
howtofly commented on Problems with C++ exceptions   marler8997.github.io/blog... · Posted by u/signa11
howtofly · 4 months ago
All this hassle can be avoided by using `cleanup` compiler attribute.

Manage classical C resources by auto-cleanup variables and do error-handling the normal way. If everything is OK, pass the ownership of these resources from auto-cleanup variables to C++ ctor.

Note this approach plays nicely with C++ exception, and will enter C standard in the form of `defer`.

howtofly commented on AI is different   antirez.com/news/155... · Posted by u/grep_it
diggan · 7 months ago
But that's clearly not true for every technology. Photoshop, Blender and similar creative programs are "technology", and arguably they aren't as resource-intensive as the current generative AI hype, yet humans used those to create things I personally wouldn't consider "waste".
howtofly · 7 months ago
The real issue is determining how much non-renewable resource consumption is justified for these "valuable" things? Note that we are always inclined to value ourselves too much.

I agree the things you mentioned are valuable in the very common sense and I deliberately assign them no value to the avoid the above issue.

howtofly commented on An argument for increasing TCP's initial congestion window (2024)   jeclark.net/articles/tcp-... · Posted by u/cyb0rg0
howtofly · 7 months ago
IIRC, all latency-driven congestion control algorithms suffer from violent rtt variance, which happens frequently in wireless networks. How does BBR perform under such circumstances?
howtofly commented on AI is different   antirez.com/news/155... · Posted by u/grep_it
diggan · 7 months ago
> Humans never truly produce anything; they only generate various forms of waste

What a sad way of viewing huge fields of creative expressions. Surely, a person sitting on a chair in a room improvising a song with a guitar is producing something not considered "waste"?

howtofly · 7 months ago
It's all about human technology, which enables massive resource consumption.

I should really say humans never truly produce anything in the realm of technology industry.

u/howtofly

KarmaCake day168September 9, 2019View Original