Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
__red__
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
__red__
1y ago
So you like languages that treat whitespace as syntax. That's fine, we all have our preferences :D
2.
▲
by
__red__
1y ago
You can do this: try somearray(outofboundindex)? // stuff else errorlog.write("some message") error end Sure you can make it propogate all the way up if you really want, but ugh… what a terribl
3.
▲
by
__red__
1y ago
It's less than a third of the others which are compared. As with all things, we should use the correct language / runtime for the domain problems it's designed to solve. The pony runtime makes other decisions (such as non-pre
4.
▲
by
__red__
1y ago
There's a whole lot of discussion below so I'm just going to tag from here. I think of pony actors in the same way as I think of erlang actors. They have a "mailbox", and when they receive a message, they wake up, execut
5.
▲
by
__red__
1y ago
Pony schedulers default behaviour is as follows: 1. One scheduler per core. 2. Schedulers run one actor behaviour at a time. 3. When a scheduler has an empty work queue, they will steal work from other schedulers. 4. The number of scheduler
6.
▲
by
__red__
1y ago
This is alas the chicken and egg scenario and the most common reason I hear for people not wanting to invest the time in pony. The vast majority of people I discuss it with understand the value and the problems it is designed to solve, but
7.
▲
by
__red__
1y ago
Pony is a strongly typed language. If you want your functions to return an Optional Type, define an Optional Type. For example, the OpenFile API returns you either a valid pony File object, or why it failed (FileEOF, FileBadFileNumber, Fil
8.
▲
by
__red__
1y ago
I'm not sure I understand what you mean by "real-time safe GC algorithms", but pony is not a language that has being a "real time system" as a design goal. This pony paper here describes the pony GC algorithms and c
9.
▲
by
__red__
1y ago
It is not whitespace signficant. That is indented to assist the human reader, not the compiler.
10.
▲
by
__red__
1y ago
TO be clear… The switched because they changed their business focus from one of their products to another. I'm sure we'd all agree that the best language to use is the language the best fits your problem domain. Rust was a better
11.
▲
by
__red__
4y ago
I use pony https://ponylang.io/ as a language - it's an Actor based language with GC where every actor has its own memory and is responsible for its own GC. The main feature is its ability to safely share or move data