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
octonion has joined #ponylang
<octonion> Hello, is it possible to build a dynamic shared library (vs static) with ponyc?
<SeanTAllen> Sorry, I dont understand octonion. Build a dynamic shared library?
<SeanTAllen> What are you doing?
<octonion> Yes, you can build a static shared library with ponyc --library i.e. a *.a archive, but I'd like to compile to a dynamic *.so shared library.
<SeanTAllen> No such option exists with the compiler. I'm curious what your usecase for that would be
<octonion> It's just for my own learning
<octonion> Thanks for your answer!
octonion has quit [Quit: Page closed]
<SeanTAllen> you're welcome
jemc has quit [Ping timeout: 248 seconds]
<brainpro1> allocation in pony hits hard
brainpro1 is now known as brainproxy
<SeanTAllen> brainpro1?
<brainproxy> just messing around w/ the access example
<SeanTAllen> ok. if you have a question, we'll be here.
<brainproxy> was seeing how far I could take things, e.g. a billion Mathematicians
<brainproxy> anyway, once I got rid of allocations, then even a billion is pretty snappy
<brainproxy> but had to do things like not use lambda, and use a single Mathemetician instance to which I was sending a billion messages
<brainproxy> vs. creating a billion Mathematicians
<brainproxy> anyway, it just drove home the point from the tutorial about being mindful of allocations
<SeanTAllen> a billions is quite a few actors.
<brainproxy> well even when I went to the single actor
<brainproxy> all the lambda allocations also caused massive jump in mem usage
<SeanTAllen> ya, every lambda is an object. which has to be allocated and then eventually freed and the pool allocator will generally hold on to that memory.
<brainproxy> btw, this may be a known thing, but I ended up needing to do my experiments in a linux container on macOS as native seemed to start choking at much lower numbers
<brainproxy> choking not w.r.t. mem usage, but just taking a looong time to run
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #ponylang
acarrico has quit [Ping timeout: 264 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
jbk_ is now known as jbk
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
hateful_moron has joined #ponylang
<hateful_moron> Hello, how do I assign 0 (literal) to a variable of generic 'Int' type? https://pastebin.com/c7rvyHub
<hateful_moron> or of a union type like [T: (I32 | I64)]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
<hateful_moron> I could get it to work by doing 'var x = I32(0) as T', is there a more idiomatic way of doing this? (not having the possibility of raising an error)
gokr has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
hateful_moron has quit [Quit: Page closed]
hateful_moron has joined #ponylang
vaninwagen has joined #ponylang
khan has quit [Quit: khan]
aturley_ has joined #ponylang
brainpro1 has joined #ponylang
aturley has quit [Ping timeout: 240 seconds]
brainproxy has quit [Ping timeout: 260 seconds]
<Candle> hateful_moron: I've used T.from(<literal>) for the generic case.
<hateful_moron> Thanks for the reply
aturley_ has quit [Quit: aturley_]
aturley has joined #ponylang
hateful_moron has quit [Quit: Page closed]
acarrico has joined #ponylang
gokr has quit [Ping timeout: 256 seconds]
<vassilvk> Hi all! I am looking for some ballpark info regarding milestones and planned releases for ponylang/ponyc. For example, what is the next planned release? Is it 0.21.4 or is it 0.22.0, what is expected to be included in it, are there any planned release dates yet, etc. I found https://github.com/ponylang/ponyc/issues/424, but I can't tell what decision was made regarding maintaining a road map.
<SeanTAllen> there will be a new release coming soon that is dependent upon my having time to
<SeanTAllen> 1) go through the changelog of unreleased items and work out the documentation to help people with breaking changes
<SeanTAllen> 2) actually do the release
<SeanTAllen> i intended to do last weekend and didnt have time
<SeanTAllen> i probably wont have time to do all that this weekend either
<vassilvk> Thanks SeanTAllen
<SeanTAllen> you're welcome
endformationage has joined #ponylang
gokr has joined #ponylang
gokr has left #ponylang [#ponylang]
vaninwagen has quit [Ping timeout: 260 seconds]
nisanharamati_ has joined #ponylang
nisanharamati_ is now known as nisanharamati
nisanharamati has quit [Client Quit]
nisanharamati has joined #ponylang
jemc has joined #ponylang
_andre has joined #ponylang
jemc has quit [Ping timeout: 250 seconds]
jemc has joined #ponylang
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
jemc has quit [Ping timeout: 246 seconds]
droman has joined #ponylang
khan has quit [Read error: Connection reset by peer]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
gokr has joined #ponylang
vaninwagen has joined #ponylang
droman has quit [Quit: WeeChat 2.1]
droman has joined #ponylang
vaninwagen has quit [Quit: WeeChat 2.1]
_andre has quit [Quit: leaving]
nisanharamati has quit []
gokr has quit [Ping timeout: 240 seconds]
gokr has joined #ponylang
jemc has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
droman has quit [Quit: WeeChat 2.1]
khan has quit [Quit: khan]
khan has joined #ponylang