!EjsgbQQNuTfHXQoiax:matrix.org

BQN

907 Members
The BQN array programming language, an APL descendant33 Servers

Load older messages


SenderMessageTime
20 Jun 2024
@_discord_209725348768776192:t2bot.iogluttonousporcupine odd way of counting 20:00:59
@mlochbaum:matrix.orgMarshall So you'll get at least a separate set of intermediate files from the non-Singeli build we make to be able to run Singeli. 20:01:08
@_discord_209725348768776192:t2bot.iogluttonousporcupine and pointless, anyway—who cares how big the binary is 20:01:12
@mlochbaum:matrix.orgMarshall And if we didn't save intermediates for incremental compilation, they wouldn't be counted? 20:01:57
@dzaima:matrix.orgdzaima ah; so essentially 7 copies of compiled CBQN in various parts (for the bootstrap build and final one, separate object files, the incrementally-stored copy (two for the bootstrap one apparently (build/obj2/for_build_tmp is copied to build/obj2/for_build4, not deleted), should fix that), and output binary), the entire .git, and Singeli-generated extremely bloated C code 20:02:08
@rpanades:matrix.orgpanadestein

This is what I got in NixOS with fish

 du -h (readlink -f (which cbqn))
# 1.7M	/nix/store/df4ns33n6fa3h1rw28fjzn31mrfjajkm-cbqn-standalone-0.7.0/bin/BQN
20:02:21
@rpanades:matrix.orgpanadestein1.7 MB 🤩20:02:32
@_discord_209725348768776192:t2bot.iogluttonousporcupine decent proportion of the s7 source tree is optional addons. wouldn't surprise me if chibi were similar. this is measuring arbitrary organisational details 20:02:44
@dzaima:matrix.orgdzaima (no, 8 copies (there end up 3 bootstrap build copies - the for_build* ones, and the one in the incremental data)) 20:04:46
@ecy00:matrix.orgLoneTech I am again surprised at the typical modern bloat. I mean, ClarisWorks and Blender each fit in a floppy when I started using them, and I learned C with compiler, editor, file manager and my project all in a 768KiB RAM disk. 21:08:27
@_discord_156021301654454272:t2bot.ioOlivia Space is cheap and lets you focus on other things, so long as it's not pushing on throughput. 21:10:48
@dzaima:matrix.orgdzaima and now blender is 1.4GB (135MB of main binary, 315MB of python things, 468MB of Cycles (compiled for each GPU supported or something?), and a bunch of other things of course) 21:20:28
@dzaima:matrix.orgdzaima and CBQNs 1.7MB is still rather big (there are some definitely-dead functions in it though due to how Singeli does things (namely, it produces non-static functions, which stay around even if inlined); and not inlining the allocator fast path (and freeing (at which point it'd be cheap to noinline refcount decrement in general)) would probably help some too; and in general not writing code under the goal of having as few non-tail function calls) 21:25:19
@dzaima:matrix.orgdzaima * and CBQNs 1.7MB is still rather big (there are some definitely-dead functions in it though due to how Singeli does things (namely, it produces non-static functions, which stay around even if inlined); and not inlining the allocator fast path (and freeing (at which point it'd be cheap to noinline refcount decrement in general)) would probably help some too; and in general not writing code under the goal of having as few non-tail function calls as possible) 21:25:31
@dzaima:matrix.orgdzaima * and CBQNs 1.7MB is still rather big (there are some definitely-dead functions in it though due to how Singeli does things (namely, it produces non-static functions, which stay around even if inlined); and not inlining the allocator fast path would probably help some too; and in general not writing code under the goal of having as few non-tail function calls as possible) 21:26:06
@_discord_671689100331319316:t2bot.iobrian_e what are "python things"? maybe C libraries that python uses?
I doubt its 315mb of text files of python code... or maybe those cache files it generates?
21:53:02
@dzaima:matrix.orgdzaima 26MB of bin/python3.11, 68MB of python/lib/libpython3.11.a (i.e. python for compiling with static linking; no clue what that could be for), twice (so 136MB), 109MB of site-packages, 20MB of numpy, 55MB of pxr; so not really python code but rather various binary files/libraries 21:58:17
@dzaima:matrix.orgdzaima * 26MB of bin/python3.11, 68MB of python/lib/libpython3.11.a (i.e. python for compiling with static linking; no clue what that could be for), twice (so 136MB), 109MB of site-packages (20MB of numpy, 55MB of pxr); so not really python code but rather various binary files/libraries 21:59:17
@dzaima:matrix.orgdzaima * 26MB of bin/python3.11, 68MB of libpython3.11.a (i.e. python for compiling with static linking; no clue what that could be for), twice (so 136MB), 109MB of site-packages (20MB of numpy, 55MB of pxr); so not really python code but rather various binary files/libraries 22:00:02
@dzaima:matrix.orgdzaima seems to be 47MB of all .py files 22:01:48
@dzaima:matrix.orgdzaima (some of those megabytes may be mebibytes, whtever) 22:02:06
@dzaima:matrix.orgdzaima * (some of those megabytes may be mebibytes, whatever) 22:02:09
@dzaima:matrix.orgdzaima * (some (but probably not all) of those megabytes may be mebibytes, whatever) 22:02:26
@_discord_671689100331319316:t2bot.iobrian_e ok ya that makes sense, in some ways. i guess they just dont worry about space efficiency 22:25:38
21 Jun 2024
@_discord_239772388747640841:t2bot.iokrftdnr Why does blender need numpy? 00:20:10
@dzaima:matrix.orgdzaimablender allows users to write custom python to do stuff, which'll lead to many wanting to numpy, probably00:21:16
@dzaima:matrix.orgdzaimaand I think some/a bunch of built-in things are written in python too00:22:31
@_discord_156021301654454272:t2bot.ioOlivia User scripting 08:44:38
@ecy00:matrix.orgLoneTech well, I guess I've arrived at a point when I sometimes think in BQN? watched a video on an exercise in Haskell and jotted out 5 {+´(+´0=𝕨|⊑+1⊸↓)¨¯1↓↓𝕩} 1+↕6 ... mostly because I didn't remember a Haskell function for monadic ↓. It's simple to write recursively, though. 09:35:09
@ecy00:matrix.orgLoneTechah, there it is. Data.List.tails.09:39:35

There are no newer messages yet.


Back to Room ListRoom Version: 6