ponyc
ponyc copied to clipboard
Pony is an open-source, actor-model, capabilities-secure, high performance programming language
@seantallen had asked me to create a ticket for discussing a "thundering herd" scheduling problem that I've seen at Wallaroo Labs. For the WL app I was working on, the...
``` Error: /home/shad0wcore/PonyProjects/LearningPony/PrimitivesAndEnumerations/main.pony:45:27: argument not a subtype of parameter ClosedDoor.openIt(_logger) ^ Info: /home/shad0wcore/PonyProjects/LearningPony/PrimitivesAndEnumerations/main.pony:45:27: argument type is this->PrimitiveOutStreamLogger ref ClosedDoor.openIt(_logger) ^ /home/shad0wcore/PonyProjects/LearningPony/PrimitivesAndEnumerations/main.pony:20:14: parameter type is Logger val fun openIt(logger: Logger val)...
`let x: I64 = 1 /0` will result in a compilation error but `let x = I64(1) / I64(0)` and other types will not.
ponyc version: ``` 0.24.0 [release] compiled with: llvm 3.9.1 -- gcc (GCC) 7.3.0 Defaults: pic=false ssl=openssl_0.9.0 ``` source: ```pony actor Main new create(env:Env) => confusing_error_msg() fun confusing_error_msg(): String => var...
Adopt [George Steed's formal model for viewpoint adaptation][steed], including a new syntax for distinguishing between extractive and non-extractive viewpoint types. [steed]: http://www.imperial.ac.uk/media/imperial-college/faculty-of-engineering/computing/public/GeorgeSteed.pdf [RFC 59](https://github.com/ponylang/rfcs/blob/master/text/0059-formal-viewpoint-adaptation.md)
If I have a Pony program with a use statement, all code from other packages will be included in code documentation generation. Running `ponyc mypkg --docs --pass docs` on the...
Why is optimization level hard-coded to `-O3`? https://github.com/ponylang/ponyc/blob/c76e5900a3453c6f922d68a3e78bb6e0dafeb971/src/libponyc/codegen/genexe.c#L361 I’d expect to be able to specify optimization level using CLI argument for `ponyc`.
In #554, the decision was made to add prefixes to exposed runtime functions, with `pony_` for public ones, and `ponyint_` for private ones. Functions used in the standard library (for...
After #2499 was merged, I started seeing some odd errors. I still don't understand the ins and outs of generics in Pony very but I've boiled down an example snippet...
```pony trait X[A: X[A] box] fun f() => P[A](this) class C is X[C box] class D is X[C box] primitive P fun apply[A: X[A] box](a: A) => None ``` This...