any Scala enjoyers here? I've only heard bad things about it lately
i'm completely lost in scala building tools. what is sbt server, and what is bloop server? can they coexist? can you compile code through `sbt compile` and see the result in your IDE connected to bloop using metals? if not, what's the way?
Gave an internal talk on variance in Scala last week. No video, slides and article here:
https://rossabaker.com/presentations/understanding-scala-variance/
Now that I've spend like 2 weeks moving #scala code around, commenting, writing, entering new lines, refactoring, creating multi level ifs and matches and multiple defs inside defs and all that stuff, all using #scala3 whitebased syntax with formatter turned on to write it into that and 4 spaces for ident...
I'm getting so many weird compile errors constantly, scratching my head a lot about why comments moved place, for-comprehesions stopping to work..
I'm tired. I don't think if it's worth.
Investigating an unfamiliar codebase. Want to remove a variable.
It is not obvious if that is safe (or if the variable is used in unexpected places). This would be so much easier with a more „functional“ programming style (less quasi-global state, less „action at a distance“) and in #Scala (or any other compiled language) where the compiler can conclusively decide these things.
Basic affordances that I sorely miss as I resort to full-text search. And this is not even getting into type-safety.
Mill: A better build tool for Java, Scala, and Kotlin
Link: https://mill-build.org/mill/index.html
Discussion: https://news.ycombinator.com/item?id=44583565
Ah, yes, another "revolutionary" build tool—because #Java, #Scala, and #Kotlin #developers were desperately lacking in build systems. Apparently, #Mill is the ultimate solution... to a problem no one knew existed. But hey, at least you can now write more #configuration files instead of code!
https://mill-build.org/mill/index.html #buildtools #HackerNews #ngated
Mill: A Better Build Tool for Java, Scala, & Kotlin
Ox, the safe direct-style streaming, concurrency and resiliency library for #Scala 3 on the JVM, is nearing a 1.0.0 release, with 1.0.0-RC1 now available!
Should be finalized just in time for ScalaDays - in a month! :)
Please test! Is anything missing? Or worse - broken?
When I mention that #scala intellij is freaking slow I mean stuff like this. This was a fast autocomplete! Hard to remember to record or even know when a super slow one is coming . This is like this for everything, constantly.
And this seems a problem, all the time. I have the same experience on different scala 3 versions, using sbt or bsp and on this mac and on another linux machine.
This particular one is a scala cli proj with a 5 files and bsp. Using helix/metals barely any types show up.
Might seem like a tiny #Scala Metals features, but it really makes a difference: the status bar tells you that the code in the module you're currently in won't compile (hence - no new highlighting), because there are errors in an upstream module.
Here, `core-test` won't compile because `core` has errors, but this of course generalises to multi-module projects with long dependency chains, not only tests.
#Business4s was launched more than a year ago, and a lot has happened since then!. Their mission remains the same: solving real business problems using #Scala in the most practical and enjoyable way possible.
https://medium.com/business4s-blog/business4s-h1-2025-highlights-3d5c3e743e49
Damn, I had installed #scala from brew and trying to use scala-cli functionality through it like "scala compile ." was extremely slow to the point of being unusable. I have now removed the sbt and scala I had installed with brew, went with the annoyance of installing coursier, adding that stuff to the path, installing scala-cli explicitly and sbt and that stuff and now "scala-cli compile ." just flies .
Yet more crazy stuff I have to deal in a stupid macos machine.
Alright, I am giving this a try.
Checking news (i.e. social media) only once in the morning and once in the evening.
I made it through yesterday that way, even abstained from the phone on the toilet, and I am moderately proud of myself.
It is a bit hard for a #Scala programmer, because we frequently wait on builds to complete. https://xkcd.com/303/ Huge potential for distraction there. I managed to look only on browser tabs with #Jira and #Gitlab and such.
Let's see about the weekend...
You've heard of #scala language that works on the jvm. You also heard about scala native target to native (C) and interoping with that world side stepping the #jvm...
Now get ready for #clojure (jvm language) and it's target to Cpp.
---
#jank programming language - Clojure/LLVM/C++
"Where jank differs from Clojure JVM is that its host is C++ on top of an LLVM-based JIT*
Mill Build Tool v1.0.0 is out! #scala
Graal Native Launchers for lightning-fast commands (~100ms)
JVM-free installation
Bash/Zsh tab-completion
Stable Kotlin & improved Android support
https://mill-build.org/blog/13-mill-build-tool-v1-0-0.html
Today, we released Mill 1.0.0
It comes with a lot of new features and many many internal improvements. But we also changed a lot, so make sure to read the Changelog carefully.
https://github.com/com-lihaoyi/mill/blob/main/changelog.adoc
We aim to roll out more 0.12.x releases that support the transition to the newer APIs by providing more deprecation warnings.