Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

(sorry, i am once again venting about ANGLE… but this may as well be about LLVM or <insert large, Google-sponsored project here>)

1 replies β†’
1 replies

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Wait LLVM is actually easy to build though, all you really need is CMake and a bit of patience

Saagar Jha

(replying to Saagar Jha)
@hikari Ok to be fair its source code is very large and it takes a while but like on the hierarchy of how much things suck there’s like

* ./configure && make && sudo make install
* Some simple custom build script
* CMake
* Download the internet

and LLVM is in category 3

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar yeah I completely agree (https://social.noyu.me/@hikari/statuses/01H5HXKCVRJWEY246KSV4XXR5A). an LLVM checkout may be at least 2GB in size and it might take an hour to build, but it is a single git repo, uses a normal build system, and is at least partially modular, so it's not too bad. i've worked on multiple projects that integrate it

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

@saagar also LLVM has this amazing thing called OFFICIAL BINARY RELEASES that Google have never heard of

1 replies β†’
1 replies

Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Binaries? You mean the things that exist to run on servers?

Kanbaru 🌟 (one hikari of too many)

(replying to Saagar Jha)

@saagar facebook voice binaries? you mean the multi-gigabyte blobs we have to use BitTorrent to distribute to our datacentres?

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

@saagar so yeah it was definitely unfair of me to so much as utter LLVM in the same breath as ANGLE or Chromium

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

have any of you noticed how few dependencies touchHLE has, considering all the things it needs to do, and how it can be compiled in less than quarter of an hour even on an underpowered dual-core machine? that's my way of fighting back against compile-time and source-code bloat.

1 replies β†’
1 replies

eater

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari but llvm is a dependency, check mate atheists /s

Kanbaru 🌟 (one hikari of too many)

(replying to eater)

@eater LLVM is not a dependency of touchHLE! I considered using it for reading object files, and I do have a branch somewhere which does use it for that, but I was able to find a much more lightweight alternative

eater

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari rustc can work without llvm?

Kanbaru 🌟 (one hikari of too many)

(replying to eater)

@eater oh i see what you mean, but i don't have to build rustc myself at least

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

Google projects are a special beast though. LLVM has the scale of a Google project but they are not so arrogant as to think that only a Google engineer would want to download or build it.