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
Matthias247 has quit [Read error: Connection reset by peer]
jemc has quit [Ping timeout: 240 seconds]
mvzink has quit [Quit: Lost terminal]
montanonic has quit [Ping timeout: 240 seconds]
<polypus74> jemc: just use this as base frolvlad/alpine-glibc and it runs!!!
montanonic has joined #ponylang
montanonic has quit [Ping timeout: 265 seconds]
Perelandric has quit [Ping timeout: 240 seconds]
dynarr has joined #ponylang
dynarr has quit [Ping timeout: 244 seconds]
devbug has joined #ponylang
devbug has quit [Remote host closed the connection]
polypus74 has quit [Remote host closed the connection]
jemc has joined #ponylang
graaff has joined #ponylang
amclain has quit [Quit: Leaving]
allplayersdd has joined #ponylang
testt has quit [Ping timeout: 248 seconds]
jemc has quit [Ping timeout: 272 seconds]
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ponylang
Matthias247 has joined #ponylang
montanonic has joined #ponylang
montanonic has quit [Ping timeout: 240 seconds]
trapped has joined #ponylang
trapped has quit [Read error: Connection reset by peer]
Matthias247 has quit [Read error: Connection reset by peer]
jemc has joined #ponylang
jemc has quit [Client Quit]
jemc has joined #ponylang
prettyvanilla has quit [Ping timeout: 250 seconds]
prettyvanilla has joined #ponylang
pyon is now known as dtp
rosstuck has joined #ponylang
rosstuck has quit [Ping timeout: 240 seconds]
toblux has joined #ponylang
toblux has quit [Client Quit]
shepheb has joined #ponylang
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
graaff has quit [Quit: Leaving]
montanonic has joined #ponylang
avsej has joined #ponylang
<avsej> hi guys, is there printf() equivalent for pony? I cannot find it in stdlib
jemc has quit [Read error: Connection reset by peer]
montanonic has quit [Ping timeout: 265 seconds]
jemc has joined #ponylang
montanonic has joined #ponylang
jemc has quit [Quit: WeeChat 1.4]
montanonic has quit [Ping timeout: 265 seconds]
jemc has joined #ponylang
montanonic has joined #ponylang
Matthias247 has joined #ponylang
montanonic has quit [Ping timeout: 265 seconds]
montanonic has joined #ponylang
<doublec> avsej: No really. There's 'print' plus string concatenation.
<doublec> avsej: so, env.out.print("Hello " + " world" + somevar.string())
<SeanTAllen> although that concatenation is relatively slow because of extra allocations. see https://patterns.ponylang.org/performance/limiting-string-allocations.html
allplayersdd has quit [Quit: Leaving]
<avsej> doublec, does it also mean that I have to carry env everywhere I need to output something?
<SeanTAllen> no, you need to carry env.out
<SeanTAllen> you dont want to pass `env` around. that gives a lot more access than you want, in particular env.root
<SeanTAllen> you would pass env.out (which is a tag reference to the out actor) to anything that needs write to standard out
<SeanTAllen> if you dont provide access to env.out then you can be assured that other parts of your program wont access it.
<SeanTAllen> they could however bypass that by using C FFI to call @printf, however you can limit FFI access to certain parts of your program to prevent that
<SeanTAllen> hopefully i didnt overload you with too much info. the short version is: supply env.out to anything that needs to print to standard out.
dynarr has joined #ponylang
dynarr has quit [Client Quit]
mvzink has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
<avsej> thank you
<SeanTAllen> you're welcome
<mvzink> how can i associate a docstring with a field? i get a syntax error if i try to do a """-docstring right before a field, but after the class's docstring.
mvzink has quit [Quit: A merry Christmas to all, and to all a good night!]
mvzink has joined #ponylang