News for hackers. Stuff that matters.
Re:Bazel can now build Haskell by steinuil on Wednesday February 28, 2018 @11:50AM (#16484310)
I doubt Bazel will take off for most open source projects due to being written in Java, but I do share the sentiment.

I've been meaning to try and write a somewhat saner build system to replace the Auto* hell, at least for C and C++. I'm focused on other things right now but I've been studying and collecting information about the architecture of many other build systems for a while, and some of them are so much ahead of those used in open source projects it's not even funny. At the very least I'll be writing a lengthy blog post with my findings.

Re:Bazel can now build Haskell by skybrian on Wednesday February 28, 2018 @12:03PM (#16484489)
Skylark (the language used by Bazel) is being ported to Go. Maybe a good place to start?

https://github.com/google/skylark

Re:Bazel can now build Haskell by numbsafari on Wednesday February 28, 2018 @11:56AM (#16484394)
The java dependency is my biggest hangup wrt to incorporating it into my own environment.

So far, I've avoided having to incorporate the JDK into my stack. Having to bring it in just for a build tool, keeping it up-to-date on developer configurations, just feels like a royal pain.

I realize it's never gonna happen, but having bazel rewritten in Go or C++ or anything else that produces a single binary would be awesome.

Re:Bazel can now build Haskell by pebers on Wednesday February 28, 2018 @12:15PM (#16484613)
We have done more or less that: https://please.build / https://github.com/thought-machine/please

It's written in Go so doesn't need any external dependencies unless you want to target that language (i.e. it only needs a JDK if you're trying to build Java).

Disclaimer: I'm the main author.

Re:Bazel can now build Haskell by numbsafari on Wednesday February 28, 2018 @01:43PM (#16485491)
Wow. Looks good! Thanks for the heads up.
Re:Bazel can now build Haskell by brabel on Wednesday February 28, 2018 @12:07PM (#16484529)
They just need to use Java9 modules so they can use jlink to produce native binaries. No need to use another language.