原文
| ||||||||||||||
| ||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43514915
Hacker News评论员martin-t讨论了为Rust构建的脚本语言激增现象,认为这是Rust难以轻松适应较宽松编码要求的一个症状。Rust擅长性能关键部分,但在原型设计、更快开发或不需要严格性的领域缺乏现成的、宽松的环境。不像C#拥有其`dynamic`关键字、检查上下文和反射,Rust社区经常拒绝更灵活的提案,甚至来自核心团队成员的提案。评论员担心Rust对严格性的“狂热”可能会阻碍其整体成功。他认为Rust需要一种轻松地在严格和宽松的编码风格之间切换的方法,并承认目前开发人员正在使用单独的脚本语言来填补这一空白。
| ||||||||||||||
| ||||||||||||||
![]() |
It makes perfect sense to use Rust as the main language for your application but have areas which are either in the prototype stage, need to be written quicker or which simply don't need the performance. But Rust does not offer a way to enter such a less strict context and such proposals keep getting shot down by the community, even when they are made from core members of the Rust team.
Contrast that with C# which has a dynamic keyword, allows enabling a checked context (not just in code where you can't miss it but also from csproj), has reflection, etc.
I really want Rust to succeed but sometimes the attitude borders on zealotry.
reply