News for hackers. Stuff that matters.
Re:I reduced (incremental) Rust compile times by up to 40% by CJefferson on Tuesday March 19, 2024 @01:00AM (#39753079)
I’m not sending you my code to compile on your machine.

I understand wanting to make a successful product, and keepin your secret magic secure, but I’m afraid this just sets off so many alarm bells for me.

Re:I reduced (incremental) Rust compile times by up to 40% by kapilsinha on Tuesday March 19, 2024 @05:50AM (#39754187)
Thanks for raising this. I hadn't anticipated this as a major concern. Is your main concern that you can't see the compiler code -- in which case would it help if the the source were available? Or is it even more than that, that you want to ensure that your build outputs are untampered and verifiably produced by a (deterministic) compiler?

I wonder though, would you trust remote CI/CD servers or Intel's proprietary C++ compiler (https://news.ycombinator.com/item?id=12363973)?

Re:I reduced (incremental) Rust compile times by up to 40% by CJefferson on Wednesday March 20, 2024 @02:39AM (#39763439)
Often during early development I don’t want to share my code with others. Obviously a compiler on my machine could make a secret internet connection, but I guess that would be noticed, and certainly couldn’t be later denied.

Can I be at all sure you aren’t keeping a copy of all source you are ever submitted?

Usually I eventually submit to GitHub, then CI occurs, and all is public. However, only getting fast building on CI doesn’t motivate me that much, I don’t care if I burn GitHub/Microsoft’s CPU cycles as much as I mind about my own :)

Re:I reduced (incremental) Rust compile times by up to 40% by kapilsinha on Wednesday March 20, 2024 @04:06AM (#39763849)
Gotcha, I respect that. With a few privacy-minded devs like you, I have offered them a custom compiler toolchain (and happy to make the source available) that they can "self-host". If you are interested in trying it out, I'd be happy to get you set up.
Re:I reduced (incremental) Rust compile times by up to 40% by CJefferson on Thursday March 21, 2024 @02:46AM (#39775502)
Thanks for the offer. I would mention it somewhere on your webpage, just so people (like me) don't get worried. Right now I'm too busy to try a new compiler, but if I find myself with a little more time, and a little longer rust compile times, in the future, I will remember to look you up!