Lemmy.World

160,750 readers
6,966 users here now

The World's Internet Frontpage Lemmy.World is a general-purpose Lemmy instance of various topics, for the entire world to use.

Be polite and follow the rules โš– https://legal.lemmy.world/tos

Get started

See the Getting Started Guide

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Liberapay patrons

Join the team ๐Ÿ˜Ž

Check out our team page to join

Questions / Issues

More Lemmy.World

Follow us for server news ๐Ÿ˜

Mastodon Follow

Chat ๐Ÿ—จ

Discord

Matrix

Alternative UIs

Monitoring / Stats ๐ŸŒ

Service Status ๐Ÿ”ฅ

https://status.lemmy.world

Mozilla HTTP Observatory Grade

Lemmy.World is part of the FediHosting Foundation

founded 1 year ago
ADMINS
1
9
submitted 1 year ago* (last edited 1 year ago) by beregoth to c/[email protected]
 
 

Go 1.21 is almost here and as usual, with it is a pile of features and improvements.

I'm looking forward to using the new clear function as well as the new slices and maps packages.

What about you?

2
3
 
 

Overall, a release more for engineering than language. Even the new API's are mainly optimizations, but a large improvement.

4
 
 

Go 1.21 release candidate is available.

It has some interesting changes in my opinion:

  • clear() for clearing maps
  • new slices package for common operations on slices
  • new maps package for cloning and comparing maps

And some somewhat interesting ones:

  • min/max function directly in the language without a package (could have easily been in math package, but then again, you can min/max strings with this?)
  • structured logging package

Some other optimizations and improvements.

What do you think?

5
 
 

Go 1.21 RC released today. Some really interesting new additions. I'm pretty excited to see the map and slice package additions that contain a lot of generic methods. Will be nice not to have to maintain my own going forward.

6
 
 

[ comments | sourced from HackerNews ]

view more: next โ€บ