☕️ Мерлин заваривает τσάι 🐌
1.11K subscribers
3.52K photos
63 videos
94 files
2.42K links
💊
Download Telegram
Forwarded from oleg_log (Oleg Kovalov)
Такое предчувствие, что все сидят читают release notes #go 1.15 (сужу по чатам и лс)

https://tip.golang.org/doc/go1.15

- vet ругается на string(x)
- неправильный каст интерфейсов
- -spectre если вы параноик
- линкер хорош: 20% faster, 30% less memory
- плагины под osx !
- обрадую вас:sync.Map.LoadAndDelete
- да и всякое по мелочи

Хороший релиз будет.
#TIL

Вот это поворот –– в хускеле и в го полностью аналогичны способы создания типов-псевдонимов и обёрток

data Foo = Foo { getString :: String }
и
type Foo string


newtype Foo = Foo string
и
type Foo struct { string }

type Foo = String
и
type Foo = string
This media is not supported in your browser
VIEW IN TELEGRAM
Это почему я раньше такой злой был? Это потому что у меня дженериков не было!

https://go2goplay.golang.org
Вот такой интернет мне нравится

Gemini is a new application-level internet protocol for the distribution
of arbitrary files, with some special consideration for serving a
lightweight hypertext format which facilitates linking between files.
You may think of Gemini as "the web, stripped right back to its essence"
or as "Gopher, souped up and modernised a little", depending upon your
perspective. Gemini may be of interest to people who are:

* Opposed to the web's ubiquitous user tracking
* Tired of obnoxious adverts, autoplaying videos and other misfeatures
* Interested in low-power computing and/or low-speed networks

Gemini is intended to be simple, but not necessarily as simple as
possible. Instead, the design strives to maximise its "power to weight
ratio", while keeping its weight within acceptable limits. Gemini is
also intended to be very privacy conscious, to be difficult to extend
in the future (so that it will *stay* simple and privacy conscious),
and to be compatible with a "do it yourself" computing ethos. For this
last reason, Gemini is technically very familiar and conservative: it's
a protocol in the traditional client-server request-response paradigm,
and is built on mature, standardised technology like URIs, MIME media
types, and TLS.


https://gemini.circumlunar.space/docs/faq.txt