gamingonlinux, to random
@gamingonlinux@mastodon.social avatar

What is an actually controversial Linux opinion you hold?

kkarhan,
@kkarhan@mstdn.social avatar

@gamingonlinux This is why Distributions like #AlpineLinux and #ChimeraLinux / @chimera_linux actively remove & replace #GNUtils and work to get #Linux built by #LLVM / #Clang instead of #GCC...

Even I do want to yeet tools out of my workflow...

But @ncommander went into the details re: #RMS!
https://www.youtube.com/watch?v=R2SKenHRhMg

mort, to llvm
@mort@fosstodon.org avatar

It seems literally impossible to get #ClangFormat to not align stuff.

Don't believe me? Take this piece of code and find a clang-format config which doesn't align stuff:

auto getWhateverStmt = db_.stmt(
"SELECT * FROM mytable "
"WHERE k = 2 "
"ORDER BY createdAt").bind();

Feel free to play with it in https://zed0.co.uk/clang-format-configurator/. I literally can not find a way to make it not produce something absolutely ridiculous where the SQL is pushed all the way to the right.

#llvm #cpp #c #programming

SpaceGeek, to ReverseEngineering German
@SpaceGeek@chaos.social avatar

deleted_by_author

  • Loading...
  • kkarhan,
    @kkarhan@mstdn.social avatar

    @SpaceGeek sadly not made by the same person that did the japanese book with on the cover...

    Cuz I know several people - like @fuchsiii - that bought that solely because of it!

    hywan, to ZigLang
    @hywan@fosstodon.org avatar

    Make the main zig executable no longer depend on LLVM, LLD, and Clang libraries, https://github.com/ziglang/zig/issues/16270.

    Interesting move!

    csepp, to til

    that could have been merged into under a license.
    Tbh everyone who is serious about / should learn from the fatal mistake that was the anti-modular-GCC stance of RMS, lest history be repeated.
    https://www.phoronix.com/news/MTU4MzE
    via: https://news.ycombinator.com/item?id=26535789

    surabax, to zig

    Wow, the lead developer of Zig proposed to ditch LLVM: https://github.com/ziglang/zig/issues/16270

    It seems to be a pretty radical change, and not everyone is happy with it. There are users that rely on the C++ interop enabled by LLVM.

    #Zig #ZigLang #LLVM #Cpp #ProgrammingLanguages #Compilers #Programming #Tech #Technology

    openmp_arb, to hpc French
    @openmp_arb@mast.hpc.social avatar
    benjins, to random
    @benjins@mastodon.gamedev.place avatar

    For tools does everyone just use the C++ API? For dealing with bitcode files, IR, or libClang, there seem to be API surface from the C++ version not exposed to C. Folks in C++ can use that API, but

    1. It's less stable afaict
    2. It's not bindable from other languages, e.g. Rust/Python
      Is this just a known issue, or is there some angle I'm not aware of?
    karolherbst, to random
    @karolherbst@chaos.social avatar

    There is an pass I'm interested in: MergeFunctions

    It seems to allow us to cut size of compiled SPIRVs in half. However, it can also end up generating Pointers to Function which we absolutely can't and won't handle.

    Anybody any idea how we could deal with this so we don't end up with any function pointers?

    mgorny, (edited ) to random

    It's one of these days when upstream fixes a very old bug and you suddenly have to figure out how your ancient workarounds used to work and what to replace them with.

    Fortunately, it looks like we just need to replace /usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)/clang with /usr/lib/clang.

    The only problematic part is that the testing of an LLVM bump takes a few hours, and now it's blocked on manual intervention.

    tero, to random
    @tero@rukii.net avatar

    Faster sorting discovered using |

    "Here we show how can go beyond the current state of the art by discovering hitherto unknown routines. To realize this, we formulated the task of finding a better sorting routine as a single-player game. We then trained a new deep agent, , to play this game. AlphaDev discovered small sorting algorithms from scratch that outperformed previously known human benchmarks. These algorithms have been integrated into the standard C++ sort library3. This change to this part of the sort library represents the replacement of a component with an algorithm that has been automatically discovered using reinforcement learning."

    https://www.nature.com/articles/s41586-023-06004-9

    rml, to random
    @rml@functional.cafe avatar

    installation: ~40Gb
    Chez + Nanopass: ~4Mb

    jbzfn, (edited ) to rust
    @jbzfn@mastodon.social avatar

    🦀 The Great Rewriting In Rust
    @akosma

    「 Rust will invariably solve some issues in today’s programming, including security-related trouble such as Heartbleed or the goto fail fiasco of 2014. But Rust will invariably introduce new issues, completely unforeseen as of now. And a new, modern programming language will appear in 2050 or 2060 solving those issues, and the rewrite cycle will begin all over again 」

    https://deprogrammaticaipsum.com/the-great-rewriting-in-rust/

    moffintosh, to random Italian
    @moffintosh@berserker.town avatar

    Turns out 18 gigabytes of RAM + swap isn't enough to compile a debug build of

    moffintosh, to random Italian
    @moffintosh@berserker.town avatar

    Building yet again...

    moffintosh, to random Italian
    @moffintosh@berserker.town avatar

    It has been 0 days since recompiling

    mgorny, to random

    So I was asked to backport a simple patch to libomp-15* (to fix https://bugs.gentoo.org/904511).

    Then it turned out that it doesn't compile with gcc-13, so I've backported another patch.

    Then it turned out that there are test failures now, so I've backported yet another.

    I love how stable software is these days. Bear in mind that 15.0.7 was released in January, so it's not even half a year old!

    mgorny, to linux

    When I search for " developer keys", the first result includes instructions for fetching these keys:

    https://www.gentoo.org/inside-gentoo/developers/

    When I search for " developer PGP keys", I get straight to the Debian key server:

    https://keyring.debian.org/

    So why is finding developers' keys so hard?!

    I can't bump because the only copy of the signing key I could find is on the public Ubuntu keyserver (sigh), and it's expired.

    8bitworkshop, to 8bit
    kbeyls, to random

    I'm hosting an #LLVM #OfficeHours every 2 weeks. Next one is tomorrow Wednesday the 17th, at 9:30am CET, at https://meet.jit.si/KristofBeylsLLVMOfficeHour. Come join me to talk about anything #llvm. More details, see https://llvm.org/docs/GettingInvolved.html#office-hours.

    rml, to random
    @rml@functional.cafe avatar

    I'm just now catching Andrew Whatson's talk on #PreScheme from #fosdem this year, and I just can't get over the fact that he was able to implement a working, reasonably fast systems programming language with Hindley-Milner type inference in his free time over the course of a few months. And I was in the #GuileSteel irc when the discourse first started, it was probably less than a month before he got it working. I even try it then and it seemed great for something that went up that quick. What other programming languages make rapid prototyping #compilers feasible without relying on massive frameworks like #LLVM or #Truffle/#Graal?

    And even then...

    https://fosdem.org/2023/schedule/event/prescheme/

    #guile #guix

    cstrotm, to random
    @cstrotm@mastodon.social avatar
    cstrotm,
    @cstrotm@mastodon.social avatar

    Related: In this video Min talks about his work on creating the m68k backend for LLVM: https://www.youtube.com/watch?v=-6zXXPRl-QI

    mgorny, to llvm

    It's time again to complain about turning your uploaded patches into diffs that can't be git am-ed.

    Seriously, , how can you still force people to use that?!

    mgorny, to random

    Today's #Gentoo #LLVM snapshot looked good until the very last package. Then it turned out that #LLDB doesn't build on GCC anymore.

    https://reviews.llvm.org/D149397#4307764

    mgorny, to random

    So someone made a commit with a future date to #LLVM. As a result, #git now produces a snapshot with dates in the future. Upon running #CMake on files from that snapshot, #Ninja keeps detecting that generated CMake files are older than their sources and rerunning CMake in a loop. Sigh.

    https://github.com/llvm/llvm-project/commit/cb133a4629a56f8c8a67fb7549356839917b52f9

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines