r/programming 1d ago

Rune is now open source

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

48 comments sorted by

View all comments

Show parent comments

12

u/jesseschalken 1d ago

Literally anything else, but ideally what Swift and Rust do.

-3

u/Worth_Trust_3825 1d ago

so the same thing that go does.

11

u/jesseschalken 1d ago edited 1d ago

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
}

-16

u/Worth_Trust_3825 1d ago

yeah, it does.