Bazel can now build Haskell
11–20 of 54 posts
Re: Bazel can now build Haskell
#12I 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…
Right now there are a handful of (mostly Google) projects that you should be able to clone and bazel build after only having installed bazel.
To build bazel itself: # install bazel w/ system package manager git clone https://bazel.googlesource.com/bazel && cd bazel && bazel build //src:bazel
Re: Bazel can now build Haskell
#13I 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…
Actually no, there is a difference, the former never works properly for any sizable project, while the later does, because for the later the user just wants to install the app so all the script usually does is to download some binaries.
Having a common build environment is impossible because you need a common way to manage dependencies and that will never, ever happen, for better or worse.
Re: Bazel can now build Haskell
#14There 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.
I also write Java/C++ and .NET/C++ regarding some of the project stack descriptions I am usually working on.
Also the best magazine reference for C and C++ developers, now sadly gone, "The C User's Journal" eventually was renamed to "The C/C++ User's Journal" when they saw the increase in C++ readers and respective article submissions.
Re: Bazel can now build Haskell
#15A significant hurdle for the universal adoption of Bazel is its too many dependencies.
Re: Bazel can now build Haskell
#16There 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.
Re: Bazel can now build Haskell
#17A significant hurdle for the universal adoption of Bazel is its too many dependencies.
sudo apt-get install openjdk-8-jdk sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python That's a fair few things, but it doesn't see that awful. None of those dependencies seem exotic. I wonder if they could get rid of Python by using Jython on top of the JDK.
(I tried building Bazel and its dependencies completely from source for Guix.)
Re: Bazel can now build Haskell
#18Earlier quoted context omitted.
sudo apt-get install openjdk-8-jdk sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python That's a fair few things, but it doesn't see that awful. None of those dependencies seem exotic. I wonder if they could get rid of Python by using Jython on top of the JDK.
It's way more than that. It bundles a lot of jars --- building those from source, recursively, is a big task. (I tried building Bazel and its dependencies completely from source for Guix.)
Building the jars should be trivial in theory (especially for Maven), but the different between theory and practice is smaller in theory than in practice :)
Re: Bazel can now build Haskell
#19I 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…
As someone who's learned programming through self-study, the broad swath of tooling out there can be a bit of a barrier to picking up new languages and concepts, especially when the concepts related to building and delivering software are occluded by some of the opinionated decisions all the different tool sets make about how building projects should work.
Learning a new language and new concepts already takes a good deal of time, which may be a valuable resource if you're not in any official program of study and making use of free moments. This is only exacerbated by the frequent need to learn a whole new tooling ecosystem along with any new language you decide to pick up. A sort of rosetta stone of package management and build tooling would be a godsend.
Re: Bazel can now build Haskell
#20A significant hurdle for the universal adoption of Bazel is its too many dependencies.
Also, I think the pants folks are considering a Rust rewrite.