lysdexic

joined 2 years ago
MODERATOR OF
 

Since the last update, it's not possible to get the [email protected] community page to even load. Can anyone take a look at the problem?

2
Smolderingly fast b-trees (www.scattered-thoughts.net)
[–] [email protected] 1 points 6 months ago

If you could reliably write memory safe code in C++, why do devs put memory safety issues intontheir code bases then?

That's a question you can ask to the guys promoting the adoption of languages marketed based on memory safety arguments. I mean, even Rust has a fair share of CVEs whose root cause is unsafe memory management.

[–] [email protected] 1 points 6 months ago (4 children)

The problem with C++ is it still allows a lot of unsafe ways of working with memory that previous projects used and people still use now.

Why do you think this is a problem? We have a tool that gives everyone the freedom to manage resources the way it suits their own needs. It even went as far as explicitly supporting garbage collectors right up to C++23. Some frameworks adopted and enforced their own memory management systems, such as Qt.

Tell me, exactly why do you think this is a problem?

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (15 children)

From the article.

Josh Aas, co-founder and executive director of the Internet Security Research Group (ISRG), which oversees a memory safety initiative called Prossimo, last year told The Register that while it's theoretically possible to write memory-safe C++, that's not happening in real-world scenarios because C++ was not designed from the ground up for memory safety.

That baseless claim doesn't pass the smell check. Just because a feature was not rolled out in the mid-90s would that mean that it's not available today? Utter nonsense.

If your paycheck is highly dependent on pushing a specific tool, of course you have a vested interest in diving head-first in a denial pool.

But cargo cult mentality is here to stay.

[–] [email protected] 0 points 7 months ago

If you had a grasp on the subject you'd understand that it takes more than mindlessly chanting "tools" to actually get tangible improvements, and even I'm that scenario often they come with critical tradeoff.

It takes more than peer pressure to make a case for a tool.

[–] [email protected] 0 points 7 months ago (2 children)

Clearly Rust is a conspiracy.

Anyone in software development who was not born yesterday is already well aware of the whole FOMO cycle:

  1. hey there's a shiny new tool,
  2. it's so fantastic only morons don't use it,
  3. oh god what a huge mistake I did,
  4. hey, there's a shiny new tool,
[–] [email protected] 1 points 7 months ago

Is there something else I’m not seeing?

Possibly payment processing fees. Some banks/payment institutions charge you for a payment.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)

This guy 3Dprints.

What a treat of a post. This is why I subscribe to [email protected]. Thank you.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

A few years ago I was in a hiring loop where four interviewers grilled me on a number of subjects, including algorithms and data structures. They asked me all sorts of trivia questions on assimptotic complexity of this and that algorithm, how to implement this and that, how to traverse stuff, etc. As luck would have it, I was hired. I spent a few years working for that company and not a single time did I ever implemented a data structure at all or wrote any sort of iterator. Not once.

I did spend months writing stuff in an internal wiki.

I can't help but feel that those bullshit leetcode data structures computational complexity trivia are just a convoluted form of ladder-pulling.

view more: ‹ prev next ›