Comment by ๐Ÿš€ DdlyH

Re: "Collaborative build servers"

In: u/lufte

Sounds like a cool idea, but I haven't heard of something like that existing already?

๐Ÿš€ DdlyH

2024-09-22 ยท 2 years ago

5 Later Comments โ†“

๐Ÿš€ random2934 ยท 2024-09-23 at 04:42:

it would be security nightmare tbh, I wonder that's why noone has built it already!

๐Ÿ–ฅ๏ธ mrrobinhood5 ยท 2024-09-23 at 04:50:

trust is not something that comes around easily nowadays

๐Ÿฆ‹ CarloMonte ยท 2024-09-25 at 10:30:

The Go language offers another elegant solution: super-easy cross-compilation.

๐Ÿ›ฐ๏ธ lufte [OP] ยท 2024-09-25 at 14:15:

I tried cross-compilation with rust and it *almost* worked, but it definitely looks like it's built to support it even if there are some rough edges. Yeah, this is probably the way to go instead of designing a platform which, as many here have pointed out, would most likely be a security nightmare.

๐Ÿฆ‹ CarloMonte ยท 2024-09-26 at 19:41:

@lufte: I think that the target platform is only needed for testing, if the language has good cross-compilation. Even here, Go has advantages. It compiles statically, which means that you don't care about which libraries are installed on the given target system. Probably the specific binary format is not that important. You might need to test on each bus width and endian architecture you target. That might be doable in some sort of emulation.

Original Post

๐Ÿ›ฐ๏ธ lufte

Collaborative build servers โ€” Is there such a thing as a collaborative network of build servers? Let's say you write a native application and you can build it for your own machine's architecture, but you also want to build artifacts for other operating systems or architectures. You don't want to pay for multiple CI/CD servers, so you request time in other people's computers to do the building, and you offer your own computer's time in return so other people can run things on it.

๐Ÿ’ฌ 6 comments ยท 1 like ยท 2024-09-22 ยท 2 years ago