ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
deavmi has quit [Ping timeout: 258 seconds]
deavmi has joined #crystal-lang
DeBot has joined #crystal-lang
jhass|off has joined #crystal-lang
straight- has joined #crystal-lang
jhass has quit [Ping timeout: 252 seconds]
DeBot_ has quit [Ping timeout: 252 seconds]
straight-shoota has quit [Ping timeout: 265 seconds]
ua_ has quit [Ping timeout: 265 seconds]
ua_ has joined #crystal-lang
ua_ has quit [Excess Flood]
ua_ has joined #crystal-lang
peer has joined #crystal-lang
<FromGitter> <jrei:matrix.org> postmodern (https://matrix.to/#/@postmodern:matrix.org): a sole UInt8 no, but `Slice(UInt8)` (Bytes) yes
notzmv has quit [Ping timeout: 260 seconds]
casionaut has joined #crystal-lang
<FromGitter> <asterite> Scott: uninitialized syntax is `a = uninitialized Something`. You can't use uninitialized in any place you want, only assign it to some variable.
<FromGitter> <dscottboggs:matrix.org> Is there no simple way to allocate a buffer which live for the life of the program which isnt zeroed? I dont particularly have a reason *not* to zero it, but i also dont have a reason to do so
<FromGitter> <dscottboggs:matrix.org> It is working fine now with a zeroed `Bytes`
notzmv has joined #crystal-lang
taupiqueur has joined #crystal-lang
<FromGitter> <oprypin:matrix.org> Scott (https://matrix.to/#/@dscottboggs:matrix.org): insisting that bytes are not zeroed is no longer conventional wisdom in modern times. the optimization is negligible.
<FromGitter> <dscottboggs:matrix.org> Seems unnecessary but 🤷‍♂️
taupiqueur has quit [Remote host closed the connection]
casionaut has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 245 seconds]
<yxhuvud> Unless the allocation is really huge it wouldn't matter. I suppose it could matter if you allocate something like 20GB upfront, as writing that much memory is a: noticable, and b: forces the linux kernel to actually allocate them, which it does on a lazy basis otherwise.
notzmv has joined #crystal-lang
[R] has quit [Ping timeout: 244 seconds]
[R] has joined #crystal-lang
hightower2 has joined #crystal-lang
deavmi has quit [Ping timeout: 252 seconds]