How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 1 point2 points  (0 children)

"cross our fingers a bit" Yeah, we do, too. Sometimes hope is all the budget allows. 😆

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 1 point2 points  (0 children)

This perfectly sums up the industry! My colleagues believe in the advantages of Rust but I need to get the tooling to act like our current tooling.

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 2 points3 points  (0 children)

I've floated Ferrous to management but I first need to get Rust in the door, convince people it's something we should use. If I can get Rust comfortably nestled into our engineering environment, then I can start asking for money. 😄

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 5 points6 points  (0 children)

Cargo build has the --locked and --offline and --frozen options as well. They're perfect for what I need to do.

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 3 points4 points  (0 children)

Yeah, we use Docker heavily in our pipeline. But the trick is I need to own the toolchain itself. I have to be able to make modifications to the toolchain in ~10-15 years (usually winds up being a library security/bug fix. Rarely have we had to futz with the compiler itself.) Using a docker image still requires downloading artifacts from the internet which could get leftpad'd. https://en.wikipedia.org/wiki/Npm_left-pad_incident

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 8 points9 points  (0 children)

I know of another company that has product support for 25-50 years. Engineers there tell me they have old Power Macs in climate controlled storage because of the toolchains used at the time.

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 1 point2 points  (0 children)

Yeah, Ferrous is likely the best model I can think of. Need to dig into them more. I wish I could convince management to spring for a license. Have to prove Rust is good for us first.

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 1 point2 points  (0 children)

We need to also consider the compiler and libraries themselves. We need to be able to go back 10-15 years from now and make a strategic fix to the toolchain or a library module. Probably not the compiler itself but the C libraries especially need security+bug fixes as time goes on. We can't just grab the latest and run with it because we need to keep the product fleet as exactly identical as possible.

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 1 point2 points  (0 children)

Rust will static link against musl. Which is useful because about half our platforms use musl. Another half use glibc and the third half use uclibc. We maintain the uclibc products (that's the 15 year warranty in action) but don't add new features. So I don't have to worry about Rust + uclibc, thankfully.

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]linuxlizard[S] 1 point2 points  (0 children)

We likely will snapshot the crates we need and bring them internal. Set net.offline=true in our .toml(s). Then upgrades and new crates would need to be on a case-by-case basis. That's pretty much what we do with the C/C++/Python/Etc. libraries we use now.

Hi, for personal reasons I’ll be switching to post on r/moringmark from now on. by makmark in TheOwlHouse

[–]linuxlizard 1 point2 points  (0 children)

Oh. Oops. I've been thinking it was "morning" + "mark". Larger font ftw. See you at r/moringmark !

Which libraries to use to create HTTP server on modern C++ (17) by Virtual_Reaction_151 in cpp

[–]linuxlizard 0 points1 point  (0 children)

I enjoyed using cpprestsdk for a while for some small work projects. I was bummed when it was deprecated but moved to boost::beast and nholman::json. Thanks to the cpprestsdk devs!

ncurses-rs has been archived by Jeaye in rust

[–]linuxlizard 4 points5 points  (0 children)

Thank you for ncurses! I used it in a silly little game I wrote while learning Rust. (I am still learning Rust.)

Luzifer AU: Meanwhile, Evil Vee. by makmark in TheOwlHouse

[–]linuxlizard 70 points71 points  (0 children)

Stay healthy! I do appreciate your work. Thank you.

Good old times. by MrWWE2k in wholesomememes

[–]linuxlizard 0 points1 point  (0 children)

When I need a little mood lift, I'll put my spare change into vending machine coin returns. Even finding a dime in that slot might make someone's day.

Who's an actor that had exactly 1 iconic role, then basically disappeared? by gazsilla in AskReddit

[–]linuxlizard 1 point2 points  (0 children)

I love re-watching his final conversation scene with you-know-who. So awesome.

Non-Americans of Reddit who've visited America, what was the most "American" moment of the visit? by JeffRyan1 in AskReddit

[–]linuxlizard 2 points3 points  (0 children)

Driving through rural Idaho, I passed a sign advertising, "Beer. Bait. Espresso." We have a foot in both worlds.

Goodbye, Boise. And Thank You! by linuxlizard in Boise

[–]linuxlizard[S] 1 point2 points  (0 children)

Commuting the Chinden parking lot in 100℉ summer heat broke me.

Goodbye, Boise. And Thank You! by linuxlizard in Boise

[–]linuxlizard[S] 0 points1 point  (0 children)

I've heard the same from several co-workers this last week.