TehPenguin, to llvm
@TehPenguin@hachyderm.io avatar

Glad sanity prevailed with this one https://github.com/llvm/llvm-project/pull/90520

Just a reminder that loading dlls from the application directory is not a security vulnerability.

But restricting the search path to System32 for well know dlls is not a bad idea...

mre, to rust
@mre@mastodon.social avatar
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

clang-format-indent package usage demo.

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

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

thelastpsion, to neovim
@thelastpsion@bitbang.social avatar

Thoughts on 3 months of usage (in ):

  • Easy to pick up and read
  • Good libraries
  • Generics
  • No closures
  • Binaries aren't small
  • LSP (pasls) isn't complete, but better than nothing; + really help
  • Docs are frustrating
  • Good forums/community
  • Targets SO MANY platforms (, 32-bit , , , )! More than Rust, Go
  • A lot of historic books and projects

Would I use again? Absolutely yes, without doubt.

tetrislife,

@thelastpsion cool! I haven't used it much instead of C++ but it is great that it doesn't depend on a complicated compiler like or and still does quite well.

ctaylor, (edited ) to cpp
@ctaylor@mastodon.content.town avatar
hywan, to rust
@hywan@fosstodon.org avatar

LLVM CFI and Cross-Language LLVM CFI Support for Rust, https://bughunters.google.com/blog/4805571163848704/llvm-cfi-and-cross-language-llvm-cfi-support-for-rust.

> add LLVM CFI and cross-language LLVM CFI (and LLVM KCFI and cross-language LLVM KCFI) to the Rust compiler as part of our work in the Rust Exploit Mitigations Project Group. This is the first cross-language, fine-grained, forward-edge control flow protection implementation for mixed-language binaries that we know of.

Really interesting project.

#RustLang #llvm #security #safety #ffi

calebjasik, to llvm
@calebjasik@mas.to avatar
llvm, to llvm
@llvm@fosstodon.org avatar
chimera_linux, to llvm
@chimera_linux@floss.social avatar

is this weekend already, and we're having two presentations this time:

the first one in the distributions room: https://fosdem.org/2024/schedule/event/fosdem-2024-2524-2023-in-chimera-linux/

but also, a related talk in the room is also happening: https://fosdem.org/2024/schedule/event/fosdem-2024-2555-building-a-linux-distro-with-llvm/

come check them out

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

The next piece of Arm64ec for was just put in place, just in time for the 18 fork: https://github.com/llvm/llvm-project/pull/79067

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

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 👀

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.
chandlerc, to llvm
@chandlerc@hachyderm.io avatar

Is there a good reason targeting doesn't seem to fold shifts into operands when it would require shifting in multiple operands?

I'm seeing lots of:

lsr xN, xN, #7  
and x?, x?, xN  
...  
and x?, x?, xN  

With no other uses of xN.

Is there a reason to prefer this over:

and x?, x?, xN, lsr #7  
...  
and x?, x?, xN, lsr #7  

While "duplicated", it seems like it would save an instruction at least in decode?

kroc, (edited ) to random
@kroc@mstdn.social avatar

Gosh, I love #Libretto’s so much but they’re basically unobtainium at this point and becoming ever more fragile. https://youtu.be/xfMrqJwuMX8
I like trying to find the balance between minimal and usable in old tech. I have a beautiful Dell X200 which just straddles the line of obsolete and modern as even though it’s an 800MHz PIII it can connect to WiFi and run a browser barely new enough to access the web. #RetroComputing

kroc,
@kroc@mstdn.social avatar

Have you ever tried to compile an old piece of software that first required compiling an old compiler which itself required an old environment that you can't reproduce? #GCC & #LLVM all work within very narrow bands of time, platforms and environments that shift constantly, meaning that the aparant portability of C/C++ is unusable in practice for any non-current OS. #retrocomputing #cpp

itnewsbot, to ArtificialIntelligence
@itnewsbot@schleuss.online avatar

Can Google’s New AI Read Your Datasheets for You? - We’ve seen a lot of AI tools lately, and, of course, we know they aren’t really sm... - https://hackaday.com/2023/12/12/can-googles-new-ai-read-your-datasheets-for-you/

nixCraft, to random
@nixCraft@mastodon.social avatar

If you could code any fictional technology from movies or books, what would it be?

kkarhan,
@kkarhan@mstdn.social avatar

@landley @nixCraft @OS1337 sorry, but I guess until it works I'm stuck woth either or ...

Tho I should move to llvm longterm...

https://landley.net/qcc/

opensuse, to llvm
@opensuse@fosstodon.org avatar

Dive into the latest with @opensuse Tumbleweed! From updates to enhancements, this week's blog covers all the snapshots. Discover the freshest additions, improvements & new version. https://news.opensuse.org/2023/12/08/llvm-sudo-gcc-packages-up-in-tw/

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

gregorni, to python
@gregorni@fosstodon.org avatar

Now who would've thought… And I get people asking what industry standard Python software there is that isn't related to AI…

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

pitrh, to llvm
@pitrh@mastodon.social avatar
opensuse, to opensource
@opensuse@fosstodon.org avatar

Fantastic to see so many responses on the . People are making a difference with to like , , , , , , & so many, many more. 👏👏 https://en.opensuse.org/images/8/82/Usecase2023.pdf

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