News for hackers. Stuff that matters.
Re:Re: Integrating "safe" languages into OpenBSD? (2017) by aidenn0 on Sunday May 03, 2020 @12:49PM (#23060154)
Until there is a rustc in production that doesn't use llvm to emit code in the backend, the point is moot, no?
Re:Re: Integrating "safe" languages into OpenBSD? (2017) by qppo on Sunday May 03, 2020 @02:07PM (#23060761)
To me the question is moot if the problem is llvm. I don't know if that's the case or not.

Modern tools require modern hardware. If the problem is that the target constraints don't allow modern tools to be used, the problem is the constraints and not the tools.

But maybe I just don't understand their stance here.

Re:Re: Integrating "safe" languages into OpenBSD? (2017) by thesuperbigfrog on Sunday May 03, 2020 @03:35PM (#23061263)
Depending on what you are working on / with, you may not be able to choose your constraints.

Constraints that you cannot change can certainly dictate what tools you have to choose from.

Re:Re: Integrating "safe" languages into OpenBSD? (2017) by adrianN on Sunday May 03, 2020 @01:04PM (#23060275)
No, I don't think so. If LLVM is at fault then the issue is definitely not inherent to Rust the language or Rust the development culture.
Re:Re: Integrating "safe" languages into OpenBSD? (2017) by numbsafari on Sunday May 03, 2020 @01:49PM (#23060628)
Your code is what it depends on. If you are picking dependencies with no concern for the overhead they introduce, well, it says everything it needs to say: you value that dependency over the associated overhead it introduces.

Asking an OS to adopt those same preferences, without any appreciation for their needs or preferences is pretty rude and arrogant.

A better solution would be to ask “what would it take, because I’d like to understand your needs”. Maybe then Theo could help you understand their constraints. Trying to argue with him that he needs something he clearly doesn’t isn’t very nice and won’t get a nice response if you push it too far.

Re:Re: Integrating "safe" languages into OpenBSD? (2017) by ddevault on Sunday May 03, 2020 @02:08PM (#23060768)
You are ultimately responsible for your dependencies. No program is innocent of its dependency graph.
Re:Re: Integrating "safe" languages into OpenBSD? (2017) by kzrdude on Sunday May 03, 2020 @01:43PM (#23060580)
Interesting point.

Does anyone know how much memory is needed to compile llvm+clang? GCC?

Re:Re: Integrating "safe" languages into OpenBSD? (2017) by saagarjha on Sunday May 03, 2020 @05:35PM (#23062045)
That varies widely on your linker and how many threads you use. I have compiled LLVM on systems with 4 GB of RAM, though; but have been forced to fall back on single-threaded compilation.
Re:Re: Integrating "safe" languages into OpenBSD? (2017) by anthk on Sunday May 03, 2020 @02:51PM (#23061032)
IDK about compiling llvm/clang, but using clang/llvm needs far less memory than gcc. I've used clang in machines with less than 256mb of RAM.