Let's write a game in Scala Native, for Playdate!
Let's write a game in Scala Native, for Playdate!
It's a tiny console with very limited hardware and a 1-bit black&white screen. Having a well-documented C API, it's a perfect candidate for playing with using Scala Native! What could go wrong...Turns out, it's quite challenging, especially for someone mostly working in the safe haven of the JVM.
In this talk, I'll share with you:
- What I've learned about Scala Native as part of this journey
- Problems I've stumbled upon on my way to run SN on an unsupported platform
- Hopefully, a demo on the actual device. If I don't figure it out by the time of the conference, at least we'll have a game in the official Playdate simulator :)
I propose that we can extend Mirrors to operations, and use the most natural DSL of all - plain trait definitions.
The talk explores the recursive structure of Diamond Architecture.
In this talk, we will take a tour around the `error` function. Starting from the simple use-cases and ending up with sophisticated yet developer-friendly error messages.