Earlier quoted context omitted.
Wow. Setting up a forum for discussion where people could potentially be punished for what they say is not going to encourage discussion.
That's fine, lies are more harmful than anecdotes are beneficial. There's no forum to discuss the best IDE and people still manage, in reality there's no need for a forum around AI.
Google fixed more Chrome bugs in June than over the past two years, thanks to AI
621–630 of 668 posts
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#622Earlier quoted context omitted.
No you can't.
Consider the anecdotes in https://danluu.com/algorithms-interviews/ .
I even have an example myself, but I'm not sure I can share it in detail. It was a common idiom that was used throughout the code. After tracing a performance problem to a specific function, it was immediately obvious to me that the common idiom was the problem in this function, and how to fix it very easily. But only because I traced a performance problem to this function. Otherwise I would have skimmed over it.
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#623Earlier quoted context omitted.
Demonstrate for me, then. Here's some slow code: https://github.com/torvalds/linux Speed it up.
I can't take this seriously. The claim "you can look at SOME code and see how to optimize it" is trivially true, and saying "you can't look at ALL code and see how to optimize it" changes nothing.
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#624Earlier quoted context omitted.
People who believe in total unsuitability would be acting silly indeed. But most would agree that writing code on languages that provide better and safer tooling is a positive. Sure, the main Rust compiler currently depends on LLVM, which is currently written in C++. But the rustc team might choose to follow a similar path to Zig and replace LLVM, or LLVM might get rewritten in Rust. Finally, while most bugs are logi…
[dead]
And then you say:
> [...] your belief system.
What do you mean by that? What beliefs? This just sounds like projection.
> Please do so at the earliest opportunity, so that your language can actually become an alternative to C++.
It already is an alternative to C++. The fact that LLVM is written in C++ doesn't change the fact that you can write software that otherwise would be written in C++ or C, in pure Rust without writing a single C or C++ source nor header file.
> False. Nonsense. Not true.
https://www.chromium.org/Home/chromium-security/memory-safet...
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#625Earlier quoted context omitted.
Yes, except imagine the distance in correctness between Assembly and C, and triple it. Less so compared to C++ of course. The sentiment of "if it compiles it probably works" for languages like Rust and Haskell is there for a good reason.
[flagged]
No shallow dismissals please, tell me why you think I'm wrong.
> Rust is not a major advance over C/C++
Rust adds the borrow checker (and especially with non-linear lifetimes it's an implementation like the world has never seen before, not even in Cyclone). That alone raises it leaps above both C and C++.
But even without it, it still has a Hindley Milner type system (which most people considered superior to multiple inheritance), it has Sync/Send traits, the concept of UnwindSafe, proper destructive moves and affineish types, proper sum types and matching, sane iterators, lack of UB on uninit/overflow/etc, a sane module system, hygienic macros, and that's just the things I was able to pull of the top of my head right now.
Not to mention, the design of its stdlib is absolutely lovely compared to what C++'s stdlib has become, and it focuses on correctness much more than most other popular languages.
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#626Earlier quoted context omitted.
[flagged]
> * laugh track deafening * No shallow dismissals please, tell me why you think I'm wrong. > Rust is not a major advance over C/C++ Rust adds the borrow checker (and especially with non-linear lifetimes it's an implementation like the world has never seen before, not even in Cyclone). That alone raises it leaps above both C and C++. But even without it, it still has a Hindley Milner type system (which most people con…
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#627Earlier quoted context omitted.
Yes, except imagine the distance in correctness between Assembly and C, and triple it. Less so compared to C++ of course. The sentiment of "if it compiles it probably works" for languages like Rust and Haskell is there for a good reason.
[flagged]
It could. Switch that to C or C++ and the amount of logic bugs is likely going to triple.
> Rust is not a major advance over C/C++, only an incremental and quite limited one, [...]
"Nothing ever happens." I guess you could consider borrow checking, an actual module system, type classes, enum variants, compiler-integrated macros, async/await, etc. to be just small increments. (Theoretically, you can reimplement most of this in C++, like std::variant, but they don't integrate well into the language - having to declare a type just to use std::visit is certainly not as simple as using match).
> [...] which will require decades of rewriting perfectly good code to gain its dubious benefits, in the process introducing numerous other errors.
"Introducing numerous other errors"? Would be interesting to see an citation on that. From what I've seen, these "new errors" were already present in the original "perfectly good code", except the original also had instances of undefined behavior and logic errors from poor type modeling.
> But don't take my word for it [...]
Why would anyone other than your friends take your word? You could have substantiate your claims with actual evidence.
> [...] after the hype has worn off [...]
Which already did. Nowadays, I see more posts about Zig and Fil-C.
>[...] left with the sad mess that is Rust.
I went to read your comment history to see if you elaborated on this "sad mess" of Rust, but you didn't. How about you do it here?
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#628Earlier quoted context omitted.
[dead]
The problem is that you think Rust programmers despise C or C++. We don't. We just think there are better alternatives for modern development. In fact, a lot of Rust programmers were experienced C or C++ programmers. And then you say: > [...] your belief system. What do you mean by that? What beliefs? This just sounds like projection. > Please do so at the earliest opportunity, so that your language can actually beco…
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#629Earlier quoted context omitted.
> * laugh track deafening * No shallow dismissals please, tell me why you think I'm wrong. > Rust is not a major advance over C/C++ Rust adds the borrow checker (and especially with non-linear lifetimes it's an implementation like the world has never seen before, not even in Cyclone). That alone raises it leaps above both C and C++. But even without it, it still has a Hindley Milner type system (which most people con…
[dead]
Good thing Rust doesn't just fix that one class of problems, but also provides better tooling to fix other classes too. Classes of problems that could be fixed with the other features of Rust mentioned later like the Hind...
> Blah blah blah. Most of that is just added runtime complexity that I could add to C if I wanted, but why would I?
...the vast majority of these features don't even run at compile time. Some of them can't even be implemented in C. For starters, show me an example of a Hindley Milner type system implemented for C (how can someone improve a strictly compile time feature, static typing, with a runtime implementation is beyond me). Or proper destructive moves in C or C++.
> Ada is the language to emulate, [...]
Good thing Rust also takes from Ada.
> Again, the actual successor to C/C++ looks nothing like Rust.
And that would be...?
Re: Google fixed more Chrome bugs in June than over the past two years, thanks to AI
#630Earlier quoted context omitted.
I hope this weird redefinition of bike shedding doesn’t take off. It’s a useful and meaningful term and repurposing it to mean AI slop is negative value. Thankfully until this thread I’d never seen anyone use the term this way. > Can only assume english might not be your first language. This not-subtle insult does not add anything here.
it's not an insult. Declaring this both a fixed context and definition for any given piece of language is typically related to language learners. An insult would suggest it's also related to autism.