Joined June 2012
19 Photos and videos
Pinned Tweet
I renamed Scalag to Cyfra, and added to some pretty cool features. You can now use directly nested Scala case class structures on GPU, pass uniforms, and more. Using that, I created a function animation renderer Foton, written fully in Scala. github.com/ComputeNode/cyfra #scala
1
11
53
3,134
See you on my Painting with Functions talk at #LambdaDays tomorrow! I will show you how, with our new library, functional Scala code can be run on a GPU. Then, we will implement a proper ray tracer to render images like this one:
3
9
474
Szymon Rodziewicz retweeted
I achieved an interesting performance improvement today by changing an opaque type from Int to java.lang.Integer. It may look counter-intuitive, but these IDs were used mostly by Maps or Sets. Map#get and Set#contains cause boxing and extra allocations on every call.
6
17
75
2,463
On the way to make #scala a realtime procedural graphics editor :) 3D and animations are coming! #gpu #generativeart
1
8
56
2,381
Szymon Rodziewicz retweeted
Only 6 days left! We're calling on all innovators, creators, and problem-solvers to share their passion projects, groundbreaking ideas, and ambitious endeavours. Whether it's an eye-opening concept, a brain-teasing challenge, or a fresh perspective on #FunctionalProgramming, we want to hear from you! This is your chance to showcase your work, inspire the community, and contribute to the ever-evolving world of cutting-edge technology. Don’t miss out—submit your proposal today! 👉 sessionize.com/lambda-days-2…
1
4
579
A really great perspective on current narratives around AI. I was luck enough to see it in person, but now it's also online :)
🎥 AI: logic vs heuristics—two paths, one future? In "The Two Cultures of Artificial Intelligence" Lambda Days 2024 talk, Philip Wadler contrasts the origins and challenges of AI, shedding light on its role in shaping programming. Watch the talk now: youtu.be/OH6vJZ0PDrQ
1
144
I will be speaking at @LambdaDays this year! :) I will show how functional Scala with Cyfra can be used to develop GPU programs such as ray tracers and ray marchers - we will develop one live. Ambitious plan now is to clean up, expand and release Cyfra. lambdadays.org/lambdadays202…

1
3
27
1,381
I renamed Scalag to Cyfra, and added to some pretty cool features. You can now use directly nested Scala case class structures on GPU, pass uniforms, and more. Using that, I created a function animation renderer Foton, written fully in Scala. github.com/ComputeNode/cyfra #scala
1
11
53
3,134
Foton can animate all kinds of functions, below is an example of animated Julia set: github.com/ComputeNode/cyfra…
1
1
5
309
Coding those animations is quite fun and I encourage you to try it out if you want :) However, now you would need to fork and build the project yourself, but if you need any help with that, ask me here. Before release I need to do a lot of clean up and optimizations.
4
226
Szymon Rodziewicz retweeted
18 Jul 2024
Your help is welcomed 📝 How extensively is Scala used in the public sector? We are collecting all examples to make a strong case to apply for funding to help maintain the critical infrastructure. Share with us by filling out the form or by replying! docs.google.com/forms/d/e/1F…
5
49
80
18,837
Path-tracing running on GPU, written purely in Scala 3? It is now possible with Scalag! Below is a scene rendered with Scala 3 gpu path tracer. It is just one example of Scala programs you will be able to run natively on a GPUs. Details and code in thread. #scala #gpu #scalag
1
13
69
5,138
In essence, it compiles code written in Scala 3 with Scalag DSL to spir-v, that you can then run with provided Vulkan runtime on one of many platforms: Mac, Linux, Windows, and most of GPUs. It supports, among other features, case classes and basic declarative collections:
1
11
493
Here is the project repository: github.com/scalag/scalag And here is the code of the raytracer: gist.github.com/szymon-rd/49… Still a lot has to be done and cleaned, but we are planning to release an alpha version soon. Would you like to run part of your stream processing on GPU?
1
10
434
4 years ago with my friend Marcin we developed a tool to compile Scala DSL to SPIR-V and run it on GPU (with Vulkan). I digged it up and added some features. So here they are: Scala programs running on GPU to blur images and to calculate 2d square function values:
2
5
29
2,011
Here is our repo: github.com/scalag/scalag/tre… It's Scala 2 and I would definitely design the DSL differently today. But, regardless of that, it works quite well and DSL is typesafe and gives hints. It may be a nice idea rewrite it in Scala 3 with a good DSL.

6
302
It's in less than a week!
2
216
Just left @VirtusLab today, after 4 years. Great company, highly recommend. I am definitely not leaving contributing to open source though. Scala 3 compiler is in great hands, and Scala Toolkit is planned to reach the next level with @lukasz_bialy
5
44
1,901