Tag go

30 bookmarks have this tag.

gokrazy is really cool

xeiaso.net/blog/gokrazy
go,linux

Writing safe-to-use Go libraries

blog.orsinium.dev/posts/go/safe-api

The Go standard library is full of bad design choices from the perspective of safety of use.

go

Gio UI

gioui.org

Gio is an open source library for creating portable, immediate mode GUI programs for Android, iOS, Linux, Windows, macOS.

go,gui

riyaz-ali/sqlean.go

github.com/riyaz-ali/sqlean.go

This module provides go bindings for sqlean. It is compatible with the popular mattn/go-sqlite3 driver.

go,sqlite

Backward Compatibility, Go 1.21, and Go 2

go.dev/blog/compat

How Go is kept boring. And they canceled Go 2.

go

Bun: SQL client for Golang

bun.uptrace.dev

Lightweight Golang ORM for PostgreSQL, MySQL, MSSQL, and SQLite

go,sql

humungus - miniwebproxy

humungus.tedunangst.com/r/miniwebproxy

Parses HTML responses and rewrites a simplified light weight version.

Rewrite rules are written in lua using standard CSS selectors.

go,http,lua,smol,web

humungus - humungus

humungus.tedunangst.com/r/humungus

A Mercurial forge. Has a powerful vibe. Supports fo get.

forge,go,mercurial

research!rsc: Coroutines for Go

research.swtch.com/coro

Goroutines are not coroutines! I thought it was a nice pun! It's not!

Russ walks us over the concept of coroutines in other languages and then implements them in Go using goroutines.

Gotta read more thoroughly. I don't really see why we need them.

P. S. Loving how coroutine is shortened to coro. It's how the Francophones shorten laboratorie or whatever to just labo. Adolescent becomes ado. Cool French style!

go,lua,python

Newsqueak: A Language for Communicating with Mice

swtch.com/~rsc/thread/newsqueak.pdf

1994. The language is nicely designed. Nice to see the original goroutines here, as this is a Go predecessor. The rodent theme is old, as it seems. The mice in the title are the computer mice.

go,pdf,programming_language

research!rsc: Storing Data in Control Flow

research.swtch.com/pcdata

Oh, that's how I should refactor Mycomarkup. Perfect.

go,programming

Как установить расширение для SQLite

antonz.ru/install-sqlite-extension

Антон Жиянов рекламирует свой новый реестр. Там показано, как расширение в Го подключить, может пригодиться потом.

go,sqlite

rrivera/identicon: Open source avatar generator inspired by GitHub avatars.

github.com/rrivera/identicon

Open source avatar generator inspired by GitHub avatars. - rrivera/identicon: Open source avatar generator inspired by GitHub avatars.

go,identicon

Rust Module System Encourages Poor Practices (Comparing to Go) [Dmitry Frank]

dmitryfrank.com/articles/rust_module_system_encourages_bad_practices

Go Go!

go,rust

~mariusor

git.sr.ht/~mariusor

This person develops tools for the Fediverse in Go.

fediverse,go

go-lemmy

gitea.elara.ws/Elara6331/go-lemmy

Go bindings to the Lemmy API, automatically generated directly from Lemmy's source code using the generator in cmd/gen.

fediverse,go,lemmy

Go is not an easy language

www.arp242.net/go-easy.html

Go is not an easy programming language. It is simple in many ways: the syntax is simple, most of the semantics are simple. But a language is more than just syntax; it’s about doing useful stuff. And doing useful stuff is not always easy in Go.

XahLee сказал:

the best languages to learn today for the next 20 year are: golang, PowerShell, Mathematica.

Про голянг понятно. Про остальное:

PowerShell or the pwsh, is far better shell than bash and unix bag friends.
Mathematica, is the programing language far beyond any other in the computing industry. A magnitude beyond all existing. It is more than a programing language, because it is really a computational knowledge base. Asides from math functions, such as solving equations or integration symbolically and hundreds other special math functions only a handful mathematician understands, it also embodies just about every practical algorithm in computer science. So, given a algorithm, you might write it in lang X for a hour or days, but Mathematica has it as part of the language, just call a function. Mathematica has few thousand functions builtin, not even needing to load a library.

🍄: Мне нравится, когда люди хорошо говорят о Мафематике. Мне она тоже нравится. Хочу как-нибудь лицензию получить... Говорят, с малиной π в комплекте идёт 🤔

go,mathematica

ksimka/go-is-not-good: A curated list of articles complaining that go (golang) isn't good enough

github.com/ksimka/go-is-not-good

A curated list of articles complaining that go (golang) isn't good enough

Not maintained since 2017. Nevertheless, the list is huge!

go

How the Go runtime implements maps efficiently (without generics) | Dave Cheney

dave.cheney.net/2018/05/29/how-the-go-runtime-implements-maps-efficiently-without-generics

I get the impression that a map can only hold 64 values from this text, but this is not true. How does it work?

go

Lies we tell ourselves to keep using Golang

fasterthanli.me/articles/lies-we-tell-ourselves-to-keep-using-golang

A wonderful read

go

My Thoughts About Go - sulami's blog

blog.sulami.xyz/posts/my-thoughts-about-go

TL;DR* It feels boring, it feels old, and as a consequence overly laborious. As a general purpose language, I feel D does the job a lot better.

go

Are you a Go black belt? — Bitfield Consulting

bitfieldconsulting.com/golang/black-belt

The author applies the belts from martial arts to Go knowledge. I have the green one.

go

The Zen of Go | Dave Cheney

dave.cheney.net/2020/02/23/the-zen-of-go

The author applies the Zen of Python to Go and tells us how Go programs should be written. This is a well-written article.

go,python

Любопытный, но довольно бесполезный пример полиморфизма в Go

t.me/teamerlin/6483
go

Go is a great programming language

drewdevault.com/2021/04/02/Go-is-a-great-language.html

Perhaps the matter I most appreciate Go for is its long-term commitment to simplicity, stability, and robustness. I prize these traits more strongly than any other object of software design. The Go team works with an ethos of careful restraint, with each feature given deliberate consideration towards identifying the simplest and most complete solution, and they carefully constrain the scope of their implementations to closely fit those solutions. The areas where Go has failed in this regard are frightfully scarce.

go

gopherdata/gophernotes: The Go kernel for Jupyter notebooks and nteract.

github.com/gopherdata/gophernotes

Gophernotes is a Go kernel for Jupyter notebooks and nteract. It lets you use Go interactively in a browser-based notebook or desktop app. Use gophernotes to create and share documents that contain live Go code, equations, visualizations and explanatory text. These notebooks, with the live Go code, can then be shared with others via email, Dropbox, GitHub and the Jupyter Notebook Viewer. Go forth and do data science, or anything else interesting, with Go notebooks!

go

The right way to use go-sqlite3

web.archive.org/web/20210423132955/https://foxcpp.dev/articles/the-right-way-to-use-go-sqlite3

SQLite is a wonderful piece of software and it is completely meaningful to use it in a project written in Go even though SQLite itself is in C. Though people has been hitting lots of issues with it, mostly "database is locked" error that seems to appear out of nowhere.

First of all, SQLite allows concurrent readers but only a single writer. Unlike most places where you may encounter some sort of synchronization SQLite does not wait for the write lock to become available - instead it just returns an error, letting the caller deal with it. This is why you are getting "database is locked" errors.

go,sqlite

Ebitengine - A dead simple 2D game engine for Go

ebitengine.org

Ebiten (/ebíteɴ/) is an open source game library for the Go programming language. Ebiten's simple API allows you to quickly and easily develop 2D games that can be deployed across multiple platforms.

game_engine,go

Felix Rambles: Using Go despite misgivings

felix.plesoianu.ro/blog/using-go-despite-misgivings.html

And do I need to explain how bad it looks to have GitHub support baked right into your toolchain in 2020? We tried to warn you, folks.

go

Statically compiling Go programs

www.arp242.net/static-go.html

Go creates static binaries by default unless you use cgo to call C code, in which case it will create a dynamically linked binary. Using cgo is more common than many people assume as the os/user and net packages use cgo, so importing either (directly or indirectly) will result in a dynamic binary.

go