News for hackers. Stuff that matters.
Re:Pin by simon_o on Monday July 22, 2024 @10:08AM (#41034561)
This.

The harmful decisions Rust made highlight its ingrained culture of doubling down on previous mistakes at all costs.

There seems to be no reevaluation of the cost/benefit ratio once the "preferred approach" turns out to be non-viable.

"We want to have feature X, consequences be damned" is rarely a winning move in language design.

Re:Pin by redman25 on Monday July 22, 2024 @10:53AM (#41035138)
I think he's talking about OS threads... it has nothing to do with rust's decisions.
Re:Pin by simon_o on Monday July 22, 2024 @11:29AM (#41035563)
It has everything to do with Rust's decisions.
Re:Pin by TwentyPosts on Monday July 22, 2024 @02:02PM (#41037443)
Talking about a "decision" only makes sense if there's a reasonable alternative.

Do you think "actually fixing" OS threads was a reasonable alternative? What would you prefer for a high performance abstraction instead of async?

Re:Pin by simon_o on Monday July 22, 2024 @02:15PM (#41037667)
I think there are some lessons that can be learned from Java's virtual thread approach – note that there is a huge gap in requirements and design trade-offs, especially around embedded, when compared to Rust.

I'd just wager that the effort of getting something like that into shape is smaller than the costs of async/await.

(And no, Rust's playing with green threads once 15 years ago and failing due to quality-of-implementation issues is not an excuse to dismiss everything that came after it off the bat.)

Though it's probably not worth discussing this whole topic with Rust fans currently:

Many made async/await part of their personality and have little experience to offer besides breathlessly pointing to one of the half dozen blog articles trying to defend async/await.

It will take a few years until that language feature runs through all stages of grief and one can have an adult discussion about it.

Re:Pin by api on Monday July 22, 2024 @10:10AM (#41034593)
True but I didn't just mean Rust... I meant virtually all async coding as a pattern.
Re:Pin by simon_o on Monday July 22, 2024 @10:15AM (#41034648)
Agreed, it's just that in Rust async/await hurts more than in e. g. JavaScript where the browser gives you enough hooks to have a "fresh start with(out) async".
Re:Pin by withoutboats3 on Monday July 22, 2024 @10:25AM (#41034778)
Despicable comment and false.
Re:Pin by CyberDildonics on Monday July 22, 2024 @11:06AM (#41035312)
Is it 'despicable' just because you don't like what it says? You didn't do anything to refute it.
Re:Pin by simon_o on Monday July 22, 2024 @11:29AM (#41035568)
Some Rust people just have to be that dramatic.
Re:Pin by withoutboats3 on Monday July 22, 2024 @02:26PM (#41037859)
I've written thousands of words on my blog about the design of async Rust, in which I carefully explain every decision and discuss the strong and weak points. This person regularly post rude low-effort comments like this one. My body of work should be enough to refute the idea that all I'm doing is doubling down.
Re:Pin by CyberDildonics on Tuesday July 23, 2024 @11:09AM (#41046784)
This person regularly post rude low-effort comments

https://news.ycombinator.com/item?id=41034778

https://news.ycombinator.com/item?id=41004954

My body of work should be enough

This is a separate discussion, maybe you can put some of that body of work here.

Re:Pin by withoutboats3 on Tuesday July 23, 2024 @12:11PM (#41047643)
This is literally a thread about a post on my blog. If you can’t find my body of work, I cannot help you.
Re:Pin by CyberDildonics on Tuesday July 23, 2024 @12:40PM (#41048051)
It's not about me finding anything, I'm saying that your expectations probably need to be adjusted. It seems like you thought you would post a one word title and have everyone just post compliments with no questions.
Re:Pin by withoutboats3 on Tuesday July 23, 2024 @04:30PM (#41050478)
I didn't ask for this to be posted on Hacker News, genius. My engagement with this community is a generous use of my free time, but I do not suffer trolls and cranks like simon-o.
Re:Pin by CyberDildonics on Tuesday July 23, 2024 @05:53PM (#41051354)
My engagement with this community is a generous use of my free time

I think this attitude is a major problem. You wrote something public and here you have lots of attention and engagement and you think you're being "generous" by replying to people. If you don't want people to read it, take it down. If you don't want to engage with people on hacker news, just ignore the whole thing. Calling comments "despicable" with no explanation is not a great reaction to people giving your article the attention you wanted in the first place.

Re:Pin by simon_o on Wednesday July 24, 2024 @01:53PM (#41059757)
Not to mention that this boats gentlemen is on account number 3 already, so it appears that moderators on this site have already told –him more than once– that he should offer his "generous donations of free time" somewhere else if he cannot adjust his behavior.

(His older accounts show the same patterns of throwing childish tantrums and blowing up on random people.)

Re:Pin by CyberDildonics on Wednesday July 24, 2024 @03:46PM (#41061147)
https://news.ycombinator.com/item?id=33512918

You weren't kidding. It's the exact same attitude of focusing on authority rather than explaining things technically.

Re:Pin by withoutboats3 on Thursday July 25, 2024 @07:39AM (#41067377)
This comment contains a link to a detailed technical explanation of why the person I was replying to was wrong. Does your browser not support websites others than Hacker News? What is this peculiar delusion you have in which content not written into this little box is not real content?

Hacker News comments are divided between useful, inquisitive engagement, to which I react positively and smarmy, self-important bullshit, to which I react with scorn. You have made clear your allegiance to the latter. Sad!

Re:Pin by CyberDildonics on Thursday July 25, 2024 @02:30PM (#41071801)
What are your expectations exactly when you try to patronize people and tell them about their "total ignorance" while also just throwing out links to random blog posts?

If someone replies with insults and then just links to a google search page you wouldn't think they're some sort of authority because they promised you the evidence to their claim is out there somewhere.

If you want people to actually respect what you're saying you need to do things differently from both angles. Stop the toxic claims of authority and give simple explanations that are direct replies to what people are talking about.

Re:Pin by withoutboats3 on Thursday July 25, 2024 @07:33AM (#41067332)
I created new accounts because I didn't register with an email and lost the login. What a nasty person you are! Why don't you go create something?