mmisamore, to programming
@mmisamore@sigmoid.social avatar

The unfortunate thing about the downfall of corporate was that was actually pretty good. By the time it finally arrived companies didn't want to migrate.

vascorsd,
@vascorsd@mastodon.social avatar

@mmisamore having to migrate is the problem in itself. Or at least a huge part of it unfortunately 😮‍💨

alexelcu, to programming
@alexelcu@social.alexn.org avatar

"Reasons to migrate to Scala 3"

alexelcu, to Blog
@alexelcu@social.alexn.org avatar

“Scala's Future”

Gather around, kids, let me tell you two stories from my past in the software industry.

https://alexn.org/blog/2024/01/10/scala-future/

#Blog #Scala #Scala3

tgodzik, to programming
@tgodzik@fosstodon.org avatar

Metals 1.2.0 is out! 🐲

  • presentation compiler for synthetic decorations
  • go to definition for scaladoc
  • custom project root setting
  • BSP errors in Metals status
  • reworked Metals Tree view with Scala 3 support
  • fixed Scala 2.11.x

Try it out with VS Code, Vim, Emacs and Sublime!

https://scalameta.org/metals/blog/2023/12/12/bismuth

softinio, to programming

#scala #scala3 :scala: developer asked to work on a #java8 project 👇

vascorsd, to programming
@vascorsd@mastodon.social avatar

"We’re happy to announce the release of Scala Native. Scala Native 0.4.16 is yet another maintenance release backporting changed from the 0.5.0-SNAPSHOT branch. This version introduces support for using Scala Native with JDK 21 and introduces bug fixes to the runtime. It also fixes severe performance problems when using java.nio.MappedByteBuffers."

https://scala-native.org/en/stable/changelog/0.4.16.html

#scala #scala3 #ScalaNative #programming #fp #programmingLanguages

t4rwin, to programming

Any Finagle users here? My com is looking at forking the project (Twitter isn't maintaining it anymore, and we want #scala3 support). Is someone else in this situation? #scala #finagle

alexelcu, to programming
@alexelcu@social.alexn.org avatar

Out of the Alt-JS languages I've played with, #Scala.js seems to be the best.

Given it's probably not widely adopted, its maturity is surprising. E.g., ScalablyTyped can convert TypeScript definitions, and actually works. Interop is good. And the compiler is, dare I say it, pretty fast compared to 2–3 years ago. Scala 3 also helps. E.g., it has untagged unions, just like TypeScript.

I'm surprised that it's in better shape than #KotlinJS, for all its multi-platform marketing.

#Scalajs #Scala3

matt,

@alexelcu What makes Scala.js better than KotlinJS in your opinion? How do they compare on bundle size? My understanding was that Kotlin's collection classes have much lower overhead than Scala's, both in JS and on the JVM.

alexelcu, to programming
@alexelcu@social.alexn.org avatar

In Scala 3, these utilities are guilt-free. But I can't find them in the stdlib optimized yet: https://www.scala-lang.org/api/3.3.1/scala/util/ChainingOps.html

#scala #scala3 #pic

alexelcu, to programming
@alexelcu@social.alexn.org avatar

Macros are bad, but…

If you want macros, the meta-programming abilities in Scala are quite nice. What I like is that much is possible using just simple inline definitions w/ compile-time reflection, no AST manipulation or quoted code required.

#Scala #Scala3

alexelcu, to programming
@alexelcu@social.alexn.org avatar

How is IntelliJ IDEA for Scala 3 these days? Does it work?

vascorsd,
@vascorsd@mastodon.social avatar

@alexelcu barely. Takes a lot to show autocompletes and keeps showing lots of red lines in a perfectly good syntax and takes too long to understand that things are right.

Really hard to do anything in it.

This was like last month when I last tried.

alexelcu, to programming
@alexelcu@social.alexn.org avatar

I still can't wrap my head around the #Lichess chess server being built in Scala 3 and using Typelevel libraries, in an #FP style. This chess server is insanely popular.

https://github.com/lichess-org

#Scala #Scala3 #Typelevel

lichess,
@lichess@mastodon.online avatar

@evgenynr @alexelcu

The remote analysis is provided by Stockfish 16, the in-browser analysis by a modified version of Stockfish 14 (the neural network is smaller).

If you are willing to try something new, you can use in-browser any UCI engine using the external-engine tool (https://github.com/lichess-org/external-engine). It is still in an early phase, though.

evgenynr,
@evgenynr@toot.io avatar

@lichess @alexelcu Thank you for your reply :hearthands:

interfluidity, to programming
vascorsd, (edited ) to random
@vascorsd@mastodon.social avatar

New release and supposedly better support.

What's new in IntelliJ IDEA 2023.2
https://www.jetbrains.com/idea/whatsnew/2023-2/

alexelcu, to programming
@alexelcu@social.alexn.org avatar

Writing an article on how awesome #Scala3's support for type-classes is, for a general audience, but it's a hard to write article 😒 #Scala

hugovr,
@hugovr@mastodon.social avatar

@alexelcu Have you thought about writing a monad explanation instead?

alexelcu,
@alexelcu@social.alexn.org avatar

@hugovr 🤣 that stings

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines