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

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

rml, to llvm
@rml@functional.cafe avatar
rml, to scheme
@rml@functional.cafe avatar

a month or so ago I posted that the compiler is only 5mb. it turns out that I was wrong, so I want to correct the misinfo.

chez is actually 315kb

rml,
@rml@functional.cafe avatar

@mzan @pfpoitras

Totally, and the framework is a joy to use. While I'm starting to get interested in , primarily because the learning resources are immense, I'm not sure why anyone would choose it except for very low-level matters, or targeting something like SPIRV.

rml, to badminton
@rml@functional.cafe avatar

Nora: an experimental implementation using (the megapass variant of the framework from )

https://github.com/pmatos/nora

justanhpcfella, to llvm

I just finished building + on my dev board! The entire process, from cloning the repo to building, linking, and installing, was all done natively on RISC-V!!

It took about 19 hours of work and 16 hours of having the puny quad-core in-order RISC-V CPU pinned at 100%, but the thing actually built successfully and is compiling and running programs. Insanely impressive stuff.

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/

penryu, (edited ) to random
@penryu@hachyderm.io avatar

The best part about Meetup is how no one wants to use Meetup, and redirects conversations to another site... but don't link to the other site.

I'm looking at Bay Area right now, but they're not the only offender.

rml, to llvm
@rml@functional.cafe avatar

scratch86 is a super fast compiler for MIT #Scratch projects--- it's meaningless to so much as try to compare to the standard Scratch interpreter. scratch86 compiles projects directly to #LLVM IR, and the Scratch standard library is handwritten in C.

https://github.com/alyssarosenzweig/scratch86

CanLehmann, to VHDL
@CanLehmann@mastodon.social avatar

A nice side effect of the new state machine synthesis is that I can now generate nice graphs of the state machines.

Let's look at the blink example from before:

while (1) {
__output_led(0);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
__output_led(1);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
}

It's state machine has 3 states:

  • entry (0): Initial state
  • clock (1): LED off state
  • clock (2): LED on state

CanLehmann, to VHDL
@CanLehmann@mastodon.social avatar

So I started building a high level synthesis tool that compiles LLVM IR to verilog...

It allows you to precisely control timing behavior by inserting clock() statements in your code. Here is a simple blink example:

while (1) {
__output_led(0);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
__output_led(1);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
}

The tool now automatically generates a state machine for this code.

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

penguin42, to llvm
@penguin42@mastodon.org.uk avatar

I'm playing with - trying to follow what it's doing in compiling OpenCL shaders. Now, I've taken the debug IR dump from the AMD driver and written that to a .ll, fed it into llvm's 'llc' program and thrown it --debug (after building my own llvm build). Now just a 36700 line debug file to look at 🙂

hywan, to rust
@hywan@fosstodon.org avatar

Optimizing Rust programs with PGO and BOLT using cargo-pgo, https://kobzol.github.io/rust/cargo/2023/07/28/rust-cargo-pgo.html.

Feedback-directed optimisations made easy with cargo-pgo! Neat.

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

abcdw, to books
@abcdw@fosstodon.org avatar

A book on compilers. Free for personal use:

http://compilerbook.org

I would also like to share Compiling with Continuations, but it's not free available.

Stark9837, to llvm
@Stark9837@techhub.social avatar

I never knew this! is created by the guy behind and . This is just insane, makes me take it more seriously after just reading a few comments about it here on .

Looks great, but it is still closed. Will let you know if I get access.

Just to mess with the other guys: hahhaha made you read a post

https://youtu.be/V4gGJ7XXlC0

fj, to llvm
@fj@mastodon.social avatar

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

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

"I'd like to compile my Rust to C"
"You mean compile some C with your Rust project?"
"You heard what I said..."

https://github.com/JuliaHubOSS/llvm-cbe

gamingonlinux, to random
@gamingonlinux@mastodon.social avatar

What is an actually controversial Linux opinion you hold?

kkarhan,
@kkarhan@mstdn.social avatar

@gamingonlinux This is why Distributions like and / @chimera_linux actively remove & replace and work to get built by / instead of ...

Even I do want to yeet tools out of my workflow...

But @ncommander went into the details re: !
https://www.youtube.com/watch?v=R2SKenHRhMg

mort, to llvm
@mort@fosstodon.org avatar

It seems literally impossible to get to not align stuff.

Don't believe me? Take this piece of code and find a clang-format config which doesn't align stuff:

auto getWhateverStmt = db_.stmt(
"SELECT * FROM mytable "
"WHERE k = 2 "
"ORDER BY createdAt").bind();

Feel free to play with it in https://zed0.co.uk/clang-format-configurator/. I literally can not find a way to make it not produce something absolutely ridiculous where the SQL is pushed all the way to the right.

#c

SpaceGeek, to ReverseEngineering German
@SpaceGeek@chaos.social avatar

deleted_by_author

  • Loading...
  • kkarhan,
    @kkarhan@mstdn.social avatar

    @SpaceGeek sadly not made by the same person that did the japanese book with on the cover...

    Cuz I know several people - like @fuchsiii - that bought that solely because of it!

    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!

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