Oliver Bračevac

204 posts

Oliver Bračevac banner
Oliver Bračevac

Oliver Bračevac

@etaconversion

Researcher in CS, Scala 3 Compiler Engineer & Team Lead @epfl, Serves on the Scala Core Team and SIP committee. Agonizes over Effects, Capabilities & Ownership.

Switzerland Katılım Haziran 2016
127 Takip Edilen224 Takipçiler
Oliver Bračevac
Oliver Bračevac@etaconversion·
Claude Pro vs Codex Pro on Scala compiler: Claude is extremely good at Scala 3 and synthesizes idiomatic code, understands capture checking very, very well! Codex: less elegant code, requires more handholding, but still fairly competent. It flips on pencil-and-paper math.
English
0
0
3
63
Adam Warski
Adam Warski@adamwarski·
A 01:46 introduction to what kind of problems capture checking in #Scala solves. Pushing forward what type systems might do!
English
3
3
17
1.9K
Oliver Bračevac retweetledi
Scala
Scala@scala_lang·
After a long freeze, the Scala 3 standard library is again open to contributions. The main place for contributing is now the Scala 3 repository. details and link to process document: scala-lang.org/blog/2026/02/0…
English
0
11
42
2.4K
Oliver Bračevac
Oliver Bračevac@etaconversion·
@tribbloid Ackchyually, it does lots more than staging, it's a "compiler framework" which generates a graph-ir and aggressively optimizes it. It supports custom domain-specific optimizations, too. Anyway, its creator has been using Futamura's proj. to death RE: "never been tried"
English
1
0
1
32
Oliver Bračevac
Oliver Bračevac@etaconversion·
Coffee’s good, but living rent-free in someone’s head? Delicious.
English
0
0
1
149
Oliver Bračevac retweetledi
Jonathan Brachthäuser
Jonathan Brachthäuser@__protected·
Congratulations @odersky for receiving the SIGPLAN Programming Languages Achievement Award! Your work is a great inspiration for me :) Well deserved!
Jonathan Brachthäuser tweet media
English
3
18
107
6.4K
Oliver Bračevac retweetledi
Ilya Sergey
Ilya Sergey@ilyasergey·
We are thrilled to release Velvet: a foundational multi-modal verifier for imperative programs in Lean. It unifies execution, testing, automated and interactive proofs; and is itself proven sound. 💻 github.com/verse-lab/loom 📄 verse-lab.github.io/papers/loom-pr… 🧵 Learn more below ↓
Ilya Sergey tweet media
English
2
33
171
12.6K
Oliver Bračevac
Oliver Bračevac@etaconversion·
Generally, you need to port your libraries to CC if you want to offer full support. There are control knobs for what gets retained in the result of a method: (1) what you consider tracking-worthy capabilities, (2) the use of classifiers, and (3) consuming capabilities when doing separation checking. It is interesting to explore how monadic libraries could benefit from CC, and we'll have a writeup on that at some point. Much of this remains cutting edge science. (1) I think one can often replace the type-level acrobatics for effect labels with just capture sets, and have capture-set indexed monads. (2) One could try to extend the system to offer guaranteed purity for your monad implementations. (3) As already explored by @__protected , capabilities can be used for monadic reflection: github.com/lampepfl/monad… and CC can make that safe. (4) Lots of unexplored territory here! I'm looking forward to what people will come up with.
English
1
0
4
391
Łukasz Biały
Łukasz Biały@lukasz_bialy·
I am also wondering about that. Given that Iterator, a lazy construct, captures everything that was used in functions passed to its combinators, I fear a lazy monad would do the same. Maybe with classifiers we could select only things that we care about? Maybe @etaconversion could chip in?
English
1
0
1
128
Oliver Bračevac retweetledi
Łukasz Biały
Łukasz Biały@lukasz_bialy·
I used to be skeptical of whether Martin's Caprese project is going to be able to bring much value to Scala, given how polished and well-designed the language already is. After Scala Days talks from his team I am now quite convinced the direction taken makes a lot of sense. I think that the standard library, for example, will make a lot more sense with capture checker guarding the less safe parts. For example, it is now my hope that separation checking will be able to make iterators safe from invalid use, even when they are returned from collection methods silently (a link to blogpost with the description of this problem in the reply). What is quite surprising to me is to see that some people still think that Caprese is about building some kind of alternative to existing purely functional libs. It seems more and more obvious to me that the objectives of this research are about building type-level tools to build new, safer and performant solutions that are not forced to rely on immutability and monadic suspension to keep us from making mistakes in our implementations. The one bit that is the most promising to me is the separation checking functionality that will yield linear typing and thus, along with capture checking, allow true and actual resource and mutability type safety that cannot be provided by any existing solution. I'm not gonna lie, Scala Days talks made me a believer, even if only a little. It seems to me that we can have nice things. I also agree now with Nicholas Rinaudo, who wrote that it seems the LAMP team will be able to deliver this improvement in a way that won't break everything for everyone. Kudos to Martin and his team, I'm now officially hyped.
English
3
6
49
3.3K
Oliver Bračevac
Oliver Bračevac@etaconversion·
FINALLY, we can reveal the latest advances in Capture Checking for Scala, to appear at OOPSLA'25! CC now scales quite nicely and non-invasively to the standard collections library! We also have talks around CC at @scaladays next week and the @scala_workshop in October.
Oliver Bračevac tweet media
English
1
0
8
451
Oliver Bračevac
Oliver Bračevac@etaconversion·
@tribbloid There's a number of "him"s who contribute nothing and sow only discord and lies. Just because they don't get their way and are denied power.
English
0
0
1
27
Peng Cheng, asking λP2-λC
Peng Cheng, asking λP2-λC@tribbloid·
@etaconversion I have a vague idea of who "him" is but also think he is a red herring :D Real threats can't be that loud, and there is no conflict of interests
English
1
0
0
64
Oliver Bračevac
Oliver Bračevac@etaconversion·
Shoutout to @KagiHQ for their paid search! I've never had to look beyond the first half of the first page to find what I wanted.
English
0
1
10
1.3K
Oliver Bračevac retweetledi
The Scala Workshop
The Scala Workshop@scala_workshop·
@icfp_conference @splashcon Update! The Scala Workshop 2025 submission deadline is now July 18, AoE (11:59 PM UTC-12). More time to submit your talk proposals! Original: x.com/scala_workshop…
The Scala Workshop@scala_workshop

FP and OO unify again! Join us at the Scala Workshop, co-located with @icfp_conference and @splashcon 💡No papers, just talk proposals! Meet leading researchers, connect with the Scala community, and bring your industry perspective—everyone’s invited. 2025.workshop.scala-lang.org

English
0
4
3
898