!oXgwMHWllugcPDSKTb:matrix.org

sbt

2088 Members
Scala Build Tool5 Servers

Load older messages


SenderMessageTime
11 May 2024
@_discord_639859187773603841:t2bot.iomatthiasberndt Yeah well, some think mill was a mistake. I think sbt was a mistake. 01:20:16
@_discord_996744440322469900:t2bot.ioanemish I agree. I told that sbt, CanBuildFrom, slow compiler and breaking changes basically killed any chance for Scala to become mainstream.
But I don’t see how Scala ecosystem migrates to yet another build tool that nobody uses. It won’t help
07:35:25
@_discord_867104707285090305:t2bot.iodanicheg yeah, a sort of it
https://github.com/scalacenter/scalac-profiling/pull/122
07:36:20
@_discord_639859187773603841:t2bot.iomatthiasberndt If you use it, then it's not a build tool that nobody uses 😁 07:36:22
@_discord_996744440322469900:t2bot.ioanemish You know what I mean. I don’t have anything against Mill. 07:37:32
@_discord_639859187773603841:t2bot.iomatthiasberndt Anyway, CanBuildFrom is gone, binary compatibility is much improved in Scala 3, so I think there are reasons to be optimistic. 07:38:11
@_discord_996744440322469900:t2bot.ioanemish Yeah, but the moment is gone as well. Now there’s Kotlin and Rust and TypeScript and even Java 21. Why Scala today? 07:40:32
@_discord_639859187773603841:t2bot.iomatthiasberndt I'm not going to argue that here 07:43:24
@_discord_639859187773603841:t2bot.iomatthiasberndt * I'm not going to argue that here, this is the Scala discord server. If you don't want Scala, go somewhere else 07:43:55
@_discord_996744440322469900:t2bot.ioanemish Oh I want Scala, I use for many years. It just hurts to see all this. 07:45:08
@_discord_758905454075707442:t2bot.io.zzyzzyxx Moving away from the sbt topic here, but the short version for me is that Scala doesn't really compete with non-JVM languages like Rust and TypeScript, and among the JVM languages it easily has the best type system 07:46:14
@_discord_996744440322469900:t2bot.ioanemish Anyway, my point is that I believe it’s more important to try to fix sbt rather then mitigate to whatever 07:46:23
@_discord_996744440322469900:t2bot.ioanemish Yet Scala has the worst interoperability between JVM languages unfortunately 07:47:51
@_discord_639859187773603841:t2bot.iomatthiasberndt It does compete, Scala.js is absolutely a viable option these days 07:48:14
@_discord_639859187773603841:t2bot.iomatthiasberndt And native is getting closer 07:49:15
@_discord_758905454075707442:t2bot.io.zzyzzyxx I suppose I was excluding what I view as "extensions" like Scala JS and Scala Native. If those were core goals by the language designers I'd feel differently 07:49:43
@_discord_639859187773603841:t2bot.iomatthiasberndt In fact, I think Caprese is going to make native a whole lot better 07:50:19
@_discord_734849617820254331:t2bot.iovelvetbaldmime They sort of are - Scala.js support is inside Dotty itself, and there is work at EPFL that targets Scala Native exclusively. 07:50:24
@_discord_758905454075707442:t2bot.io.zzyzzyxx Well that is (good) news to me 07:51:08
@_discord_734849617820254331:t2bot.iovelvetbaldmime Both targets will also become a lot more first-class citizens in sbt itself, starting from sbt 2.0.

The road ahead is long, but it's no longer an experimental phase - we're in ecosystem bootstrap phase
07:51:13
@_discord_734849617820254331:t2bot.iovelvetbaldmime In fact I believe it was Odersky himself who proposed having SNIPs - Scala Native improvement proposals 🙂 https://github.com/scala-native/improvement-proposals/pull/1 07:51:45
@_discord_734849617820254331:t2bot.iovelvetbaldmime Anyways, this is getting wildly off topic 07:51:55
@_discord_734849617820254331:t2bot.iovelvetbaldmime W.r.t. SBT vs Mill - there doesn't have to be 1 single tool for ecosystem to be healthy.

In fact, there's friendly co-existence and ideas borrowing: https://github.com/sbt/sbt/discussions/7180#discussioncomment-5364624

Java ecosystem is not limping along, and it has both Maven and Gradle
JS ecosystem.. let's not go there, but plenty of options
Python ecosystem is notorious for the amount of options, it's just a lot of them suck at the fundamental problem - whereas both Mill and SBT solve the fundamental problem (dependencies and management thereof) very well, because they both rely on Coursier.

sbt's existence is marred by its startup performance, and eventually that will be solved.
The quickest way to solve this would be to pay one of Scala consultancies to find and put a dedicated full-time person on solving that. But that's a lot of money.
07:56:09
@_discord_734849617820254331:t2bot.iovelvetbaldmime If anyone here wants to make concrete suggestions - do so politely and with respect to maintainers at https://github.com/sbt/sbt/discussions/7174

And note that there is a yet unresolved question of where the line is drawn - what improvements can become part of SBT 1.x, and what needs SBT 2.0
07:57:24
@_discord_996744440322469900:t2bot.ioanemish Yes, that's what I was thinking of – chip in as an industry and dedicate a person to fixing sbt performance issues. I'm paying for that 08:03:02
@_discord_734849617820254331:t2bot.iovelvetbaldmime There have been precedents of companies loaning their employees to Scala Center full time, but I don't believe this ever covered a particular project.

If such project can be drawn up with Eugene's help and guidance (like google summer of code, but for very senior people who love heap dumps and flamegraphs), I believe it will be possible to find a company to pay for that.
08:05:04
@_discord_734849617820254331:t2bot.iovelvetbaldmime Quickest way of course is for a company on the advisory board to bring this up and push it through, I don't think there will be much resistance.
Just need to have a company with interest and seat on the board.

I no longer work with Scala fulltime so can't really do anything directly, but I'll bring it up
08:06:14
@_discord_996744440322469900:t2bot.ioanemish Yes, that would be awesome. So, VirtusLabs, Software Mill, who else could do that? 08:08:00
@_discord_996744440322469900:t2bot.ioanemish Just imagine the rippling effect on the whole community! 08:08:49
@_discord_996744440322469900:t2bot.ioanemish Every Scala developer, project, company would benefit from it! 08:09:28

Show newer messages


Back to Room ListRoom Version: 9