<SeanTAllen>
carado: we have no plans on removing gc
<SeanTAllen>
imagine if you will that you want to send an immutable copy of a list to 200 different actors, how do you free that? how do you know when to free it? you are going to end up recreating a not very good very of the Pony gc to handle situations like that
<SeanTAllen>
there's nothing to stop you from allocating memory yourself via the C ffi and using it and freeing it yourself.
theodus has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theodus has quit [Ping timeout: 256 seconds]
jemc has quit [Ping timeout: 258 seconds]
theodus has joined #ponylang
theodus has quit [Ping timeout: 256 seconds]
jemc has joined #ponylang
theodus has joined #ponylang
mvzink has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
jemc has quit [Ping timeout: 248 seconds]
jemc has joined #ponylang
jemc has quit [Ping timeout: 248 seconds]
Matthias247 has joined #ponylang
puzza007 has quit [Quit: Connection closed for inactivity]
pcell has joined #ponylang
beaumonta is now known as abeaumont
jemc has joined #ponylang
jemc has quit [Ping timeout: 245 seconds]
unbalanced has joined #ponylang
unbalanced has quit [Ping timeout: 256 seconds]
pcell has quit [Remote host closed the connection]
pcell has joined #ponylang
pcell has quit [Remote host closed the connection]
Onemorenickname has joined #ponylang
<Onemorenickname>
cc carado
<carado>
hi
<carado>
I’m wondering, I’ve got this code in C++ ( http://paste.awesom.eu/sCPa&ln ) which has a virtually-no-overhead generic message-passing bus (global as the generic variable is declared `static` but that’s the only way it’ll compile). is such a thing possible in ponylang, a class or actor with a generic member duplicated for all types with which it is used ?
<carado>
my aim is to have a generic message passer I don’t have to change the code of every time I add a message type, without having to check the type of incoming messages at runtime
jemc has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theo has joined #ponylang
theodus_ has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theo has joined #ponylang
theodus_ has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theodus has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theodus_ has joined #ponylang
theo has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 260 seconds]
theo has joined #ponylang
theodus__ has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theodus_ has quit [Ping timeout: 255 seconds]
theodus__ has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
Onemorenickname has quit [Ping timeout: 240 seconds]
theodus has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has quit [Read error: Connection reset by peer]
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theo has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
theo has joined #ponylang
theodus has quit [Read error: Connection reset by peer]
theo has quit [Read error: Connection reset by peer]
theodus has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
Onemorenickname has joined #ponylang
jemc has joined #ponylang
<SeanTAllen>
Pony has generics
<SeanTAllen>
I'm not sure what you mean by "generic member duplicated for all types with which it is used"