jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
jemc_ has quit [Ping timeout: 240 seconds]
jemc_ has joined #ponylang
andreaa has quit [Ping timeout: 255 seconds]
jemc_ has quit [Ping timeout: 264 seconds]
circ-user-dqwzu has joined #ponylang
circ-user-dqwzu has quit [Remote host closed the connection]
_andre has joined #ponylang
aav has joined #ponylang
jemc_ has joined #ponylang
steven_is_false has joined #ponylang
<steven_is_false> I heard Pony Lang doesn't have locks but isn't this a lock http://pastebin.com/A4r5fntk ?
steven_is_false has left #ponylang ["ERC Version 5.3 (IRC client for Emacs)"]
<jemc_> steven_is_false: you're right that your snippet will work much like a lock, because the actor acts as a gatekeeper for operations on the data
jemc_ is now known as jemc
<jemc> I still wouldn't really call it one, for a couple reasons
<jemc> one is that any operations on the data will have to happen asynchronously with respect to the caller, so the lock cannot possibly block the calling behaviour of the calling actor
<jemc> another is that, due to the semantics of Pony and the restrictions enforces by the compiler and type system, it's not possible to set up a situation where you're accessing the underlying data in an unsafe way, due to forgetting to use the lock, or misusing it
obadz has joined #ponylang
obadz has quit [Ping timeout: 240 seconds]
amclain has joined #ponylang
Praetonus has joined #ponylang
<aav> at the moment stdout (and stderr) are set to be line buffered if they are not attached to tty. how about making it more flexible?
<aav> or, at least, adding flush() to StdStream
<SeanTAllen> i thought this had come up before but i can't find anything about it in RFCs or ponyc repo. Might have just come up during a development sync. aav this seems like a good candidate for an RFC.
<aav> SeanTAllen: ok. I will come up with the rfc draft
obadz has joined #ponylang
obadz has quit [Ping timeout: 256 seconds]
SparkySparkyBoom has quit [Ping timeout: 240 seconds]
obadz has joined #ponylang
Matthias247 has joined #ponylang
<SeanTAllen> awesome aav
<SeanTAllen> if you have any questions about the RFC process, ping me or jemc
obadz has quit [Ping timeout: 258 seconds]
Praetonus has quit [Quit: Leaving]
_andre has quit [Quit: leaving]
kulibali has quit [Quit: Going offline, see ya! (www.adiirc.com)]
kulibali has joined #ponylang
<aav> SeanTAllen: sure, I will!
aav is now known as aav_away
dougmacdoug has quit [Quit: dougmacdoug]
Matthias247 has quit [Read error: Connection reset by peer]