<jokke>@bew: and what if i want to build another project which uses my stdlib as a dep?
Ghost
@ghost~55586c4815522ed4b3e08557
it uses the same "path" logic than require iirc
From IRC (bridge bot)
@FromIRC
<jokke>@bew: ah i see
<jokke> okay, so then it would be <my_lib>/prelude
<jokke> thanks :)
Ghost
@ghost~55586c4815522ed4b3e08557
yes should be ;)
From IRC (bridge bot)
@FromIRC
<jokke> are there any gc libs in crystal in the works?
_
Serdar Dogruyol - Sedo セド
@sdogruyol
nope
From IRC (bridge bot)
@FromIRC
<jokke> dang
Serdar Dogruyol - Sedo セド
@sdogruyol
I'm not aware of any GC written in Crystal
we need one though but not now :P
From IRC (bridge bot)
@FromIRC
<jokke> :)
<jokke> i was pretty impressed when i found out that go has zero C deps
Serdar Dogruyol - Sedo セド
@sdogruyol
writing a GC is tough, not the GC itself though :D
yeah, they've written everything in Go but that took like 3-4 years
From IRC (bridge bot)
@FromIRC
<jokke> yeah
<jokke> even the cryptostuff
<jokke> but i hate go :D
<jokke> i think it's a terrible language
Serdar Dogruyol - Sedo セド
@sdogruyol
heck, they even have image manipulation in go
From IRC (bridge bot)
@FromIRC
<Papierkorb> jokke: My pure crystal GC can't scan the stack yet, so not useful. Had to hack the stdlib a bit though
<jokke> Papierkorb: oh wow!
<Papierkorb> jokke: It's currently not meant to be used outside the boehm-gc lul
Serdar Dogruyol - Sedo セド
@sdogruyol
@Papierkorb open source it please :pray:
what do you use for alloc?
From IRC (bridge bot)
@FromIRC
<Papierkorb>@sdogruyol, when I get to it (cough Qt), and get it to scan stuff like Boehm, it might actually do something useful
<Papierkorb> Simply LibC.malloc() atm. Didn't see a need to switch that out,
<Papierkorb> Not to mention that memory allocation is a beast of its own
Serdar Dogruyol - Sedo セド
@sdogruyol
yeah...
From IRC (bridge bot)
@FromIRC
<jokke> yeah :/
unreadable
@unreadable
Is it possible to remove an value from a named tuple? Couldn't find anything in the docs so I guess no
From IRC (bridge bot)
@FromIRC
<Papierkorb> Though, that'd just be a re-definition of __crystal_malloc(). And if you remember, I do have a stupid and naive memory allocator in Crystal, though that one was meant to be used in a kernel, so it's doing no mmap() stuff as of now
<Papierkorb>@krypton97, no. If you need a mutable structure, don't use an immutable-by-definition structure like NamedTuple. Use Hash instead.