Sender | Message | Time |
---|---|---|
11 May 2024 | ||
velvetbaldmime#6377 | Scalac I think, 47degrees (Xebia), Ziverge I believe VirtusLab have the most relevant experience with this, as I remember them optimising SBT build for a huge customer | 08:09:35 |
anemish | Isn't Eugene working on Netflix? Wouldn't they like to speed-up sbt as well? | 12:04:30 |
velvetbaldmime#6377 | Eugene is working on Bazel at Netflix | 12:05:08 |
igor.ramazanov | Just to double-check - you are aware of running sbt as a daemon and ability to reload it without killing the process and also of bloop ?I just too often saw people runnin, sbt compile and then saying that it's slow.There're options to make the setup faster, but unfortunately: - there are many different ways of importing a project - it's difficult to expect developers to know them, especially comparing to other ecosystems, where, let's say, there's just 1 static binary to call with embedded LSP server | 12:07:11 |
igor.ramazanov | * Just to double-check - you are aware of running sbt as a daemon and ability to reload it without killing the process and also of bloop ?I just too often saw people running sbt compile and then saying that it's slow.There're options to make the setup faster, but unfortunately: - there are many different ways of importing a project - it's difficult to expect developers to know them, especially comparing to other ecosystems, where, let's say, there's just 1 static binary to call with embedded LSP server | 12:07:24 |
igor.ramazanov | + also peculiarities of JetBrains tools (their own implementation of typechecker, e.g. if I'm not mistaken and not relying on LSP, because it doesn't provide them all they need for better UX) | 12:08:59 |
igor.ramazanov | bloop is fast and shares the process between the projects, so it's coolA few drawbacks are that you can only use it for compiling, running and running tests, but not, let's say, building a Docker image. And also (at least in the past, maybe it's fixed already) sbt's plugin bloopInstall couldn't see Runtime libraries | 12:12:26 |
igor.ramazanov | In IntelliJ it's possible to switch away from the custom typechecker to the one from a build tool - sometimes useful | 12:13:12 |
anemish | yeah, I know this. Again. It's been 20 years of Scala. And still we have all that slow, barely working mess. Rust has it working out of the box. Sigh | 12:14:23 |
anemish | It's like a curse, same that Haskell has | 12:14:51 |
igor.ramazanov | Maybe one day we'll get there 🥲 | 12:15:52 |
anemish | I've been waiting for 15 years | 12:16:10 |
JD557#8432 | maybe things have changed in the meantime, but I find the comparison with Rust kind of weird... isn´t Rust compiation (in release mode) still super slow (which is the whole reason for cargo check )?I'm not saying Scala compilation is fast (I wish it was as fast as Java's), I just don't think Rust is the best point of comparison 😅 | 12:17:46 |
anemish | it's not about compilationspeed, it's about their build tool and dev-ex | 12:18:38 |
igor.ramazanov | Rust uses source dependencies (yeah?), so yeah. Another complain is that it has somewhat unintuitive system with editions/rustup/targets/etc. Grokkable, of course, but still not very intuitive, I think | 12:19:43 |
igor.ramazanov | There also Bleep/Pants/Bazel, albeit somewhat niche | 12:21:00 |
anemish | https://tenor.com/view/please-no-michael-scott-the-office-no-god-please-no-steve-carell-gif-3532257 | 12:21:40 |
igor.ramazanov | I agree with Anton that - the best way would be just hiring someone fulltime or asking for some paid-time work on open-source tools at our jobs. There was so much progress on Scala Native after Wojciech joined the project | 12:26:32 |
igor.ramazanov | I mean it's all free tools people working mostly in their free time | 12:31:36 |
roti7342 joined the room. | 17:07:15 | |
12 May 2024 | ||
hkateu joined the room. | 06:04:05 | |
hkateu | Hi everyone, how do I supress full type information in sbt console. Here's what am getting when working with Refined. val age: eu.timepit.refined.api.Refined[Int,eu.timepit.refined.numeric.Positive] = 20 | 06:04:06 |
hkateu changed their profile picture. | 06:04:06 | |
hkateu | What I want is 'val age: Refined[Int, Positive] = 20 | 06:05:00 |
hkateu | * What I want is 'val age: Refined[Int, Positive] = 20' | 06:05:14 |
hkateu | * What I want is val age: Refined[Int, Positive] = 20 | 06:05:50 |
Potatoe[F[_]] | Good daytime! How can I add libraries from jar files in SBT? | 09:51:40 |
JD557#8432 | It's been a while since I did that, but from a quick look at the documentation (https://www.scala-sbt.org/release/docs/Library-Dependencies.html) I think you can just add them to the lib directory | 10:52:17 |
SethTisue#7418 | sbt isn't playing a significant role here. it's just launching the stock REPL for you. you'd get the same result regardless of how you launched the REPL and I'm afraid this behavior of the REPL isn't configurable, to my knowledge | 15:53:48 |
13 May 2024 | ||
@98765abc:mozilla.org joined the room. | 03:52:35 |