João Costa @JD557@blog.joaocosta.eu Follow

Portuguese software engineer at Kevel.

My instance is running on a small server so please #nobot

Web

https://www.joaocosta.eu/

GitHub

https://github.com/JD557

Twitter

https://twitter.com/JD557

Itch.io

https://jd557.itch.io

  • Notes
  • Articles 6
  • Followers 41
  • Following 57
João Costa's avatar
João Costa
@JD557@blog.joaocosta.eu

I've been playing around with the new multithreading features of Scala Native 0.5.0-RC1.

I already checked that I can get my game jam entries working with a dedicated audio thread, so now I wanted to play with something different.

I picked up my gopher client and made it async (nothing special, just wrapped the calls in Future(blocking(...)) and it works like a charm.

My dumb green phosphorus skin was actually pretty helpful to see that it's working 😄 .

It's a bit hard to see on the video, but if you look closely you'll see that there's a scan effect sweeping the screen from the top to the bottom, and it keeps running even while the page is loading.

GIF
  • permalink
  • interact from your instance
  • 1 year, 2 months ago
  • 3 likes
  • 1 share
Likes
@sjfloat@mastodon.social @dwardoric@chaos.social @vascorsd@mastodon.social
Shares
@vascorsd@mastodon.social
Powered by microblog.pub 2.0.0+dev (source code) and the ActivityPub protocol. Admin.