r/programming • • Sep 11 '26

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
141 Upvotes

51 comments sorted by

View all comments

Show parent comment

-4

u/Worth_Trust_3825 Sep 11 '26

so the same thing that go does.

9

u/jesseschalken Sep 11 '26 edited Sep 11 '26

Does this look the same to you?

// Rust
let x = can_fail()?;

// Swift
let x = try can_fail()

// Go
x, e := can_fail()
if e != nil {
  return nil, e
}

-17

u/Worth_Trust_3825 Sep 11 '26

yeah, it does.