jdev - 2025-02-24


  1. moparisthebest

    blue: did you get it built with openssl and did it work?

  2. blue

    You overestimate my abilities)

  3. 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.

  4. 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

  5. dwd

    blue, Does gloox exist on Conan? And/or could you Conanize Gloox?

  6. dwd

    blue, Answers: no, and yes of course if you wanted.

  7. dwd

    Conan is quite nice for C++, I find. And it manages to compile OpenSSL from scratch in an almost indecent amount of time.

  8. blue

    Conan is a building system? Never heard of it before

  9. Kev

    It's a build system wrapper for source packaging. Kinda.

  10. Kev

    It's infuriating, and also quite good, and also infuriating, and also quite good.

  11. moparisthebest

    Will C++ decide on a build system before being pushed into total irrelevance by Rust 🍿

  12. Cynthia

    moparisthebest: maybe when rust can be more portable than C/C++

  13. Cynthia

    Kev: have you used meson?

  14. Cynthia

    it has wrap files

  15. moparisthebest

    > moparisthebest: maybe when rust can be more portable than C/C++ Cool so very soon then when gcc-rs is done 🎉

  16. Cynthia

    >done

  17. Cynthia

    hahahahahahaha

  18. Cynthia

    no it's an endless catch-up with the main rust implementation

  19. Cynthia

    anyway meson can also build cmake subprojects as dependencies without any work

  20. Cynthia

    moparisthebest: i like how the community is still having a fight over gcc-rs

  21. Cynthia

    whether gcc-rs is relevant because rustc already does the job

  22. Cynthia

    i believe that LLVM shouldn't have a monopoly if rust wants to progress

  23. moparisthebest

    What fight? It seems to be progressing at lightning speed https://rust-gcc.github.io/2025/02/06/2025-01-monthly-report.html

  24. Cynthia

    https://lwn.net/Articles/991199/

  25. Cynthia

    the comments

  26. moparisthebest

    Rule #1 of the internet is never read the comments

  27. theTedd

    He says, in a comment

  28. Cynthia

    rust is unattractive to me because of the LLVM monopoly

  29. moparisthebest

    And thus, my point is proven

  30. Cynthia

    i'd rather use C/C++ with a wide compiler ecosystem

  31. Cynthia

    than rust with..... just one

  32. moparisthebest

    That's not even the case now, there is mrustc that complies to C, but gcc-rs will be here soon too

  33. Cynthia

    LLVM drops targets like they're hot, and porting it to a platform that isn't widely used... well good luck with that

  34. Cynthia

    moparisthebest: mrustc is meant to be a bootstrapper

  35. Cynthia

    it doesn't even have the full borrow checker

  36. Cynthia

    it's sloppy and only meant to compile rustc

  37. Cynthia

    there is only one usable compiler

  38. 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

  39. 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

  40. Cynthia

    that's like saying "well there's more than just one compiler for C, you can use the obfuscated tiny C compiler"

  41. moparisthebest

    Borrow checker is not related at all to platform support

  42. Cynthia

    borrow checker is literally the most important part of rust

  43. Cynthia

    can you even use mrustc without that?

  44. Cynthia

    like, can you, in production, just use purely mrustc to make rust programs

  45. Cynthia

    i'll put in better terms, can you replace rustc with mrustc

  46. Cynthia

    and use it to make all your rust stuff

  47. 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

  48. Link Mauve

    Every package you can install, you can also read their PKGBUILD, it’s all free software.

  49. 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.

  50. 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.

  51. 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).

  52. 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

  53. Link Mauve

    And tcc, for the same reasons as cranelift.

  54. Link Mauve

    And tcc, for the same reasons as cranelift (but that one only does C, not C++).

  55. 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)

  56. 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.

  57. 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

  58. Link Mauve

    I think LLVM now supports some 16-bit architectures.

  59. Link Mauve

    Sorry for the offtopic, I thought I was in another room. :x