ponyc
ponyc copied to clipboard
Pony is an open-source, actor-model, capabilities-secure, high performance programming language
Opening apology: this is a much-reduced version of a solution to Advent of Code's 2019 day 7 puzzle, which is hard to explain in a vacuum but comes down to...
Reduces `sizeof(struct asio_event_t)` from 48 bytes to 40 bytes on 64-bit x86 Linux/FreeBSD. The `noisy` field was talking up 3 bytes due to aligment of the following 64-bit value `nsecs`...
This is a first step towards getting FreeBSD back on the same version as our other supported operating systems.
* The build failed due to `-Werror` turning a `-Wunused-but-set-variable` warning into an error. * The newer version of googletest / benchmark don't exhibit this problem. Actually, only one of...
[UDPSocket.create](https://stdlib.ponylang.io/net-UDPSocket/#create) stores a copy of the local `sockaddr`, but then calls `map_any_to_loopback` in `pony_os_sockname`, which converts `INADDR_ANY` to `INADDR_LOOPBACK` (and the equivalent for IPv6). This results in an incorrect value...
There's some method level documentation but the class level where we should have lots of example code etc is just: `Strings don't specify an encoding`
This code presented by @ergl in Zulip demonstrates a data race where the update to change the last character to '?' can be observed in the ArrayGrower actor within undefined....