shortridge, to llvm
@shortridge@hachyderm.io avatar

an LLVM to Excel spreadsheet compiler, truly what dreams are made of: https://belkadan.com/blog/2023/12/CellLVM/

it also reminded me of my investment banking days when I would crash Excel with iterative calculations (“brøether clippë may I have the lööps”)

ty for this gift to the world @jrose and P.S. I want to see the CSV alignment chart 👀

#compilers #llvm #excel

vmbrasseur, to llvm
@vmbrasseur@social.vmbrasseur.com avatar

Looking for a new gig?

How about Program Director at the Foundation?

Give it a look:

https://virtualinc.applicantpool.com/jobs/999845.html

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/

bsletten, to technology
@bsletten@mastodon.social avatar

This is huge. I’ve been bullish on RISC-V from the beginning but this is happening even faster than I expected. Between IT Sovereignty and geopolitics involving access to global supply chains, hyperspecialization of algorithms to hw, etc., it’s about to get really interesting.*

We’re one generation from the tech hacking culture of cyberpunk fiction.

  • HW heterogeneity will be mediated by LLVM and WebAssembly.

https://www.tomshardware.com/pc-components/cpus/former-silicon-valley-vets-create-risc-v-microprocessor-that-can-run-cpu-gpu-and-npu-workloads-simultaneously

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

grinn, to emacs
@grinn@emacs.ch avatar

I'm still hopeful clang-format-indent-mode will eventually be accepted into the LLVM project, but for now you can try it out as a separate package:

https://gitlab.com/grinn.amy/clang-format-indent

If you are using clang-format in any of your projects, this might be useful to apply complex .clang-format rules as you type rather than after-the-fact.

Here's the pull request:

https://github.com/llvm/llvm-project/pull/78904

#emacs #llvm #clang

clang-format-indent package usage demo.

fj, to llvm
@fj@mastodon.social avatar

Learn about “-fbounds-safety”, enforcing bounds safety in production C code. #LLVM
https://www.youtube.com/watch?v=RK9bfrsMdAM

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

jplehr, to llvm

We just released 18.0-0 -- our based compiler for .

Go get your copy at https://github.com/ROCm-Developer-Tools/aomp/releases/tag/rel_18.0-0

openmp_arb, to hpc French
@openmp_arb@mast.hpc.social avatar
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?

mattpd, to llvm
@mattpd@mastodon.social avatar

How single-iteration InstCombine improves LLVM compile time
https://developers.redhat.com/articles/2023/12/07/how-single-iteration-instcombine-improves-llvm-compile-time
by Nikita Popov

llvm, to llvm
@llvm@fosstodon.org avatar

revng is a static binary translator. Given a input ELF binary for one of the supported architectures (currently i386, x86-64, MIPS, ARM, AArch64 and s390x) it will analyze it and emit an equivalent LLVM IR. To do so, revng employs the QEMU intermediate representation (a series of TCG instructions) and then translates them to IR.

https://github.com/revng/revng

dneto, to llvm
@dneto@mastodon.gamedev.place avatar

So the thing about LLVM IR is, in reality it's a family of accidental and informally defined dialects. Every LLVM-based compiler for a particular machine target refines the input module down to its own idiosyncratic dialect.

Consequently there's way more latitude for confusion and bugs than you'd initially guess.

Try using an i65 type in an x86 backend. When I did that years ago it sailed right through and generated nonsense code.

mattpd, to llvm
@mattpd@mastodon.social avatar

2023 LLVM Developers' Meeting Trip Report by Henrich Lauko
https://xlauko.github.io/2023/11/10/llvm-dev-met.html

jperkin, to llvm
@jperkin@federate.me.uk avatar

So unfortunately #LLVM 17 has hit #pkgsrc, which means I need to turn off support for the full LLVM suite in #clang on #illumos

We offered to provide build hosts and maintain support, but upstream weren't interested, and removed all of the code.

Given it was working absolutely fine, this is a real shame. Especially as I spent a significant chunk of time getting it working.

It'll now have to go back to depending on GCC's libstdc++, and I'll work on avoiding dependencies on clang where I can.

abcdw, to llvm
@abcdw@fosstodon.org avatar

I have half an hour trip to climbing gym and back 3 times a week. Not to waste this time I take my laptop with downloaded materials with me and watch courses.

Previously it was OCaml course, now it is Advanced Compilers course:
https://www.cs.cornell.edu/courses/cs6120/2023fa/self-guided/

#llvm #gcc #compilers #scheme #racket #guile #lisp #clojure

mre, to rust
@mre@mastodon.social avatar
orhun, to rust
@orhun@fosstodon.org avatar

Here is how you can view the assembly of your Rust code! 😍

🦀 cargo-show-asm: displays the Assembly, LLVM-IR, MIR and WASM generated for Rust code.

⭐ GitHub: https://github.com/pacak/cargo-show-asm

🐧 Packaged for Arch Linux: https://archlinux.org/packages/extra/x86_64/cargo-show-asm/

video/mp4

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

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

It took me days to debug this, but I'm finally one step closer to supporting Arm64EC on : https://github.com/rust-lang/rust/pull/123467

Unfortunately there's one more fix needed in so it may take a little while longer yet...

pitrh, to llvm
@pitrh@mastodon.social avatar
calebjasik, to llvm
@calebjasik@mas.to avatar
llvm, to llvm
@llvm@fosstodon.org avatar
omenos, to random
@omenos@fosstodon.org avatar

Back to work on packaging @hare for @fedora, let's see how much I can bang out in a few hours. The resulting artifacts are going to be fairly simple, but not particularly packager friendly. That's a day-2 project.

omenos,
@omenos@fosstodon.org avatar

@hare @fedora @centos Hot off the press, any volunteers willing to test out the latest toolchain build from my COPR? It provides and builds for , , and .

$ dnf copr enable mroche/hare
$ dnf install hare

Some other changes:

  • New cross-compile meta packages for and dependencies.
  • I've created a convenience script, harex, to switch to non-GNU toolsets. Just set HARE_XCOMPILE_TOOLCHAIN to "llvm". User specified env vars will still be respected.
  • 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