-
moparisthebest
blue: did you get it built with openssl and did it work?
-
blue
You overestimate my abilities)
-
Link Mauve
blue, I’m sure you’re able to run ./configure --help, then ./configure again with the relevant option to pick openssl, then make.
-
blue
Not quite, I don't want to run sudo make install so, i either need to make it into arch package or embed it into my cmake project
-
dwd
blue, Does gloox exist on Conan? And/or could you Conanize Gloox?
-
dwd
blue, Answers: no, and yes of course if you wanted.
-
dwd
Conan is quite nice for C++, I find. And it manages to compile OpenSSL from scratch in an almost indecent amount of time.
-
blue
Conan is a building system? Never heard of it before
-
Kev
It's a build system wrapper for source packaging. Kinda.
-
Kev
It's infuriating, and also quite good, and also infuriating, and also quite good.
-
moparisthebest
Will C++ decide on a build system before being pushed into total irrelevance by Rust 🍿
-
Cynthia
moparisthebest: maybe when rust can be more portable than C/C++
-
Cynthia
Kev: have you used meson?
-
Cynthia
it has wrap files
-
moparisthebest
> moparisthebest: maybe when rust can be more portable than C/C++ Cool so very soon then when gcc-rs is done 🎉 ↺
-
Cynthia
>done
-
Cynthia
hahahahahahaha
-
Cynthia
no it's an endless catch-up with the main rust implementation
-
Cynthia
anyway meson can also build cmake subprojects as dependencies without any work
-
Cynthia
moparisthebest: i like how the community is still having a fight over gcc-rs
-
Cynthia
whether gcc-rs is relevant because rustc already does the job
-
Cynthia
i believe that LLVM shouldn't have a monopoly if rust wants to progress
-
moparisthebest
What fight? It seems to be progressing at lightning speed https://rust-gcc.github.io/2025/02/06/2025-01-monthly-report.html
-
Cynthia
https://lwn.net/Articles/991199/
-
Cynthia
the comments
-
moparisthebest
Rule #1 of the internet is never read the comments
-
theTedd
He says, in a comment
-
Cynthia
rust is unattractive to me because of the LLVM monopoly
-
moparisthebest
And thus, my point is proven
-
Cynthia
i'd rather use C/C++ with a wide compiler ecosystem
-
Cynthia
than rust with..... just one
-
moparisthebest
That's not even the case now, there is mrustc that complies to C, but gcc-rs will be here soon too
-
Cynthia
LLVM drops targets like they're hot, and porting it to a platform that isn't widely used... well good luck with that
-
Cynthia
moparisthebest: mrustc is meant to be a bootstrapper
-
Cynthia
it doesn't even have the full borrow checker
-
Cynthia
it's sloppy and only meant to compile rustc
-
Cynthia
there is only one usable compiler
-
moparisthebest
> it doesn't even have the full borrow checker The goalposts, they be a movin' 🎶 enough side chatter from me about this for now ↺
-
Cynthia
> > it doesn't even have the full borrow checker > The goalposts, they be a movin' 🎶 > enough side chatter from me about this for now not goalposts moving because i'm clearly talking about usable compilers
-
Cynthia
that's like saying "well there's more than just one compiler for C, you can use the obfuscated tiny C compiler"
-
moparisthebest
Borrow checker is not related at all to platform support
-
Cynthia
borrow checker is literally the most important part of rust
-
Cynthia
can you even use mrustc without that?
-
Cynthia
like, can you, in production, just use purely mrustc to make rust programs
-
Cynthia
i'll put in better terms, can you replace rustc with mrustc
-
Cynthia
and use it to make all your rust stuff
-
Link Mauve
“16:58:26 blue> Not quite, I don't want to run sudo make install so, i either need to make it into arch package or embed it into my cmake project”, it already has a PKGBUILD, since it’s in ArchLinux: https://gitlab.archlinux.org/archlinux/packaging/packages/gloox
-
Link Mauve
Every package you can install, you can also read their PKGBUILD, it’s all free software.
-
Link Mauve
moparisthebest, Cynthia, for compilation, instead of gcc-rs, I recommend you to check out rustc_codegen_gcc. Where the former tries to reimplement all of the Rust language, the latter just replaces LLVM with libgccjit for codegen.
-
Link Mauve
So it benefits from the entire existing compiler infrastructure, from the parser to the borrow checker, and just uses a different C++ project for the optimization passes and to emit the final assembly.
-
Link Mauve
You also have rustc_codegen_cranelift, which is written in Rust instead of C++, and is way faster at emitting code than both LLVM and libgccjit, at the expense of the speed of the generated code of course (but it still does a bunch of optimizations).
-
Link Mauve
“19:52:28 Cynthia> i'd rather use C/C++ with a wide compiler ecosystem”, err, have you used the other compilers? I’d rather stay with gcc and LLVM and never touch any of the proprietary garbage that exist besides them. v_v
-
Link Mauve
And tcc, for the same reasons as cranelift.✎ -
Link Mauve
And tcc, for the same reasons as cranelift (but that one only does C, not C++). ✏
-
Link Mauve
Oh wow, I still had a mrustc version from five years ago installed on my laptop! o_o % mrustc --version rustc 1.29.100 (mrustc v0.9.0 master:fb2b1202) - Build time: Fri, 22 Nov 2019 00:56:03 +0000 - Commit: fb2b1202e916e2e3f406d03005237b1d2447269f (dirty tree)
-
Link Mauve
And yes, even back then it could build a simple Rust program I had around, which is a given since it could compile rustc which is significantly more complex than that.
-
pulkomandy
(Completely offtopic, but anyways) I was happy to have vbcc to support an architecture that has 16 bit bytes. Llvm won't do it and doing anything in gco seems complicated
-
Link Mauve
I think LLVM now supports some 16-bit architectures.
-
Link Mauve
Sorry for the offtopic, I thought I was in another room. :x