Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been using Tauri to develop a Kubernetes IDE: https://github.com/nirops/yakiapp

One additional thing from my experience, is if using Rust as a backend, the turnaround time for hot loading Rust changes is not trivial. This leads to longer times in building things vis-a-vis building in Electron with .ts/.js backend.



Mold linker cut down a lot of the build time when we were writing a tauri app, but the build times were still .. not my favorite.


I know there's probably docs somewhere, but what was the process to integrate mold into your build chain? Is it involved or fairly easy? I just heard of this for the first time and wondering if it could be useful to cut down build times in all my rust libs/apps...

EDIT: found this: https://www.reddit.com/r/rust/comments/rhcnzt/mold_a_modern_...


    $ cat ~/.cargo/config.toml                                                                                                                                                                                                                                                                                                                                               
    [target.x86_64-unknown-linux-gnu]
    linker = "/usr/bin/clang"
    rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]


It’s trivial, check the README on Mold’a GitHub repo.


Yes, good point you need a very good processor for instant hot reload.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: