TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Alpine Linux: Proposal to move Rust to main

187 pointsby thecatsterover 3 years ago

6 comments

pdimitarover 3 years ago
This might be a little side-topic but IMO Alpine is famous for having a small byte size footprint.<p>I love Rust to tears but it produces fairly huge binaries even in release mode and even with some symbols stripping.<p>So if Alpine also plans to include various Rust tools I&#x27;d hope that this will prompt the core team to also work on reducing the sizes of the final Rust binaries.<p>I don&#x27;t want to sound entitled! I am very thankful to the entire Rust team. And Rust is hugely important nowadays. It&#x27;s just that when it comes to distributing stuff in Dockerfiles (and fly.io, and several others) the Rust binaries stick out like a sore thumb. :\ They&#x27;re fairly big.
评论 #28580223 未加载
评论 #28580624 未加载
评论 #28579877 未加载
评论 #28580127 未加载
评论 #28580441 未加载
评论 #28581805 未加载
Corradoover 3 years ago
&gt;&quot;With the introduction of Rust to the base system, it may be desirable to oxidize certain components which have high security value in the system.&quot;<p>This is such a great way to phrase this activity; I really hope it catches on with other projects.
评论 #28579621 未加载
评论 #28579297 未加载
评论 #28579354 未加载
评论 #28580751 未加载
评论 #28579322 未加载
bredrenover 3 years ago
There was a thing in February where Python cryptography required rust, which broke docker-compose installs via pip. [1]<p>There was a fair amount of back and forth about version pinning—it affected a lot of builds.<p>Even the issue on the crypto package about it was fairly tense. Iirc, the dependency was rolled back.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;compose&#x2F;issues&#x2F;8105#issuecomment-775239515" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;compose&#x2F;issues&#x2F;8105#issuecomment-7...</a>
评论 #28579505 未加载
评论 #28579382 未加载
评论 #28580670 未加载
评论 #28582567 未加载
olingernover 3 years ago
&gt; It is assumed that by following the steps in this proposal that Alpine users will be presented with a functional Rust toolchain which has a maintenance window of 2 years, that is also supportable by the Rust community through its normal support channels.<p>I’m struggling to see the benefit of moving from community to main. It seems more symbolic and geared towards making certain guarantees for end users, but it’s hard to grok that
评论 #28579326 未加载
评论 #28579488 未加载
LAC-Techover 3 years ago
Alpines biggest issue isn&#x27;t that it doesn&#x27;t have rust in main, it&#x27;s documentation. `apk` is a great package manager but a lot of it is undocumented and you need to read the source.
评论 #28580635 未加载
user5994461over 3 years ago
It&#x27;s unfortunate that the example given is about supporting the Ansible package.<p>Ansible is a python software and Python doesn&#x27;t support Alpine.
评论 #28580721 未加载