You are viewing a single thread.
View all comments
-23 points
*

These rewrites in rust are merely just training exercises for those doing it. It wasn’t needed and in most cases isnt used.

permalink
report
reply
19 points

Large parts of the rewrite came from contributors who had never worked on fish before.

That’s pretty useful alone.

And there’s this:

Thread Safety

Allowing background functions and concurrent functions has been a goal for many years. I have been nursing a long-lived branch which allows full threaded execution. But though the changes are small, I have been reluctant to propose them, because they will make reasoning about the shell internals too complex: it is difficult in C++ to check and enforce what crosses thread boundaries.

This is Rust’s bread and butter: we will encode thread requirements into our types, making it explicit and compiler-checked, via Send and Sync. Rust will allow turning on concurrent mode in a safe way, with a manageable increase in complexity, finally enabling this feature.

permalink
report
parent
reply
15 points

They did it “for the vibes”

Vibes are just as important to free/open source software as proprietary software and although there were solid technical reasons for the port, the PR outcomes are added benefits.

permalink
report
parent
reply
1 point

It was needed to safely further support for concurrent features? If they follow through on adding that support, there will likely be adoption.

The problem is in most cases the implementers stop at “same thing but in rust” without taking advantage of that.

I can’t fully blame them since just duplicating an existing thing is a huge undertaking.

permalink
report
parent
reply
-17 points

Angry downvotes because people don’t like to hear that a meme language is a meme language.

permalink
report
parent
reply
21 points

Meme language? It was not rewritten in Javascript.

permalink
report
parent
reply
15 points

Probably not “angry” downvotes. OP provided a link where it’s explained exactly why the switch was made. Even if you don’t care for Rust it’s pretty clear that this was done with more purpose than just “Ooo let’s make it in Rust for fun”

permalink
report
parent
reply
6 points

And even if it was for fun, that would still be valid. The project is run by volunteers. If they don’t have fun, they stop doing it.

permalink
report
parent
reply
7 points

Didn’t this “meme language” ship in a recent Linux kernel?

permalink
report
parent
reply
5 points

You clearly don’t know what a meme language is.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 6.9K

    Monthly active users

  • 6.9K

    Posts

  • 186K

    Comments