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
trapped has quit [Read error: Connection reset by peer]
jemc has quit [Ping timeout: 276 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
jemc has joined #ponylang
jemc has quit [Ping timeout: 260 seconds]
jemc has joined #ponylang
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #ponylang
graaff has joined #ponylang
jemc has quit [Ping timeout: 250 seconds]
BrotherLy has joined #ponylang
<BrotherLy> ok would you guys have anything against pull requests that improve compile speed?
Matthias247 has joined #ponylang
copy` has quit [Quit: Connection closed for inactivity]
trapped has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
graaff has quit [Ping timeout: 250 seconds]
graaff has joined #ponylang
<BrotherLy> ponyc /home/pc/ponyc/main.pony
<BrotherLy> Building builtin -> /home/pc/ponyc/packages/builtin
<BrotherLy> Error: internal failure not reported
BrotherLy_ has joined #ponylang
BrotherLy has quit [Ping timeout: 244 seconds]
<SeanTAllen> depends on how that improvement in compile speed were to come about BrotherLy_. We welcome PRs. If something were to improve compile times and have no other impact, it would be accepted. What do you have in mind?
<BrotherLy_> nothing in particular, i was just wondering if you would accept PRs that change a lot of code to improve compile speed
russelldb has joined #ponylang
<SeanTAllen> We are looking to stabilize things and compile speeds are not a primary goal at the moment so "a lot code", probably not. It would be a matter of what are the pros, what are the cons.
jemc has joined #ponylang
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
copy` has joined #ponylang
graaff has quit [Quit: Leaving]
Matthias247 has joined #ponylang
<DanC_> SeanTAllen, I'm translating code from another language (with more complex pattern matching) to monte, and it would be convenient to be able to declare several variables at the beginning of a block and assign to them later.
<DanC_> I would still respect "no access to uninitialized variables"
Matthias247 has quit [Read error: Connection reset by peer]
ponysaurus has joined #ponylang
<ponysaurus> quick one: what's an idiomatic way to get the sizeof, say I64 in bytes?
trapped has quit [Read error: Connection reset by peer]
<ponysaurus> using bitwidth and dividing by 8?
<jemc> ponysaurus: yes, the byte size of an I64 is 64 / 8 (= 8 bytes)
<ponysaurus> i was hoping for something like a.num_bytes()
<ponysaurus> jemc: does it make sense to have something like that?
<ponysaurus> i am testing a writebuffer implementation, and was hoping for a nice way to get the sizeof a number
<jemc> ponysaurus: given the limited number of integer types, it doesn't seem like a big burden to me to use a `match` statement with the types and bytesizes listed out in your code
<jemc> however, given that we also have variable sized native types `ISize`, `USize`, `ILong`, and `ULong` - it may make sense to add a method like you suggest for this reason