Thread 106146152 - /g/ [Archived: 367 hours ago]

Anonymous
8/5/2025, 6:46:09 AM No.106146152
scala
scala
md5: 1c695c04bd6d19b9eff3986d6780ee74🔍
why bother with other languages when scala exists?
>JVM (fast, tunable, huge ecosystem, actually productive)
>Functional
>Haskell without the annoying bits
>Java without the annoying bits
>Cats Effects is based beyond belief
Replies: >>106146265 >>106147286 >>106147357 >>106147464 >>106147548 >>106148933 >>106149136 >>106149223 >>106149232 >>106150627 >>106154690
Anonymous
8/5/2025, 7:02:23 AM No.106146265
>>106146152 (OP)
Used to program in scala. But the "huge ecosystem" is all written in java, very few libraries/frameworks etc. are written in scala, so you always have to switch between nice scala and nasty smelly java code. And java has adopted some of the nice scala stuff like lambda operators etc. anyway by now.
Replies: >>106147357
Anonymous
8/5/2025, 9:55:00 AM No.106147229
java testbed
Anonymous
8/5/2025, 10:02:30 AM No.106147272
Tried it, went with F#. Far better and more elegant language. Faster than Scala, all the benefits of .net and no java under the hood.
Anonymous
8/5/2025, 10:04:50 AM No.106147286
>>106146152 (OP)
Go made scala obsolete.
Replies: >>106147293 >>106150625 >>106155760
Anonymous
8/5/2025, 10:06:12 AM No.106147293
>>106147286
go is java 6 and a system lang
Anonymous
8/5/2025, 10:08:28 AM No.106147310
header
header
md5: 5ebcf5d22654a342dece4e0ab2f3cace🔍
Switched to picrel, just functional enough for me, and as low level as C. Yes syntax and design of your application will be more verbose and complex, but it will consume a tiny fraction of memory and run 20X the speed.
Replies: >>106147331 >>106149232
Anonymous
8/5/2025, 10:10:34 AM No.106147331
>>106147310
this is a game not a programing language tard
Anonymous
8/5/2025, 10:15:04 AM No.106147357
>>106146265
>very few libraries/frameworks etc. are written in scala
And whatever libraries there are will be swapped out in 5 years to the next big thing.

>>106146152 (OP)
It's very nice.
Anonymous
8/5/2025, 10:25:34 AM No.106147439
In my case after I had my fill of complex Javashit and went looking for alternatives on the JVM, Clojure is what won me over.
Turns out non-Java is like 2% of JVM job offers.
Anonymous
8/5/2025, 10:29:07 AM No.106147464
>>106146152 (OP)
never used Scala
but recently been playing with Gleam
not for actual work, just toying around, learning my first FP language
i'm gonna be honest - it's kinda fun, didn't expect to like it - but it's quite interesting
Anonymous
8/5/2025, 10:41:12 AM No.106147548
>>106146152 (OP)
Looked a bit into it, feels like anything that Scala does can be done in Java with some boilerplate code. Why change then?
Anonymous
8/5/2025, 2:29:38 PM No.106148933
>>106146152 (OP)
I like Scala but Java is simply better.
Anonymous
8/5/2025, 2:57:39 PM No.106149136
>>106146152 (OP)
how does it compare to kotlin?
Anonymous
8/5/2025, 3:08:20 PM No.106149223
>>106146152 (OP)
>JVM (fast
lol, lmao.
Can't tell you how many times I've encountered a project that looks interesting, checked its requirements, saw the words "Java/JVM", and ran screaming. Even when it's containerised, Java automatically means that container is going to require an order of magnitude more resources than others of a comparable scope.
Inb4 you post benchmarks showing how fast a JVM program can output fizzbuzz (conveniently omitting the 17 hour warmup time and 768GB of RAM)
Replies: >>106149279 >>106149448
Anonymous
8/5/2025, 3:09:35 PM No.106149232
>>106146152 (OP)
sbt sucks dick
I like Scala 3 though, I like (modern) Java as well. If I'm working in the JVM i usually end up in just latest Java
>>106147310
I learned Rust before I looked at Scala and I found Scala to be pretty nice looking since it shared some concepts in somewhat similar ways a bit slightly different tho.
Anonymous
8/5/2025, 3:13:52 PM No.106149279
>>106149223
>Java/JVM
>Java/Java Virtual Machine
hello saar
Replies: >>106149321
Anonymous
8/5/2025, 3:18:10 PM No.106149321
>>106149279
It was meant to be read as
>saw "Java" or "JVM"
Anonymous
8/5/2025, 3:31:31 PM No.106149448
>>106149223
you forgot to mention how it isn't fast
Anonymous
8/5/2025, 5:17:43 PM No.106150498
I prefer Java and don't really like functional programming that much. The JVM languages don't really run that well on Windows to me. Install process is not good, need a IDE, strongly recommended to use WSL etc.
Replies: >>106150524
Anonymous
8/5/2025, 5:19:46 PM No.106150524
>>106150498
>and don't really like functional programming
>Windows
I didn't know niggers went to this board
Anonymous
8/5/2025, 5:27:21 PM No.106150625
>>106147286
No one uses Go
Replies: >>106150641
Anonymous
8/5/2025, 5:27:32 PM No.106150627
hate symbol
hate symbol
md5: a7719c4c8bff79c7f8c8fa0a4beb9621🔍
>>106146152 (OP)
>JVM (fast,
Anonymous
8/5/2025, 5:28:32 PM No.106150641
>>106150625
More people/companies use Go than Scala.
Replies: >>106151683 >>106155760
Anonymous
8/5/2025, 6:54:22 PM No.106151683
>>106150641
This. Scala and Clojure programmers always try to piggyback on the popularity of Java. Both Scala and Clojure peaked years ago and have been in steady decline for a decade now. Even Kotlin and Groovy are 10x more popular.
Anonymous
8/5/2025, 10:21:29 PM No.106154650
10 years too late (at best).
Might as well remember common lisp (lol)
Anonymous
8/5/2025, 10:24:01 PM No.106154690
>>106146152 (OP)
>JVM
Stopped reading there
Anonymous
8/5/2025, 11:58:38 PM No.106155760
>>106147286
>>106150641
good morning saar bloody benchod i redeem the card