..and people complain about Scala's SBT being slow 😓

45 views
Skip to first unread message

Ben Hutchison

unread,
Sep 12, 2024, 4:10:51 AM9/12/24
to melbourne-c...@googlegroups.com
$> brew upgrade rust
....
==> Upgrading rust
  1.63.0 -> 1.81.0
...
==> Installing rust dependency: llvm
==> cmake -G Ninja .. -DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;lld;mlir;po
==> cmake --build .
==> cmake --build . --target install
==> /usr/libexec/PlistBuddy -c Add:CFBundleIdentifier string org.llvm.18.1.8 Inf
==> /usr/libexec/PlistBuddy -c Add:CompatibilityVersion integer 2 Info.plist
🍺  /usr/local/Cellar/llvm/18.1.8: 7,719 files, 1.7GB, built in 285 minutes 26 seconds
==> Installing rust
...
==> Summary
🍺  /usr/local/Cellar/rust/1.81.0: 3,435 files, 314.5MB, built in 152 minutes 18 seconds
...

😴


The moral of today's lesson is that platform-portable bytecode has its advantages. JVMs are designed to compile and link even big applications to native code in seconds.

Ashlin Eldridge

unread,
Oct 14, 2024, 12:24:05 AM10/14/24
to Melbourne Compose Group
Unless you have a specific reason for managing Rust with Homebrew, I would definitely recommend switching to Rustup as it will download pre-built binaries rather than building from source. It also allows you to maintain and switch between different toolchains (e.g. stable vs nightly) and will update all of your toolchain components (e.g. rust_analyzer). On my MBP, `rustup update` takes ~3 mins to update two toolchains and a bunch of components I've installed.
Reply all
Reply to author
Forward
0 new messages