/r/scala

Photograph via snooOG

Information Regarding Scala:

Platforms

Community

Coding Tools:

IDES / Programming Environments

Build Tools

Code Formatting / Linting

Free Books, Tutorials and Guides:

Non-free Books:

Advanced!:

Free Scala Courses:

Scala Conferences:

Podcasts:

Scala Jobs:

Scala Libraries:

Web Development and Microservices

Web Front End (Scala.js)

Database Access

Functional Programming

Concurrency / Parallelism

Mathematics

Distributed Computing

Blockchain

Monitoring/instrumentation:

Miscellaneous:

Open Source Applications written in Scala

Want your library here? Message the moderators!

Related Communities:

Blogs/Periodicals:

/r/scala

52,832 Subscribers

57

ZIO 2.1 is here

ZIO 2.1 has been released

https://github.com/zio/zio/releases/tag/v2.1.0

with 2.1.1 being released shortly after that to remedy discovered issues

https://github.com/zio/zio/releases/tag/v2.1.1

3 Comments
2024/05/12
15:49 UTC

4

Play 3.x + Loom

Has anyone tried Scala Play 3.x with Loom ?

16 Comments
2024/05/12
15:26 UTC

12

Direct Style Effects with current Effect Systems?

The recent posts posts about direct style effects using context functions were very interesting, kudos to the various authors. However, could the new context function mechanism be used to simplify coding using existing effect systems like C-E? I'm not sufficiently au-fait with this Scala 3 feature to try this out myself, but if someone could do a Gist or suchlike to show this, that would be very interesting. For sure, the current typical C-E "for-comp-of-dooom" isn't so neat really...

10 Comments
2024/05/11
15:22 UTC

19

Benefits of learning Scala in 2024

Hello Scala Community,

I am newbie to Scala language. I have previously worked as Java Developer in the industry and have around 4 years of experience working on Spring Boot framework. However, recently I changed my company and my new company uses Scala as their main language for developing backend applications using Play framework. I have joined as a Software Developer here (not Data Engineer) in hope for learning something new in the field of Software Engineering. I have gone through numerous articles on how Scala skills are considered to be niche skill and has scope mostly in Big Data and Data Engineering roles. I would like to get your valuable insights regarding following concerns :

  1. Does learning the FP way of designing applications will help me in longer run in SE industry?
  2. How much emphasis should be given to learning languages or say new paradigm (I am considering Scala to be more complex than Java, maybe because I'm new to FP) when one's goal is to become a good software engineer?
  3. Regarding the job market for Scala, I don't see much hope in my region (India) other than DE roles. I am still interested in Software engineering but afraid that investing time in it will be helpful in future or not?
  4. On the extreme side, should I go back to hone my skills on Java ecosystem (prepare for next switch) or focus in learning Scala language and its ecosystem for maybe next 1-2 years and see if I like it or not?

I tried to keep my doubts as clear as possible. Thanks in advance for your valuable insights.

9 Comments
2024/05/07
12:17 UTC

60

Play Framework 2.9.3 and 3.0.3 released

Grab it while it's still hot!

4 Comments
2024/05/07
10:10 UTC

53

Data Engineering at Netflix using Apache Spark and Scala 3 with Joan Goyeau

1 Comment
2024/05/07
07:26 UTC

21

Apache Fury 0.5.0 released

We're excited to announce the release of Fury v0.5.0. This release incorporates a myriad of improvements, bug fixes, and new features across multiple languages including Java, Golang, Python and JavaScript. It further refines Fury's performance, compatibility, and developer experience.

Fury can be used to accelerate the data transfer efficiency in big data distributed frameworks such as flink/spark.

See more in release notes: https://github.com/apache/incubator-fury/releases/tag/v0.5.0

5 Comments
2024/05/06
15:03 UTC

15

Typeclass Derivation with Shapeless

In this live session I go over the process that I use to implement generic derivation of Typeclasses.

This session came to be after a discussion we'd at work about implementing such derivation for a Typeclass that's defined in Play! Framework. I'm by no mean an expert on Shapeless, but I'd it would be nice to share the process that works for me.

https://www.youtube.com/watch?v=aVrwmf9F7RM

4 Comments
2024/05/05
13:49 UTC

18

New Emacs package scala-repl for REPL driven development

0 Comments
2024/05/05
13:12 UTC

19

Database library for Scala

Hi Scala community

After some years of not programming Scala professionally, I am revisiting an old Scala code base that is using Scalajpa with a MSSQL database. I am not a fan of either JPA or Hibernate, so I would like to replace Scalajpa with something else.

My previous experience with an ORM-library in the Scala space was Slick, and I was not very pleased with the complexity and syntax.

Can you recommend a simple Scala ORM? Or should I look into a Java library like jooq?

Edit: added MSSQL as a requirement.

33 Comments
2024/05/04
11:36 UTC

22

Scala - freelancing

Hy Scala community 👋🏻

Would like to hear your “success stories” regarding the freelancing.

Did you manage to get some gigs besides your main job? Did you manage to get some good rates? What projects did you work on? How did you get those jobs? Etc…

15 Comments
2024/05/04
05:59 UTC

31

The Effect Of Uncapturable - Oleg Nizhnik, Scala Stockholm Spring Meetup April 2024

12 Comments
2024/05/04
05:42 UTC

26

Elements of JVM Concurrency (Scalar 2024)

1 Comment
2024/05/03
06:27 UTC

70

Scala 2.13.14 is here!

The Scala team at Lightbend is proud to announce Scala 2.13.14.

This release improves cross-building with Scala 3, fixes a few regressions, and more.

For details, refer to the release notes on GitHub: https://github.com/scala/scala/releases/tag/v2.13.14

2 Comments
2024/05/01
21:42 UTC

0

Testing with Mockito

If I have a nested Object and I want to mock it to test the outer, I read I had to define a trait which the nested implemented, mock that trait, and the outer will “automatically” use this mock, but it does not, it’s calling the objects function instead of the thenReturn I defined for the mock. Any recommendations?

2 Comments
2024/05/01
21:30 UTC

16

what the "derives" keyword does?

in scala 3, I'm having trouble understanding what the "derives" keyword does and how and when to use it, the main site and other pages that I could find wasn't clear enough, can some one explain it?

9 Comments
2024/05/01
11:52 UTC

50

IntelliJ Scala Plugin 2024.1.20 is out

We decided to promote this minor release to stable. It comes with some updates:

  • Support for the -Xsource:3-cross compiler option
  • Improved support for Scala 3 export clauses and extension methods
  • Fixes to given and using clauses in some corner cases

... and a few more. Go to Settings | Plugins and update. Happy developing :)

1 Comment
2024/04/30
18:19 UTC

6

Transitioning smoothly from SE to Data Engineer on Spark Stack

Hello, I am currently working as a software engineer using typelevel scala stack and I am wondering what is the most straightforward way to get hired as a Data Engineer consultant on Spark technologies. I have a solid understanding of distributed and streaming systems, is it enough to create side projects on my github utilizing the Spark streaming / kubernetes / Kafka or there is some kind of certification that is trustworthy for recruiters?

4 Comments
2024/04/30
17:35 UTC

19

Switche - A Searchable Task Switcher

Hello all,

Here's an app I wrote for myself and have been using for some time .. and with some encouragement decided to clean up and release for anyone else who might find it useful.

It's a windows task switcher with first class support for search, and much more responsive and feature-rich than the windows default.

Its built with Rust and Tauri for backend, and uses direct ScalaJS for frontend w no other framework.

Repo is https://github.com/yakrider/switche/

The Readme there has all the necessary info to 'git gud' with it, incl configuring hotkeys and features.

Screenshot of this first-ever-released version 2.2.7 is below.

Try it out and hopefully it might be useful for some of ya'll.

I'm happy to field bug reports, questions, concerns, feedback of any kind.

Cheers!

switche-2 2 7-screenshot

3 Comments
2024/04/30
16:23 UTC

38

A Guide to Database Integration with Skunk

11 Comments
2024/04/30
15:06 UTC

39

Does the Caprese project have any actual examples or documentation yet?

For those who don't know what I'm talking about, I don't blame you. It's basically only referenced in this talk by Odersky from ScalaDays and random discussion threads scattered that only reference that talk. It mentions a new research project on algebraic effects called Caprese (Capabilities for Resources and Effects).

I was confused about the discourse around this project because some people have stated that it's already making its way into scala 3, but I haven't seen any kind of technical details, documentation, talks, or anything else I would expect from what appears to some to be a big change for the language.

Honestly I'm mostly just excited and want to know more. Especially since a lot of people I respect seem to see this as a possible avenue for resolving some of the bigger issues with scala like fragmentation/effort duplication and the poor ergonomics and high skill barrier of IO and tagless final.

Anyone have any good articles or resources that actually dive into the topic more and explore how it could affect library design in the future?

14 Comments
2024/04/30
05:32 UTC

Back To Top