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
ur5us has quit [Ping timeout: 248 seconds]
Sankalp- has joined #crystal-lang
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp- is now known as Sankalp
jhass has quit [Ping timeout: 252 seconds]
jhass has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 248 seconds]
_ht has joined #crystal-lang
_ht has quit [Quit: _ht]
quazimodo has quit [Ping timeout: 252 seconds]
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #crystal-lang
ur5us has joined #crystal-lang
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp- has joined #crystal-lang
Sankalp- is now known as Sankalp
ur5us has quit [Ping timeout: 255 seconds]
greenbigfrog has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang
greenbigfrog has joined #crystal-lang
ur5us has quit [Ping timeout: 248 seconds]
Sankalp- has joined #crystal-lang
Sankalp has quit [Ping timeout: 246 seconds]
Sankalp- is now known as Sankalp
<FromGitter> <mekhla18> Hello wonderful community members, ⏎ ⏎ Hope you're all doing great and healthy! ⏎ I am Mekhla Mukherjee from Mumbai, Maharashtra in India, the land of food, culture and immense diversity. I have recently joined Manas as the Community Manager for Crystal and I would like to take this opportunity to introduce myself to this amazing community. ⏎ ... [https://gi
<FromGitter> ... tter.im/crystal-lang/crystal?at=63e10aec480b726318b0a2cf]
<FromGitter> <vector1dev:vector1.dev> Hi!
<mps> anyone have idea why the new ameba 1.4.0 binary is much bigger than previous release 1.3.1?
<mps> 1.3.1 is about 2.8M while 1.4.0 is about 8M
<mps> M - Megabytes
<FromGitter> <Blacksmoke16> maybe was built with debugging symbols instead of stripping them
<mps> it is stripped in both cases
jmdaemon has quit [Ping timeout: 246 seconds]
<FromGitter> <Blacksmoke16> did you get the binary from somewhere, or build it yourself?
<mps> here is MR I created and some comments for alpine https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/43889
<FromGitter> <Blacksmoke16> could be a diff in LLVM version too
<mps> crystal 1.7.2 is built with LLVM 14 in both cases
<FromGitter> <Blacksmoke16> dunno yea
<FromGitter> <Blacksmoke16> kinda strange
<mps> only what I noticed are some new features added, maybe this increase binary
<FromGitter> <Blacksmoke16> hard to say w/o diving into the diff and thats a pita
<FromGitter> <Blacksmoke16> of the IR that is
<mps> is the ameba author maybe here
<FromGitter> <Blacksmoke16> \cc @veelenga
<FromGitter> <veelenga> > *<mps>* anyone have idea why the new ameba 1.4.0 binary is much bigger than previous release 1.3.1? ⏎ ⏎ maybe because we embedded formatter https://github.com/crystal-ameba/ameba/pull/326. However, it was measured and the increase was 77 KiB (see the comments)
<mps> veelenga>: not much I understand. formatter added this increase in size?
<FromGitter> <veelenga> yes, I need to test, but in my understanding, it could be. Basically Ameba binary now requires part of crystal's formatter and it is quite big. ⏎ ⏎ However, you can reduce the binary size if you build with `--release` flag: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=63e120426fc5ff38e44e82bc]
<mps> yes, we build ameba with '--release' for long
<mps> ah, found it, have to add 'make CRFLAGS="--release" install PREFIX="$pkgdir/usr"' in package() build function
<FromGitter> <ober> and also strip(1)
<mps> ober: alpine build system automatically do strip if it is not explicitly disabled
<FromGitter> <ober> gotcha. not like libmusl is fat
<mps> yes, binaries built with musl are not so big but anyway striping debug symbols make them smaller, which is good to have smaller usage of disk
<mps> at the end alpine moto is 'simple, small, secure' ;)
<mps> or trying to be at least
Vexatos has quit [Remote host closed the connection]
Vexatos_ has joined #crystal-lang
jmdaemon has joined #crystal-lang
alexherbo2 has joined #crystal-lang
ur5us has joined #crystal-lang
jmd_ has joined #crystal-lang
mps_ has joined #crystal-lang
jmdaemon has quit [*.net *.split]
mps has quit [*.net *.split]
mps_ is now known as mps
quazimodo has joined #crystal-lang