ChanServ changed the topic of #crystal-lang to: The Crystal programming language | | Fund Crystal's development: | GH: | Docs: | Gitter:
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> <> postmodern ( 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> <> 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> <> It is working fine now with a zeroed `Bytes`
notzmv has joined #crystal-lang
taupiqueur has joined #crystal-lang
<FromGitter> <> Scott ( insisting that bytes are not zeroed is no longer conventional wisdom in modern times. the optimization is negligible.
<FromGitter> <> 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]