nebiros

joined 2 years ago
24
submitted 1 year ago by nebiros to c/golang
 

Oh no, not another 'Is Rust better than Go?' article. Seriously, haven't we all had our fill of these comparisons by now? But before you sigh in exasperation, hear us out!

[–] nebiros 7 points 1 year ago (2 children)

have being using Enpass for a long time, it’s really good, you can choose any cloud provider or host your vault yourself, subscription based payment or one time only

 

In this article, I'll describe how to organize protobuf files messages and gRPC services in the Go sources. I'll briefly examine how to use protoc and plugins with the proper imports, and project structure.

17
submitted 1 year ago by nebiros to c/golang
 

While writing Go, you might might run into the following situation: You want to collect the results of a function in a slice. However, the function returns a pointer.

You might then ask yourself:

What kind of slice should I use? A slice of values or a slice of pointers?

Let’s make this a bit more concrete.

 

Not a hard question. It’s sum types! (Or enums, tagged unions, or whatever you want to call them).

29
Scripting with Go (bitfieldconsulting.com)
submitted 1 year ago by nebiros to c/golang
 

In this article we’ll explore a package called script that aims to sprinkle some Unix shell fairy dust on your Go programs.

[–] nebiros 1 points 1 year ago

I would say popular only ath gnome nerds niche, which is sad, cause is kind of cool

[–] nebiros 2 points 1 year ago

well, boring tech link is about battle tested tech, not about hype, so, in that sense, yeah, seems “boring” to me, but I love it, :)

[–] nebiros 3 points 1 year ago (2 children)
[–] nebiros 1 points 1 year ago

probably they gonna end up with its own generic type at the stdlib

20
Rust vs Go in 2023 (self.golang)
submitted 1 year ago by nebiros to c/golang
 

Rust vs Go in 2023

Which is better, Rust or Go? Go or Rust? Which language should you choose for your next project in 2023, and why? How do the two compare in areas like performance, simplicity, safety, features, scale, and concurrency? What do they have in common, and where do they fundamentally differ? Let’s find out, in this friendly and even-handed comparison of Rust and Golang.

 

Is Go 1.21 already on your upgrade list? It should be!

In the tradition of Go, release 1.21 does not deliver loads of new language features but many improvements to the toolchain and the ecosystem.

 

Waiting for go1.21: Execution Tracing with < 1% Overhead

Learn about the upcoming go1.21 performance improvements that reduce the overhead of execution tracing from up to 20% to less than 1% for most applications.

[–] nebiros 1 points 1 year ago* (last edited 1 year ago)

started using last week a light theme, trying: https://marketplace.visualstudio.com/items?itemName=AnandaBibekRay.intellij-idea-new-ui-theme right now, before Dracula theme

[–] nebiros 1 points 1 year ago

and if you want setup per project, try: https://devenv.sh/, both are nix based

[–] nebiros 3 points 1 year ago
[–] nebiros 17 points 1 year ago (6 children)

everything went down when we allow web technologies be part of the desktop, everything electron or any other incarnation is an abomination

[–] nebiros 2 points 1 year ago (1 children)
[–] nebiros 2 points 1 year ago (1 children)
[–] nebiros 1 points 1 year ago (3 children)

or, use fleek: https://getfleek.dev/, ¯_(ツ)_/¯

view more: next ›