Scala

392 readers
5 users here now

founded 2 years ago
MODERATORS
26
27
28
29
30
31
32
33
34
 
 

Part 0 of building a tetris game in Scala Native with GTK.

This covers the basics of setting up a nix development environment for scala native.

35
36
37
38
39
40
 
 

Hi there! Sharing a little example project I put together a while back that builds native binaries from Scala code using sbt, graalvm, and nix.

It's dead simple and merely glues together the different technologies involved. But maybe a nix-curious Scala developer stumbling on this community will find it interesting as a template to copy. It relies on https://github.com/zaninime/sbt-derivation, which has worked well in my very limited usage of it.

41
 
 

Could be very helpful at demonstrating how scala is a superpower you don’t have to spend years of ninja training to begin to access.

42
 
 

Older presentation (from 2021) but worth a reshare, as Scala 3 is gaining some momentum, with macros being better in Scala 3.

43
 
 

πŸ‘‹ I'm new here, so might as well spam this nascent community with my last useful article πŸ™‚

44
45
 
 

I tend to prefer Cats and that's the more commonly used ecosystem at work, but I've heard that the more framework nature of ZIO can be really comfy. I've also used Play, which had some nice things but is starting to feel like it's showing its age and the rough spot Lightbend is in.

I'm curious to hear what everyone else is using and your hot takes.