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!

vazub,
@vazub@mastodon.online avatar

@hywan This is a rather expected and natural follow-up to this https://ziglang.org/news/goodbye-cpp/

Eagerly looking forward to seeing this happen as well!

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

amszmidt,
@amszmidt@mastodon.social avatar

@csepp there has never been such a stance, the GCC code base is very modular. This is puff people say who have never worked on GCC, and don’t know how things work.

rml,
@rml@functional.cafe avatar

@csepp what an L

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.

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?
aeva,
@aeva@mastodon.gamedev.place avatar

@benjins I think you have the right of it. I think the popular approaches are to use the C++ library or generate the IR yourself

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

anthk,
@anthk@paquita.masto.host avatar

@rml du -hs on /usr/local/share/chicken:
22M /usr/local/share/chicken/

amszmidt,
@amszmidt@mastodon.social avatar

@rml : Load band ~20MiB, microcode ~100KiB, source tree including QFASLs and multiple versions of everything, plus documentation for everything, etc etc, 200MiB

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/

insanitybit,

@jbzfn @akosma

But Rust will invariably introduce new issues, completely unforeseen as of now

I just don't see why that would be the case, or why there's this idea that there are mystery bug classes that we don't yet understand.

krom,
@krom@fosstodon.org avatar

@jbzfn @akosma super lame excuse 👎

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.

xgqt,

@mgorny

The Gentoo wiki article could aggregate links to other important key(servers) :blobcatgoogly:

  • 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