News for hackers. Stuff that matters.
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by davidkunz on Monday May 24, 2021 @02:06AM (#27261467)
>> Of all the new languages, Go is probably the most Python-ic — or at least the general-purpose new languages.

I wonder what he thinks of Nim.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by tomComb on Sunday May 23, 2021 @09:39PM (#27260344)
Wow, what a horrible site. Is it available elsewhere?
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by PEJOE on Monday May 24, 2021 @12:14AM (#27261042)
You must be a newer human. Slashdot is a venerable news site of old, with a very interesting comment and moderation scheme.

Just because something is different does not make it horrible. I actually rather like /. and think many others do as well.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by deepsun on Monday May 24, 2021 @04:08AM (#27262062)
I'm pretty old, but any website with broken back button is a bad engineering.
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by forgotpwd16 on Monday May 24, 2021 @02:13PM (#27267773)
How does /. has broken back button?
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by necovek on Monday May 24, 2021 @08:10AM (#27263412)
Used it for what HN is as well, but the takeaway from the article for me was that /. still exists!
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by meepmorp on Monday May 24, 2021 @05:49AM (#27262561)
No wireless. Less space than a nomad. Lame.
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by eesmith on Monday May 24, 2021 @12:12AM (#27261031)
It links to the one hour interview at YouTube - https://www.youtube.com/watch?v=aYbNh3NS7jA .

His views on Rust starts at https://youtu.be/aYbNh3NS7jA?t=1353 .

Go at https://youtu.be/aYbNh3NS7jA?t=1472 . (Short)

Julia at https://youtu.be/aYbNh3NS7jA?t=1485

After making his comments about Julia, "I"m sure in 5 minutes that will be on Hacker News with a counter-example" (of a web server in Julia "with a lot of mileage out of it).

TypeScript at https://youtu.be/aYbNh3NS7jA?t=1566 . Of the four mentioned language, that has the most influence on Python.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by maximilianroos on Thursday May 27, 2021 @11:56PM (#27311579)
As requested:

"Genie — The highly productive Julia web framework" — https://genieframework.com/

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by chris_j on Monday May 24, 2021 @06:31AM (#27262805)
As others have pointed out, Slashdot is a classic site. It has been around for decades at this point and it used to fulfil the role that Hacker News does for me today: it was where I would go to see news about tech.

It makes me sad to see that it has gone down hill so much since I last visited. Hacking the back button like that makes me not want to visit again.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by OhSoHumble on Monday May 24, 2021 @01:50AM (#27261419)
My heart weeps for what the next generation stands to lose.
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by iudqnolq on Monday May 24, 2021 @10:55AM (#27265075)
It's just a summary of the linked youtube video https://www.youtube.com/watch?v=aYbNh3NS7jA
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by ranguna on Monday May 24, 2021 @02:39AM (#27261608)
What do you not like about it?

There are some buttons on top, text in the middle and comments on the bottom. I'd say that's a pretty straight forward UI.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by AirMax98 on Sunday May 23, 2021 @11:02PM (#27260733)
Truly egregious history hijacking happening here
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by deepsun on Monday May 24, 2021 @04:12AM (#27262077)
I'd say Kotlin is the most pythonic now. Go is compiled to machine code, so not portable, and syntax is more different from Python than Kotlin's.
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by ncmncm on Monday May 24, 2021 @12:13AM (#27261038)
I found it curious that he entirely failed to understand what differs between C++ and Rust. He used the same words people use, but assembled them in a way that diverges from reality.
Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by iudqnolq on Monday May 24, 2021 @10:54AM (#27265064)
Huh?

> Rust: "It sounds like it's a great language — for certain things.

Uncontroversial

> Rust really improves on C++ in one particular area — it makes it much harder to bypass the checks in the compiler.

Yep. You can bypass anything with sufficient raw pointers and unsafe, but there's no way to say "let me write normal Rust but ignore that annoying borrow checker stuff".

> And of course it solves the memory allocation problem in a near perfect way...

Many people describe the borrow checker like this

> if you wrote the same thing in C++, you could not be as sure, as compared to Rust, that you've gotten all your memory allocation and memory management stuff right.

As he says, Rust provides greater certainty you've gotten memory management right. Maybe you object to the idea it's only a matter of degree? All Rust programs I've heard of ultimately involve some unsafe, at least in a dependency. Memory safety bugs have been found in well-tested components like the stdlib, and formally proving memory safety of unsafe Rust code is still a work in progress.

> So Rust is an interesting language."

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by ncmncm on Monday May 24, 2021 @11:51AM (#27265821)
This:

>> if you wrote the same thing in C++, you could not be as sure, as compared to Rust, that you've gotten all your memory allocation and memory management stuff right.

Memory allocation and management are exactly the same in C++ and Rust. Both allocate from a heap or the stack, as needed, and return memory to the heap or pop it off the stack at end of lifetime. For heap allocations, both have single-owner pointers and reference-counted pointers, and memory is freed when the last such pointer's lifetime ends.

There are differences, but they are not where he says. C++ uses a library type, std::unique_ptr, where Rust uses a built-in type, for single-owner; both use library types for reference counting. Rust has versions with atomic and non-atomic counters. But those are implementation details.

All of the semantically-significant differences are around copies of pointers, their lifetimes, and when they are and are not allowed. The memory itself, and its allocation, are not party to that process.

So, downvote me to oblivion if you like, he got it wrong where it counts.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by iudqnolq on Monday May 24, 2021 @12:32PM (#27266395)
I see. From your phrasing I thought you meant what he said was conventionally known to be false.

> He used the same words people use, but assembled them in a way that diverges from reality.

I disagree with "Rust is C++ with different names", but I'm not interested in having that argument. I think we can both agree that it's not conventionally seen as obvious though.

Re:What Python creator Guido van Rossum thinks of Rust, Go, ... by ncmncm on Monday May 24, 2021 @11:09PM (#27272222)
Nobody says it is obvious.

It is specifically because it is not obvious that it is important to not get it wrong in prominent places such as quotes from Guido. Or to downvote and lambaste people calling attention to getting it wrong.