this post was submitted on 15 Aug 2024
691 points (98.5% liked)

Programmer Humor

19623 readers
4 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Which will probably be never.

you are viewing a single comment's thread
view the rest of the comments
[–] witx@lemmy.sdf.org 6 points 3 months ago (2 children)

This was solved by moving to bazel. It's a bit more verbose and resource heavy, but the language is sane and how you structure your build code makes a lot of sense

[–] scrion@lemmy.world 5 points 3 months ago* (last edited 3 months ago) (1 children)

Based on this comment*, I'll migrate a large project to bazel now. I'll report how it goes.

  • disclaimer: the comment just pushed me over the edge
[–] sukhmel@programming.dev 1 points 3 months ago (1 children)

Good luck, from my experience with bazel it may go smooth if you have someone who can into bazel to help you, and you create the project from scratch to then maintain small changes. Then there was my attempt to migrate an existing Java project to bazel without external help that failed hard (maybe the situation improved from 2021).

[–] witx@lemmy.sdf.org 3 points 3 months ago* (last edited 3 months ago)

Not sure about java, but I migrated a fairly big c++ project knowing only the basics of Bazel. Disclaimer: I know the codebase extremely well and we don't have any third party dependencies and the code is c++ and some python generators, validators, etc (which fits the bill for Bazel perfectly)

What I found super hard were toolchains. It's very verbose to define a toolchain

[–] Socsa@sh.itjust.works 2 points 3 months ago (1 children)

I have legitimately never met a single person in real life who has anything positive to say about bazel, and I assume it it because they have all killed themselves.

[–] witx@lemmy.sdf.org -1 points 3 months ago

That's not a nice thing to say. When you grow up perhaps we can continue this discussion