In my previous post I wrote about llgo and PNaCl. I haven't had much time to play with PNaCl recently, but I have been prodding llgo along. In February, my wife gave birth to our son, Jeremy, so naturally I've been busy. But anyway, let's talk about what has been happening in llgo. Quick, while he's sleeping!
Feature-wise, there's nothing terribly exciting going on. Without getting too boring, what's new is:
- A new "go1.1" branch in the Git repository. The go1.1 branch aims to make llgo compatible with the Go tip, and will replace the master branch when Go 1.1 is released.
- Removed llgo/types (a fork of the old exp/types package), and moved to go/types.
- Updated runtime type representations to match those from gc's tip (thanks to minux for initiating this effort).
- Updated to use architecture-specific size for "int" (same as uintptr).
- Changed function representation to be a pair of pointers, to avoid trampolines/runtime code generation for closures. The rationale is the same as for rsc's proposal for Go 1.1; using runtime code generation limits the environments that Go can run in (e.g. PNaCl).
- A slew of bug fixes and minor enhancements.
The go/types change in particular was not a small one, but llgo came out much better at the end. As of the most recent go/types commits, llgo now passes all of its tests in the go1.1 branch. Now I can get back to implementing features again.
That's about all there is to report. It has been suggested that I set up some milestones in the GitHub project; I will spend a bit of time coming up with what I think are the bare essentials for a 0.1 release, and what would constitute future releases and so on.
One last thing: there's a new(ish) llgo-dev mailing list. If you want to get involved, or just lurk, come and join the party.
Until next time.