许式伟

Go+ 发布 weekly release: v0.7.5

Image

又一周过去了。最近因为忙导致 Go+ 的 Pull Requests 开始出现了一些堆积的情况。争取早点处理完。

这周 Go+ 进展颇多,大部分是 Go 语言的功能支持。比如,defer 的实现在本次 release 做了较大的优化,考虑了各种 corner case 情况下的正确性。当然更重要的是,我们支持了 goroutine。另外,这个版本还实现了 new(Type) 这个 builtin 函数。

上周我们发布了 Go+ 的 REPL 版本:iGo+(即 igop 命令)。本周,Web 版本的 Go+ REPL 如约而至。你可以通过链接 https://repl.goplus.org/ 进行访问。

以下是完整的 Release Notes:

Proposal: smart pointer

See #512. Comments are welcome.

Commands

gop export (ie. qexp)

  • Support auto download modules.

  • Support pkg/... for export all in pkg dir.

Thanks contribution of visualfc ([email protected]).

gop repl (ie. igop)

  • Web version: https://repl.goplus.org/.

Thanks contribution of visualfc ([email protected]), qiukeren ([email protected]).

Defer

Now it is available both in bytecode and golang backend.

Goroutine

Available both in bytecode and golang backend.

Builtins

  • new

Miscs

  • cl: fix array index bug #521.

Thanks contribution of visualfc ([email protected]).

Image