while I think there is a lot of credibility to attributing #go's industry success due to the fact that its minimalism reduces ramp up for new team members while producing less complexity and more clarity/legibility, I think an under discussed factor at play is lines of code as a metric of success.
Given project Aspire is about orchestrating #dotnet applications, where does that leave teams who've decided on a polyglot approach to microservices with implementations written with #rust, #go, and #node? Probably not for those teams, right?
People working on #Go#Golang applications: I want to pick a way to make SQL queries (most likely SQLite and/or Postgres) but I'm totally lost with the many options available. Do you have any recommendations please? 🙇
It's for a web app, a smallish Activity Pub social network.
Recently watched this video by #ThePrimeTime on #Youtube, and his hot-take 🔥 was that they were using #Ruby, and half of their pain was caused by this.
I have no experience with Ruby at all and most probably won't even recognize it if I were to read it.
If Ruby is such a bottleneck and inefficient, why did #Mastodon :mastodon: use Ruby for its implementation?
I know Ruby is often praised for servers and backends, especially APIs, but we have many solutions for this in #Python :python: , which I wouldn't recommend, but #Go :golang: and #Rust.
Does anyone have opinions or sources for this statement?
I try to learn Golang, just because. To load a go module locally I need to manually update my go.mod file via go mod edit -replace command. Result: replace example.com/greetings => ../greetings. I hate Go already.. I hate it. Don't get me started on enums/unions. Error handling: err != nil ;). Ps. Hello world binary contains debug symbols by default and is 4MB.
I think I stick with C, C++, I even dare to say JS with Bun and whatever not.
Surveys on generics in #go#golang, inferring that the desire for generics was overblown, face a problem. Generics in Go are severely limited, mostly applicable to integer type abstraction and other such things. Functional programming or advanced applications hit a wall.
Although these limits are alright, Intentionally limited tools yield limited usage in practice.
What’s your favorite library in #Go#Golang for web authentication? Or any other recommendation to implement it (like std lib or just a JWT one etc).
Ideally it supports classic credentials, 2FA and passkeys. Bonus for OAuth providers that you can extend (if it does not support Mastodon out of the box for example).
are there best practices regarding #concurrency in #Go? I have something like an in-memory database that gets accessed by multiple clients in parallel. The RWMutexes drive me crazy. #golang
Decided to try and compare the general base program size of several languages. I wrote a handful of Hello World programs, and stripped them of everything. Here's the final results in KiB:
#RuinAFilm but programming language names:
Ghost in the #Haskell #Perl Is For Heros
In The Name Of The #Java
Schindler's #Lisp
Star Wars: The #FORTH Awakens
Manchester By the #C
The Truman #Go
Bringing Up #Ruby
Anyone get any other good ideas? #Puns#Joke
Is there a language like #Rust (compiles to native binary, preferably without GC or manual memory management, has an easy-to-use build system) that also doesn't end up pulling in hundreds of transitive dependencies? Ideally what I'd want is like Rust but with #Python's standard library, capable of handling most basic tasks (even if external dependencies would make life easier). I often look at #Go but I don't want to tangle myself up with Google anymore than I already have
> Fixed a possible crash during the trophy cutscene that could happen if the stadium did not have a scheduled match and was not associated with an owning club.
I love how Go and Rust programs just compile down to a single binary you can do whatever you want with. Sprinkle a systemd definition and voila, you’ve got yourself a long running service with superpowers 🥰.
In #Go, you cannot call the String method on a literal URL struct ("cannot call pointer method String on url.URL") because the String method has a pointer receiver. String does not modify the object, but it uses a pointer receiver to avoid copying the object for each call.
This is what you get when 1/ you design a language with pointers (why would you do that in 2009?) and 2/ you do not have "const".
2023-09-04: Organise, Research & Document - Weekly Guild Report for Sprint #2 (discuss.coding.social)
2023-09-04: Organise, Research & Document...