
🇪🇺 Doing Network on Chip @ Arteris Ex Scala 3 Compiler Team at @scala_lang (he/him)
Joined June 2012
- Tweets148
- Following110
- Followers309
- Likes178
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
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:
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.
On the way to make #scala a realtime procedural graphics editor :) 3D and animations are coming!
#gpu #generativeart
Idea here is that the rendered function is "f" and it's the entrypoint.
Repository and the project: github.com/ComputeNode/cyfra
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…
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
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…
Foton can animate all kinds of functions, below is an example of animated Julia set: github.com/ComputeNode/cyfra…
Szymon Rodziewicz retweeted
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…
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:
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?
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:
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.
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
Next Monday, I will talk about capabilities and various ways of expressing effects in Scala. I invite you to come to WędrówkiPub in Wrocław!
meetup.com/wroclaw-scala-use…

















