ponyc
ponyc copied to clipboard
Pony is an open-source, actor-model, capabilities-secure, high performance programming language
So here is the log output: ``` 2023-10-04T02:18:21.1675656Z 365 tests started, 365 complete: time/PosixDate complete 2023-10-04T02:18:21.1677854Z /__w/ponyc/ponyc/src/libponyrt/asio/epoll.c:364: pony_asio_event_subscribe: Assertion `b != NULL` failed. 2023-10-04T02:18:21.1678496Z 2023-10-04T02:18:21.1930993Z Backtrace: 2023-10-04T02:18:21.1931759Z /__w/ponyc/ponyc/build/debug-pool_memalign/stdlib-release(ponyint_assert_fail+0x96) [0x555555b42676] 2023-10-04T02:18:21.1932382Z...
The following program will run and output "Final" for each `Foo` actor when run with the cycle detector. When run with `--ponynoblock`, the finalisers aren't run. So there's no output....
This seems related to issue #2784. Following code ([Playground](https://playground.ponylang.io/?gist=5aecac05558b5750700a9c1770e59e97)) ```pony actor Main var _x: U8 new create(env: Env) => while true do _x = 5 break end let y =...
Hi! Pony is an amazing project, it was love at first sight for me. Having tried so many other languages, I can tell you I am having a great deal...
I also have a question about the possibility of using default types referencing other generic types in the same object. [This code](https://playground.ponylang.io/?gist=fda674282d36bf450469cbd706374e06) won't compile. The rest of the code apparently...
[This code](https://playground.ponylang.io/?gist=2030fd008e61a764e00a5747fbe6761d) won't compile: ```pony actor Main new create(env: Env) => env.out.print("Hello") trait Foo[In, Out] fun apply(src: In^): Out^ fun ref into[Into](from: {(Out^): Into^}): Foo[In, Into] => Converter[In, Out, Into](this,...
```pony trait Bar[X] class Foo fun foo[X: Bar[Y->Z], Y, Z]() => None ``` ``` Error: main.pony:4:17: type argument is outside its constraint fun foo[X: Bar[Y->Z], Y, Z]() => None ^...
`ponyc` segfaults when trying to use `match` with a single element tuple destructure form. As expected, it works when you don't use the tuple syntax in the match and with...
We are looking at maybe changing the way that Pony errors work internally. Specifically, we are looking at using return flags (internally) rather than exceptions and LLVM invokes. These changes...
This is an unlikely bug. `ponyint_formattime` uses `strftime` to format a date. We don't know how big of a string we will need, so we allocate 64 bytes and try....