<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>New Features on PlumePHP</title><link>https://plumephp.com/tags/new-features/</link><description>Recent content in New Features on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 10 Jun 2024 11:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/new-features/index.xml" rel="self" type="application/rss+xml"/><item><title>Go 1.24 新特性：持续进化的 Go</title><link>https://plumephp.com/83-go-1.24-features/</link><pubDate>Mon, 10 Jun 2024 11:00:00 +0800</pubDate><guid>https://plumephp.com/83-go-1.24-features/</guid><description>&lt;h1 id="go-124-新特性持续进化的-go"&gt;Go 1.24 新特性：持续进化的 Go&lt;/h1&gt;
&lt;p&gt;2024 年 8 月，Go 1.24 正式发布。这是 Go 语言诞生 15 年来的又一个&amp;quot;稳步前行&amp;quot;的版本。&lt;/p&gt;
&lt;p&gt;如果说 Go 1.23 的迭代器是&amp;quot;重大突破&amp;quot;，那 Go 1.24 就是&amp;quot;精雕细琢&amp;quot;。这个版本没有改变语言的核心语法，但在标准库、性能、工具链方面做了大量改进。&lt;code&gt;weak&lt;/code&gt; 包的引入让弱引用终于有了官方支持，&lt;code&gt;net/http&lt;/code&gt; 的增强让标准库的路由能力更上一层楼，PGO 的成熟让性能优化变得更加自动化。&lt;/p&gt;</description></item><item><title>Go 1.22 新特性：range over integers 和 math/rand/v2</title><link>https://plumephp.com/81-go-1.22-features/</link><pubDate>Sat, 20 Jan 2024 09:30:00 +0800</pubDate><guid>https://plumephp.com/81-go-1.22-features/</guid><description>&lt;h1 id="go-122-新特性range-over-integers-和-mathrandv2"&gt;Go 1.22 新特性：range over integers 和 math/rand/v2&lt;/h1&gt;
&lt;p&gt;2024 年 2 月，Go 1.22 正式发布。这是 Go 语言进入第 15 个年头后的第一份&amp;quot;新年礼物&amp;quot;。&lt;/p&gt;
&lt;p&gt;如果你以为这又是一个&amp;quot;修修 bug、调调性能&amp;quot;的小版本，那你可能会大吃一惊。Go 1.22 带来了几个让社区讨论热烈的改动——&lt;code&gt;for range&lt;/code&gt; 终于支持整数了，&lt;code&gt;math/rand&lt;/code&gt; 终于有了 v2 版本，&lt;code&gt;net/http.ServeMux&lt;/code&gt; 终于能按 HTTP Method 路由了。&lt;/p&gt;</description></item></channel></rss>