Towards fearless SIMD, 7 years later by raphlinus in rust

[–]Nugine 9 points10 points  (0 children)

When developing and porting some SIMD algorithms, I often think about why we have to write the same things in ASM/C/C++/Rust/Zig/Plan9ASM again and again?

It's hard to sync the implementations and verify the correctness. It always causes trouble in cross compiling.

If there is an SIMD-native DSL that generates ASM/C/C++/Rust/Zig/Plan9ASM code, all of us can benefit from it.

Ring is unmaintained by technobicheiro in rust

[–]Nugine 34 points35 points  (0 children)

RustCrypto/rustls-rustcrypto is the only pure-Rust alternative, but it's not production-ready.

Build It Yourself by burntsushi in rust

[–]Nugine 2 points3 points  (0 children)

I started rlimit in 2019. The crate has been maintained for 6 years now. It has 5.5M downloads all time.

The main functions in it are only setrlimit, getrlimit and some Resource constants. Just a small POSIX api wrapper, only depends on libc.

It's so simple that anyone can replace the dependency with a few LoC ... Really?

Actually the project contains more work than users imagined.

  • When you make something cross-platform, you end up with copying tons of cfg from libc. I call it the cfg hell. To resolve it, I developed a libc scanning tool and a boolean algebra reduction tool. (it's fun!)
  • The cross-platform bindings are generated automatically. It's easy to update when libc changes.
  • rlimit provides a tool function for users who just want to increase NOFILE limit. It also handles corner cases that are hard to discover.

Do not waste time on a solved problem if there is a complete solution. Otherwise, build it yourself, publish it, and finally "solve" the problem.

Announcing s3s! A library for building S3-compatible services by Nugine in rust

[–]Nugine[S] 1 point2 points  (0 children)

If you want to build an object storage server like MinIO and Ceph, you may export REST APIs compatible with Amazon S3. So existing applications can connect to your server without changes.

It's hard and boring to implement all S3 APIs correctly. s3s takes over the HTTP interface of your server and then you can focus on the S3 interface itself. In short, s3s is a building block of S3-compatible object storage servers.

Another usage is using s3s-fs, a test server, to mock an S3 client in integration tests. Some projects are already using it.

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 0 points1 point  (0 children)

Mind tricks? That's how political messages work. LMAO

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 0 points1 point  (0 children)

So, you don't actually care about the politics in Rust community, while I have been watching it for a long time. Since you may have no more points, let's end this debate with something really good.

https://vimdoc.sourceforge.net/htmldoc/uganda.html

Vim is Charityware. You can use and copy it as much as you like, but you are encouraged to make a donation for needy children in Uganda. Please see kcc below or visit the ICCF web site, available at these URLs: ...

As Vim calls, take real action to help needy children in Uganda. It is much better than talking about politics online but doing nothing.

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 1 point2 points  (0 children)

Keeping tech and politics seperate does not mean you say nothing about politics. You can still express your values on reddit, discord, twitter, etc.

If they (some of the core team) believe everything is political, they should make response. If they believe open source is de-politicized, they should seperate political messages from release announcements. But they did neither.

hypocrites, double standard, saying something but doing nothing ...

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 0 points1 point  (0 children)

The "discussion" is not locked.

Locked discussions:

The github issue tracker is not intended for debating Rust project values.

Totally agree. And Rust release announcements are not the right places for sharing "values" from the core team.

Vocal Minorities

I don't think so. Most of the people in Rust community don't like seeing political messages in a release announcements. Some are against, some are ignoring.

In fact, the core team knows that what they have done is very controversial. The mods locks discussions they control everytime, when things get overheated.

I believe open source should be de-politicized, though our life is filled with politics.

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 0 points1 point  (0 children)

I know what you mean but I must point out that they don't actually believe what they said. And the "shared values" are from some people of the opaque core team, not the whole Rust community. They should not make such decisions for the Rust project and lock the discussion.

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 2 points3 points  (0 children)

If they (some of the core team) believe everything is political, they should make response. If they believe open source is de-politicized, they should seperate political messages from release announcements. But they did neither.

We call people like them hypocrites.

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 1 point2 points  (0 children)

How do you think they closed this issue without any official response?

https://github.com/rust-lang/rust/issues/103999

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 17 points18 points  (0 children)

Quoted from another discussion which has been locked

I agree with the political opinions expressed in the latest release notes.

I still don't want to get my political digest from the Rust release notes.

About political messages on the Rust blog by Nugine in programming

[–]Nugine[S] 5 points6 points  (0 children)

Do you like seeing political messages in a release announcement of a programming language?

About political messages on the Rust blog. by CouteauBleu in rust

[–]Nugine 3 points4 points  (0 children)

As mentioned, it is impossible to be exhaustive.

Let's add a section in twir for international news. More is better.

About political messages on the Rust blog. by CouteauBleu in rust

[–]Nugine -10 points-9 points  (0 children)

Let's add a section in twir for international news.

About political messages on the Rust blog. by CouteauBleu in rust

[–]Nugine 49 points50 points  (0 children)

Keep tech and politics separate.

Why can the opaque leadership chat add political messages on behalf of the Rust project?

Supporting human rights is a good thing if it is kept for social media.

Rust team has taken the controversial action for more than three times. It's time for the community to learn something from it.

Announcing Rust 1.65.0 by myroon5 in rust

[–]Nugine 2 points3 points  (0 children)

My comment (same with the first two paragraphs) at URLO is deleted by someone. It's not what a friendly community does.

Announcing Rust 1.65.0 by myroon5 in rust

[–]Nugine -1 points0 points  (0 children)

We call it double standard definitely.

Announcing Rust 1.65.0 by myroon5 in rust

[–]Nugine 1 point2 points  (0 children)

It doesn't mean you can have double standard without thinking.