Re:Porting a Golang and Rust CLI tool to D
by destructionator on Thursday August 20, 2020 @08:46AM
(#24222646)
> Phobos is dynamic by default
That depends on your distro. The packages from dlang.org all do the static link config out-of-the-box, but some distro packages dynamic link by default instead.
Given the size of that file, it looks static linked. It dynamic links libc, pthread, and a couple other OS-level things, but all D libs including druntime, phobos, etc, are statically linked.
Might just be difference in dependencies.
Re:Porting a Golang and Rust CLI tool to D
by PudgePacket on Thursday August 20, 2020 @10:13AM
(#24223448)
Oh boy I definitely understand you, in fact I built a Rust CLI tool to solve exactly that ;) https://github.com/tbillington/kondo
Rust compiles seem to blow up pretty easily, e.g. I was cleaning out my SSD the other day an I noticed that a rust GUI framework (Iced?) was sat on about 2Gb of dependencies despite being significantly incomplete (but very promising)