Rfcs: The missing core libraries in rust (Network, Crypto, Encoding)

Created on 30 Jul 2017  ·  4Comments  ·  Source: rust-lang/rfcs

Hello , I am using rust/golang for years.

I found the rust-lang hardly to producing more product.

Lack of stable/usable core packages(libraries)

Golang have better encoding/crypto/net packages.

https://golang.org/pkg/net/
https://golang.org/pkg/encoding/
https://golang.org/pkg/crypto/

I hope the rust lang provided us these packages by core team.

Do not let us find the solution(most not very stable, if core team can provided these libraries. it will gains better stable/performance)

The modern language can do more . not the core language it self. but a powerful standard library.

Networking programming, Code/Serialize/Unserialize, Crypto, was the very common code works.

Rust lang miss these parts.

We can not easily to using rust lang built our software.

Because it lacks these core libraries.

The third party libraries not very stable as you want . You may lead into buggly.

T-libs

Most helpful comment

Please be more specific/constructive about the actual areas you perceive as lacking, or people won't pay attention and you're just considered troll from the another camp.

P.S. I see you're very likely Chinese and may actually have conveyed your mood different than you intended. You could talk to me in Chinese and I'll try to paraphrase you.

请建设性地指出你感受到不足的具体地方,否则人们会把注意力放在那些更具体的问题上,而只会认为你是对面派来的喷子。

你可能没能用英语准确传达出你的想法,你可以用汉语表达你的意思,我来帮忙翻译。

All 4 comments

Please be more specific/constructive about the actual areas you perceive as lacking, or people won't pay attention and you're just considered troll from the another camp.

P.S. I see you're very likely Chinese and may actually have conveyed your mood different than you intended. You could talk to me in Chinese and I'll try to paraphrase you.

请建设性地指出你感受到不足的具体地方,否则人们会把注意力放在那些更具体的问题上,而只会认为你是对面派来的喷子。

你可能没能用英语准确传达出你的想法,你可以用汉语表达你的意思,我来帮忙翻译。

@xen0n In my try to working with rust lang, I fall down in big hole. can not getting out. Lack of these high quality libraries. I can not producing any useful product.

I can not implement every thing myself. I can not against the world.

So i am using golang for real works. Rust lang current to me , just like toys. do not expect it to do more things.

Hmm... I think everyone agrees Rust is not quite ready for primetime? See the [roadmap] and [AWWY]. Sure there is much work left to do, it's only 2017 and Rust is only over 2 years old.

As for the areas you reiterated, we have

  • [tokio] for (really) high-performance async networking and [hyper] for all your HTTP needs,
  • [serde] for similarly high-perf (de)serialization,
  • [rust-crypto] and [ring] for common crypto building blocks,

I've used all of them to build high-performance crawlers and backend components, and I encountered bugs very rarely, I haven't filed a single issue during my usage of them. Only they're currently kind of "incubating" thus not reaching the "stability" or "maturity" you hope for. This is actually recognized by core team members, and they recently launched the Libz Blitz ([announcement], [irlo thread]) to address precisely your concerns. Several libraries are currently being worked on now, and it's gonna take time.

So, your concerns are being worked on, but it'll be a while before everyone could jump straight in. Just be considerate and patient, there's always [This Week in Rust] to track the contributions and roadmap status. (Best of all, start contributing yourself! But seeing you likely have most of your time devoted to work, this is only a suggestion.)

As for your latest edit:

Please kindly share your experience, no matter how frustrating. Is the syntax bothering you? Borrow checker misery? Unable to find a community crate for your need? We need to know more about people's acceptable learning curve. Also, your experience as a Chinese developer will help a lot towards Rust's diversity goals.

As the discussion is getting long here, you could write about it in your blog or any medium you prefer. Both Chinese and English are okay, in fact I have some difficulties understanding your English so you may well write Chinese instead and I'll understand.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

torkleyy picture torkleyy  ·  3Comments

rust-highfive picture rust-highfive  ·  4Comments

3442853561 picture 3442853561  ·  3Comments

3442853561 picture 3442853561  ·  3Comments

mqudsi picture mqudsi  ·  3Comments