# smartgo: I wish for a Go-like language with Rust-like pointers

I’m using Go now for over 5 years and I really like it. But the properties of Rust’s model are quite seductive:

  • No GC, no runtime.
  • More optimization opportunities compared to C-like languages thanks to the lack of aliasing for anything writable.
  • Race-free coding by default. I tried learning Rust a few times but I always failed to get traction in it. I like that Go’s structure and idioms are simple so it doesn’t require advanced IDEs to be productive with it.

For instance you cannot define new types within a type. You can have only top level types. And for functions you can only have top level functions or methods on a type. No deeply nested structures. Those always make my head hurt because they are often …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help