← Home ← Back to /g/

Thread 106146152

28 posts 6 images /g/
Anonymous No.106146152 [Report] >>106146265 >>106147286 >>106147357 >>106147464 >>106147548 >>106148933 >>106149136 >>106149223 >>106149232 >>106150627 >>106154690
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
Anonymous No.106146265 [Report] >>106147357
>>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.
Anonymous No.106147229 [Report]
java testbed
Anonymous No.106147272 [Report]
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 No.106147286 [Report] >>106147293 >>106150625 >>106155760
>>106146152 (OP)
Go made scala obsolete.
Anonymous No.106147293 [Report]
>>106147286
go is java 6 and a system lang
Anonymous No.106147310 [Report] >>106147331 >>106149232
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.
Anonymous No.106147331 [Report]
>>106147310
this is a game not a programing language tard
Anonymous No.106147357 [Report]
>>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 No.106147439 [Report]
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 No.106147464 [Report]
>>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 No.106147548 [Report]
>>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 No.106148933 [Report]
>>106146152 (OP)
I like Scala but Java is simply better.
Anonymous No.106149136 [Report]
>>106146152 (OP)
how does it compare to kotlin?
Anonymous No.106149223 [Report] >>106149279 >>106149448
>>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)
Anonymous No.106149232 [Report]
>>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 No.106149279 [Report] >>106149321
>>106149223
>Java/JVM
>Java/Java Virtual Machine
hello saar
Anonymous No.106149321 [Report]
>>106149279
It was meant to be read as
>saw "Java" or "JVM"
Anonymous No.106149448 [Report]
>>106149223
you forgot to mention how it isn't fast
Anonymous No.106150498 [Report] >>106150524
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.
Anonymous No.106150524 [Report]
>>106150498
>and don't really like functional programming
>Windows
I didn't know niggers went to this board
Anonymous No.106150625 [Report] >>106150641
>>106147286
No one uses Go
Anonymous No.106150627 [Report]
>>106146152 (OP)
>JVM (fast,
Anonymous No.106150641 [Report] >>106151683 >>106155760
>>106150625
More people/companies use Go than Scala.
Anonymous No.106151683 [Report]
>>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 No.106154650 [Report]
10 years too late (at best).
Might as well remember common lisp (lol)
Anonymous No.106154690 [Report]
>>106146152 (OP)
>JVM
Stopped reading there
Anonymous No.106155760 [Report]
>>106147286
>>106150641
good morning saar bloody benchod i redeem the card