rml, to random
@rml@functional.cafe avatar

while I think there is a lot of credibility to attributing '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.

fell, (edited ) to programming
@fell@ma.fellr.net avatar
khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Given project Aspire is about orchestrating applications, where does that leave teams who've decided on a polyglot approach to microservices with implementations written with , , and ? Probably not for those teams, right?

alyx, to golang
@alyx@3615.computer avatar

People working on 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.

So far I have:

rml, to random
@rml@functional.cafe avatar

is pretty fast

source |secs | mem | gz | cpu secs
Rust#9 | 2.81 | 11068 | 1874 | 2.81
Rust#7 | 3.27 | 11068 | 1753 | 3.27
Rust#6 | 3.92 | 11068 | 1790 | 3.92
Rust#3 | 5.63 | 11068 | 1540 | 5.63
Rust | 5.63 | 11068 | 1480 | 5.63
Rust#2 | 5.98 | 11068 | 1805 | 5.98
Rust#8 | 6.01 | 11068 | 1767 | 6.01
Go#3 | 6.36 | 11244 | 1200 | 6.37
Go | 6.55 | 11244 | 1310 | 6.56
Go#2 | 6.94 | 11244 | 1215 | 6.95

Stark9837, (edited ) to Youtube
@Stark9837@techhub.social avatar

"Why We Left The Cloud"

Recently watched this video by on , and his hot-take 🔥 was that they were using , 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: 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: , which I wouldn't recommend, but :golang: and .

Does anyone have opinions or sources for this statement?

Video: https://youtube.com/watch?v=6h4oiPwtwDk&feature=share

Original article:https://world.hey.com/dhh/why-we-re-leaving-the-cloud-654b47e0

melroy, to golang
@melroy@mastodon.melroy.org avatar

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.

Should I really give Go another try?

synlogic, to golang
@synlogic@toot.io avatar

quality of a better programming language:

  • compiler is your Best Fren

quality of a worse programming language:

  • compiler is your Frenemy

The former:



vs

The latter:
#C



gregorni, to golang
@gregorni@fosstodon.org avatar

Imports in Go suck

Amirography, to golang

Surveys on generics in , 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.

alyx, to golang
@alyx@3615.computer avatar

What’s your favorite library in 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).

Reboost welcome 👉👈

jhx, to linux
@jhx@fosstodon.org avatar

What is your cross platform #GUI toolkit of choice?

I target #BSD #Linux and #Windows (10/11)
(#Debian #Arch #FreeBSD #OpenBSD)

Saw that #wxwidgets would fit the bill 🙂 (From what I read)

Looking for some experiences 🙂

Languages: #C++ #Python #Go

Note: For #CSharp I use #WPF or #Winforms

#programming #GUI

Leisureguy, to food
@Leisureguy@mstdn.ca avatar

I just learned that in one's profile don't show up in searches.

So here are some hashtags relevant for me:

Amirography, to golang

The best way to describe the continued design choices of , is: "aggressively imperative".

malte, to golang

are there best practices regarding in ? I have something like an in-memory database that gets accessed by multiple clients in parallel. The RWMutexes drive me crazy.

omenos, to programming
@omenos@fosstodon.org avatar

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:

strip -s -o ${lang}_strip
du *_strip

C: 16
C++: 76
Go: 1204
Hare: 220
Rust: 352

#c

arda, to golang
@arda@micro.arda.pw avatar

Just started learning Go!

Another language for my tech stack.

Also, any tips for a go newbie, but a seasoned engineer is appreciated.

sirber, to Laravel
@sirber@fosstodon.org avatar

#Laravel / Eloquent looks way easier than #nestjs / typeorm and #go / #gin / #gorm 😅

#php #webdev

hl, to haskell
@hl@social.lol avatar

but programming language names:
Ghost in the
Is For Heros
In The Name Of The
Schindler's
Star Wars: The Awakens
Manchester By the #C
The Truman
Bringing Up
Anyone get any other good ideas?

acousticmirror, to random
@acousticmirror@post.lurk.org avatar

⚪ ⚫
⚫ ⚪

Anonymous, "The Go'ing Insurrection: Thoughts on Social Revolt and the Game of Go", ca. 2013.

This anonymous pamphlet came out a few years ago, and is now, for some reason, not very easy to locate online.

Luckily someone left a copy here:

https://www.dropbox.com/sh/9ccfvslnhf8dqc7/AACcfXy0Sl6rYSNYDnDVbnHLa?dl=0

billy, to rust
@billy@fosstodon.org avatar

Is there a language like (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 's standard library, capable of handling most basic tasks (even if external dependencies would make life easier). I often look at but I don't want to tangle myself up with Google anymore than I already have

fell, to programming
@fell@ma.fellr.net avatar

Post your latest commit message. I'll start:

> 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.

#c

konstantin, to rust
@konstantin@social.headbright.eu avatar

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 🥰.

galdor, to random
@galdor@emacs.ch avatar

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".

Just bad design.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • rosin
  • Youngstown
  • mdbf
  • ngwrru68w68
  • slotface
  • khanakhh
  • ethstaker
  • everett
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • magazineikmin
  • anitta
  • osvaldo12
  • InstantRegret
  • Durango
  • cisconetworking
  • modclub
  • cubers
  • GTA5RPClips
  • tester
  • normalnudes
  • Leos
  • provamag3
  • megavids
  • lostlight
  • All magazines