News for hackers. Stuff that matters.
Re:Unison 1.0 Release by shauniel on Tuesday November 25, 2025 @03:07PM (#46050099)
Has anyone used this, any cool ideas?
Re:Unison 1.0 Release by pchiusano on Tuesday November 25, 2025 @03:23PM (#46050297)
https://www.unison-lang.org/docs/the-big-idea/ might be a good starting point!

For interesting usage - we built Unison Cloud (a distributed computing platform) with the Unison language and also more recently an "AWS Kinesis over object storage" product. It's nice for distributed systems, though you can also use it like any other general-purpose language, of course.

In terms of core language features, the effect system / algebraic effects implementation is something you may not have seen before. A lot of languages have special cases of this (like for async I/O, say, or generators), but algebraic effects are the uber-feature that can express all of these and more.

Re:Unison 1.0 Release by stewoconnor on Tuesday November 25, 2025 @04:58PM (#46051300)
I think Alvaro's at the Unison conference was a pretty cool demonstration of what you can do with the style of algebraic effects (called "abilities" in unison)

https://www.youtube.com/watch?v=u5nWbXyrC8Y

He implements an erlang style actor system, and then by using different handlers for the algebraic effects, he can "run" the actor system, but also optionally make a live diagram of the actor communications.

Re:Unison 1.0 Release by panic on Tuesday November 25, 2025 @07:30PM (#46052655)
I tried it once, but a core feature I needed (running code asynchronously on a timer) didn't seem to be available in the free version.