home.social

#cranelift — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cranelift, aggregated by home.social.

  1. 📅 In an absolutely riveting journey through the Go compiler's underbelly, one brave soul dares to wade through the treacherous swamps of *source code* to reveal that—surprise—documentation is apparently optional in 2024 🧐. Meanwhile, #LLVM and #Cranelift sip tea as they bask in their luxurious piles of clear, accessible #documentation 📜💁‍♂️.
    vnmakarov.github.io/2024/09/24 #GoCompiler #SourceCode #HackerNews #ngated

  2. this I think is the final missing piece to have an entire toolchain written in Rust, others being compiler (rustc and cranelift) and platform access things (rustix and eyra/mustang)

    fosstodon.org/@rustnl/11467593

    #cranelift #rustc #rustlang

  3. Managed to have local variables using cranelift but I hit a limitation of debuggers and DWARF and formal parameters found in registers.

    I may try consider pessimising the code when enabling debug support if I don't manage to identify the call sites.

    #pasko #cranelift #debugging #compilers

  4. Woah!

    (I need to improve the locations, it jumps like crazy all around the place 😅 . The garbled terminal is caused by gdb's tui not liking input / output)

    #pasko #debugging #debugger #gdb #cranelift

  5. More hacking with cranelift.

    Making better use of `Variable`s for better code generation and also extending the dump code so I can see what value maps to each source variable.

    #cranelift #pascal #pasko

  6. I learned yesterday how to annotate the IR dumps so less guessing is required when looking at them now.

    #cranelift #rustlang #pascal #pasko