Live data from Hacker News

Bazel can now build Haskell

tweag.io

51–54 of 54 posts

Re: Bazel can now build Haskell

#51
post #2

I wonder if Bazel takes off across many languages. It wouldn't hurt to have a modern autotools & co. replacement across ecosystems. I don't think it's doable, considering the fact that we have language specific package managers and build tools, but you never know. By "replacement", I mean picking up a random open source project and being able to do the equivalent of: ./configure make make install To be able to build…

This is exactly what we're doing at my startup. The vision is to let anyone check out any repository and just run one command that works irrespective of the actual build tool to compile those sources in the right environment and get you binaries in the end.

Re: Bazel can now build Haskell

#52
post #51
post #2

I wonder if Bazel takes off across many languages. It wouldn't hurt to have a modern autotools & co. replacement across ecosystems. I don't think it's doable, considering the fact that we have language specific package managers and build tools, but you never know. By "replacement", I mean picking up a random open source project and being able to do the equivalent of: ./configure make make install To be able to build…

This is exactly what we're doing at my startup. The vision is to let anyone check out any repository and just run one command that works irrespective of the actual build tool to compile those sources in the right environment and get you binaries in the end.

Like Nix?

Re: Bazel can now build Haskell

#53
post #15

A significant hurdle for the universal adoption of Bazel is its too many dependencies.

Can you expand on why that is an issue? The other argument I've seen is that just requiring java is already too much.

Java is kind of a bitch to bootstrap on anything that is not x86. We've been trying to get openjdk9 to build on arm for months now in nixos. This means we cant package any bazel-based projects for Nixos. Also the dependency chain is huge. So building from scratch also just takes a lot of time. It's very hard to package in a source-based distribution

Re: Bazel can now build Haskell

#54
post #11

There is no language named C/C++. There is C, and there is C++. To be taken seriously, treat them as the very different languages they are.

From the perspective of a build system, the difference between supporting C or C++ and supporting both is minor. Speaking as someone who has made their own build system, as dumb as that is.

It's not dumb. The C++ ecosystem is still crap even though it had decades to catch up.
Post reply on HN