@CanLehmann@mastodon.social avatar CanLehmann , to random

Compiler development is very sane and straightforward. /j

ALT
folkertdev , to random

I fixed x86 tail calls in LLVM

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

Tail calls passing structs had been broken since forever, and it made me mad enough to write C++.

It's a little tricky because sometimes it requires shuffling values around on the stack and you have to make sure to not overwrite values you'll need later. This was fixed in the arm backend a while ago, and I was able to port that approach to the x86 backend. The plan is to include this in LLVM 22.

Together with some other changes it seems like guaranteed tail calls in rust might actually, finally happen.

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@mgorny@mastodon.com.pl avatar mgorny , to random Polish

Po emigracji z pol.social wypada się przedstawić, toteż czynię tu .

Jam jest Jezus Michał (czyt. "Jezus, Michał!"), pan twój po trzykroć, i . Mieszkam w okolicy miasta , gdzie z reguły funkcjonuje, więc wyznaję zasadę "każdy powinien mieć sieciówkę" i filozofię . Na koncie mam 38% polskiej sieci normalnotorowej (wg. viaduct.world), ale pracuję nad tym. Przy okazji włóczę się po lasach, i uzupełniam .

W "wolnym" czasie męczę . W roku 2010 wpadłem w pułapkę i dołączyłem do współtwórców dystrybucji . Tam zajmuję się wszystkim po trochu, aczkolwiek główne tematy to , (za jakie grzechy…), . Czekam na .

Obok tego uprawiam retorykę na . Cenię i konkretny . Od kilku lat dręczy mnie , mam też stwierdzone spektrum autyzmu []. A, zapomniałbym — "Nie potrafię ciekawie spędzać czasu" (nie, ja nigdy nie zapominam).

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Orbit a systems level programming language that compiles .sh to LLVM

https://github.com/SIE-Libraries/orbit

#.sh

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@hipsterelectron@circumstances.run avatar hipsterelectron , to random

project gutenberg is so funny

If an individual work is unprotected by copyright law in the
United States and you are located in the United States, we do not
claim a right to prevent you from copying, distributing, performing,
displaying or creating derivative works based on the work as long as
all references to Project Gutenberg are removed.

using the license agreement (which only has weight in copyright regimes like the us) specifically to require distributors to remove references to project gutenberg, in order to avoid a paper trail identifying project gutenberg

hipsterelectron OP ,
@hipsterelectron@circumstances.run avatar

like come on

# Indicates whether the LLVM testsuite is enabled in the build or not. Does<br></br># not execute the tests as part of the build as part of x.py build et al,<br></br># just makes it possible to do `ninja check-llvm` in the staged LLVM build<br></br># directory when doing LLVM development as part of Rust development.<br></br>#llvm.tests = false<br></br>

did no one question "hey why do we need to set these things here in the first place if it doesn't matter and we can just delegate to llvm's existing build system?"? idk

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@shahmishal@mastodon.social avatar shahmishal , to random

My team at Apple is currently hiring for a role that focuses on compiler tools and infrastructure. If you’re interested in this opportunity, please take a look at the job posting here: https://jobs.apple.com/en-us/details/200613714/compiler-tools-engineer?team=SFTWR

@kaixin@snac.bsd.cafe avatar kaixin , to random

Also I am curious about with and , how do you guys manage and possibly ? It took me~5h to compile default flavor on my laptop, I would just assume giants I listed above will take more than 10 hours? I still remember old days when I was using and whenever there was updates for them I had to keep my PC on overnight...But nowadays seems to update more frequently, I dare not to compile few times a month.

@kaixin@snac.bsd.cafe avatar kaixin , to random

Came across this discussion thread about

The llvm "saga"

@itsfoss@mastodon.social avatar itsfoss , to random
@regehr@mastodon.social avatar regehr , to random

here's a smallish proposal that I'm submitting to the US National Science Foundation, today:

https://users.cs.utah.edu/~regehr/fmitf25.pdf

the gist is that I'd like to do substantial upgrades to both the hardware and software side of the online Alive2 web site that the community uses:

https://alive2.llvm.org/ce/

putting this online in case it catches the interest of anyone working for a company that might have some $$ for this sort of thing, since the situation at NSF is grim

@lritter@mastodon.gamedev.place avatar lritter , (edited ) to random

wat

ALT
lritter OP , (edited )
@lritter@mastodon.gamedev.place avatar

ok. nobody on the channel replies. i can find no relevant results on google. this is a complete mystery. either they did something wrong or i did. only thing i can do is try more releases and find the exact point where the .a files got messed up.

johnnysswlab , to random

We debug a performance problem by simulating it on the CPU with -mca, part of @llvmorg .

Have a sneak-peak at what CPU does wile it is executing your program!

https://johnnysswlab.com/performance-debugging-with-llvm-mca-simulating-the-cpu/

@artagnon@mathstodon.xyz avatar artagnon , to random

Thanks to Florian's endless follow-up work, the TypeSanitizer finally landed, and you should be able to do clang -fsanitize=type (should be live on Godbolt tomorrow)! 🎉

https://discourse.llvm.org/t/reviving-typesanitizer-a-sanitizer-to-catch-type-based-aliasing-violations/66092

@chandlerc@hachyderm.io avatar chandlerc , to random

Had a bunch of thoughts about the recent safety stuff, way more than fit in social media post... Blog post story time! (It's a bit of a ramble, sorry about that...)

https://chandlerc.blog/posts/2024/11/story-time-bounds-checking/

@igalia@floss.social avatar igalia , to random

This week is chock full of conference activity for Igalians! Several of us will be attending the WebKit Contributors Meeting in Cupertino, California, which starts today.

Today is also the start of the Summit US in Santa Clara, California, where tomorrow, @asb will give a talk about the current state of development.

ALT
@lritter@mastodon.gamedev.place avatar lritter , to random

trying to insert a layer above s-exprs where we just expose scopes' token stream (similar to how rust does it for syntax macros), which is slightly more complex since we need to generate tokens for indentation changes; and we can't really expose auto-wrapping of single arguments and left-wrapping ; operators since these require arbitrary read-ahead to produce a token in advance, which would defeat the purpose.

but i think this is a good way forward since it's representation independent.

lritter OP ,
@lritter@mastodon.gamedev.place avatar

@breakin i want it to sound like a standard as much as possible

(fun fact: i used to be the only creative guy in the IRC channel; so much so that the project lead approached me to choose a new name for them. after a week i told him i thought that LLVM was already perfect, and artsy names would make it sound like it wasn't a serious project, and that was it ;-)

@ctaylor@mastodon.content.town avatar ctaylor , (edited ) to C++