Last Week in Pony - March 11, 2018
Last Week In Pony is a weekly blog post to catch you up on the latest news for the Pony programming language. To learn more about Pony check out our website, our Twitter account @ponylang, our users’ mailing list or join us on IRC.
Got something you think should be featured? There’s a GitHub issue for that! Add a comment to the open “Last Week in Pony” issue.
Items of note
- Audio from the March 7 Pony Development Sync.
- I’ve been doing some testing on how to improve read performance for
TCPConnection. In particular, related to how
expectis implemented. If you are interested, there’s a repository available with some basic test code: https://github.com/wallaroolabs/pony-network-tests.
Last Week’s Playground
We have one “Last Week’s Playground” submission from MightyAlex200.
My submission is quite simple, but I hadn’t ever seen anything like this in any other language and I thought it was cool that Pony can do this.
This snippet demonstrates adding a method to primtives via trait subtyping that overloads the “not” operator to return a specific primitive.
This allows types to be easily declared as “opposites” of each other
Interested in making a change, or keeping up with changes to Pony? Check out the RFC repo. Contributors welcome!