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
jemc has quit [Ping timeout: 244 seconds]
NhanH has joined #ponylang
bbhoss has joined #ponylang
ericbmerritt has joined #ponylang
Praetonus has quit [Quit: Leaving]
jeremyheiler has joined #ponylang
adamkittelson has joined #ponylang
Perelandric has quit [Ping timeout: 264 seconds]
njbartlett has joined #ponylang
vrand has joined #ponylang
vrand has quit [Ping timeout: 250 seconds]
Dyserna__ has joined #ponylang
Dyserna_ has quit [Ping timeout: 252 seconds]
vrand has joined #ponylang
vrand has quit [Remote host closed the connection]
dynarr has joined #ponylang
c355e3b has quit [Quit: Connection closed for inactivity]
graaff has joined #ponylang
amclain has quit [Quit: Leaving]
<dynarr> why can HashMap.insert() return an error? my first though would be resize fails due to OOM, but then... wouldn't any function that allocated memory be partial? is that actually the case and i missed it?
<njbartlett> dynarr: It looks like in practice it never does return an error. Lines 136-139 of map.pony
<njbartlett> else
<njbartlett> // This is unreachable, since index will never be out-of-bounds.
<njbartlett> error
<njbartlett> end
<dynarr> :S hmm
<dynarr> i created a similar scenario using an iterator (not in a for loop), where i switch on .has_next() but still have to wrap .next() in a try
mcguire1 has quit [Ping timeout: 264 seconds]
<dynarr> i would have expected both of those APIs to return (None | V)
<dynarr> but i guess a match for that isn't really any better than a try block :p
<njbartlett> Oh I think it is
_whitelogger has joined #ponylang
dynarr has quit [Quit: A merry Christmas to all, and to all a good night!]
_whitelogger_ has joined #ponylang
_whitelogger_ has joined #ponylang
_whitelogger has joined #ponylang
dynarr has joined #ponylang
_whitelogger has joined #ponylang
_whitelogger has joined #ponylang
jemc has joined #ponylang
njbartlett has quit [Quit: njbartlett]
runehog_ has joined #ponylang
Candle_ has joined #ponylang
Candle has quit [Remote host closed the connection]
runehog has quit [Ping timeout: 240 seconds]
_whitelogger_ has joined #ponylang
_whitelogger_ has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 240 seconds]
dynarr has quit [Ping timeout: 265 seconds]
dynarr has quit [Ping timeout: 265 seconds]
njbartlett has joined #ponylang
njbartlett has joined #ponylang
Candle_ is now known as Candle
Candle_ is now known as Candle
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #ponylang
_whitelogger_ has joined #ponylang
njbartlett has quit [Quit: njbartlett]
njbartlett has quit [Quit: njbartlett]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #ponylang
_whitelogger_ has joined #ponylang
_whitelogger has quit [Remote host closed the connection]
_whitelogger has joined #ponylang
_whitelogger has joined #ponylang
_whitelogger has joined #ponylang
c355e3b has joined #ponylang
njbartlett has quit [Quit: njbartlett]
Praetonus has joined #ponylang
njbartlett has joined #ponylang
<emilbayes> Im trying to build pony-sodiym, but get this error: http://pastebin.com/rvPk4CCX
<emilbayes> does anyone know what it means?
<emilbayes> Do I have an outdated LLVM or something?
<Praetonus> emilbayes: This is most likely something wrong in the code generator. Could you open an issue on github with your code (if possible reduced to a minimal case), your version of ponyc and your version of LLVM?
<emilbayes> Praetonus: I can try. It's my first time doing anything in Pony though, and I wanted to contribute to pony-sodium, so not sure if I can reduce it
<Praetonus> And one last thing, can you rerun the compiler with the --extfun flag and post the result here?
<emilbayes> Praetonus: get exactly the same output
<emilbayes> Should I try updating my llvm? I think it's fairly recent, but does pony require a certain version?
<emilbayes> arr will try with one of the versions in the readme
<Praetonus> I don't think it's LLVM. From your gist you're using 3.8.0, which we support
<emilbayes> Hmm, I just recompiled HEAD of ponyc too
<Praetonus> The assertion failure talks about AVX. We have unsolved issues with AVX, it's possible you're encountering these
<emilbayes> So should I open an issue? I'm can have a look at the other issues but I'm not sure I'd have a clue if I'd be making a duplicate
<Praetonus> Yes, please open one
<Praetonus> Thanks
<emilbayes> I'll try with the docker version in the meantime
njbartlett has quit [Quit: njbartlett]
njbartlett has joined #ponylang
emancu has joined #ponylang
emancu has quit []
<SeanTAllen> travisgriggs: you can cross compile, we do, its just a little bit of a pain right now.
<SeanTAllen> njbartlett: the problem with (None | V) vs error is that you have to pay the cost of the match on every usage of the None | V which especially in hot paths can be a real perf hit vs error which will almost never happen. A single match is less expensive than a single error but when you start looking at it in bulk, it becomes an issue.
njbartlett has quit [Quit: njbartlett]
njbartlett has joined #ponylang
njbartlett has quit [Quit: njbartlett]
njbartlett has joined #ponylang
dynarr has joined #ponylang
njbartlett has quit [Quit: njbartlett]
njbartlett has joined #ponylang
njbartlett has quit [Quit: njbartlett]
graaff has quit [Quit: Leaving]
montanonic has joined #ponylang
dynarr has quit [Quit: A merry Christmas to all, and to all a good night!]
dynarr has joined #ponylang
dynarr has quit [Quit: A merry Christmas to all, and to all a good night!]
dynarr has joined #ponylang
dynarr has quit [Client Quit]
dynarr has joined #ponylang
montanonic has quit [Ping timeout: 265 seconds]
mcguire1 has joined #ponylang
montanonic has joined #ponylang
dynarr has quit [Quit: A merry Christmas to all, and to all a good night!]
dynarr has joined #ponylang
<runehog_> I'm trying to understand why _TimingWheel is package-private. It's a solid bit of technology (and I'd like to use it for audio-rate timing, i.e. triggered when a certain # of samples have passed rather than via asio events...)
runehog_ is now known as runehog
<runehog> if it's just a matter of missing test coverage, I'd be happy to take that on.
dynarr has quit [Quit: A merry Christmas to all, and to all a good night!]
Praetonus has quit [Quit: Leaving]
dynarr has joined #ponylang