@ekuber@hachyderm.io
@ekuber@hachyderm.io avatar

ekuber

@ekuber@hachyderm.io

"We spent decades trying to invent a sufficiently smart compiler when we should have been inventing a sufficiently empathetic one."

Rust Compiler team member. If you have to search for answers when the compiler is talking to you, that's a bug.

There are no bad programmers, only insufficiently advanced compilers.

Cache-locality awareness evangelist.

💼@aws, opinions my own

he/him

Trans rights are human rights

This profile is from a federated server and may be incomplete. Browse more on the original instance.

epage, to rust
@epage@hachyderm.io avatar

If Cargo gained a [diagnostics] table to mirror the recent #[diagnostic] attribute, what use cases would you have for improving Cargo errors related to your packages?

See https://github.com/rust-lang/rfcs/pull/3383#issuecomment-2135594569 for more context

internetarchive, to random
@internetarchive@mastodon.archive.org avatar

Sorry to say, archive.org is under a ddos attack. The data is not affected, but most services are unavailable.

We are working on it & will post updates in comments.

thatkatharine, to random
@thatkatharine@ohai.social avatar

Them: ”You can mask if you want to”

My brain: 🎵 We can leave your friends behind
‘Cause your friends don’t mask and if they don’t mask
Well, they’re no friends of mine 🎵

ferrous, to rust
@ferrous@social.ferrous-systems.com avatar

🎉 We have news: We've updated to 1.76.0 and you can now purchase your license online in our shop.
@pietroalbini fills in the details over on the blog 👉

https://ferrous-systems.com/blog/ferrocene-24-05-0/

herberticus, to rust
@herberticus@fosstodon.org avatar

My new book – Advanced Hands-on Rust – is now in beta! Intermediate to advanced Rust, writing games in the Bevy engine. Generics, traits, macros, library creation and more. https://pragprog.com/titles/hwmrust/advanced-hands-on-rust/

@pragprog beta books get you most of the e-book now (sadly, we can’t ship out a new print for every beta!), and each subsequent release as the book advances towards final release. You can also file bug reports and help make the book better.

weiznich, to rust
@weiznich@social.weiznich.de avatar

I'm looking for help to test out prebuild diesel-cli binaries for the upcoming diesel release. Can you try to download the binaries from here: https://github.com/diesel-rs/diesel/actions/runs/9186949014?pr=4034 and check:

  • That the binaries work on your platform
  • That the binaries have no runtime dependencies on any database driver library

I'm mostly interested in feedback for windows (x86_64) and macos (both x86_64 and aarch64).

#rust #rustlang

khalidabuhakmeh, to rust
@khalidabuhakmeh@mastodon.social avatar

This is pretty big news for developers. You can use RustRover for FREE for non-commercial scenarios, including hobby projects and open-source.

https://blog.jetbrains.com/rust/2024/05/21/rustrover-is-released-and-includes-a-free-non-commercial-option/

evacide, to random
@evacide@hachyderm.io avatar

Threat models matter.

When a platform/service/app tells you they are “private” or “secure” always ask “from whom?”

Criminals, domestic abusers, law enforcement, data brokers, and intelligence agencies are all different attackers with very different capabilities.

wezm, to rust
@wezm@mastodon.decentralised.social avatar

Faster linking times on nightly on Linux using rust-lld https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html

repeattofade, to random
@repeattofade@tootr.co avatar

I think about this tweet so much when I see these kind of news stories
https://mastodon.nu/@Loukas/112437987286290009

cydonian, to random
@cydonian@vivaldi.net avatar

Didn’t realise the Indian crew of the Singapore ship that crashed into the bridge in Baltimore are still isolated on the ship, and will be for the foreseeable future. https://mothership.sg/2024/05/21-crew-singapore-flagged-ship-baltimore-bridge/

nrc, to rust
@nrc@hachyderm.io avatar

I'll be talking at Rustconf this year, about Rustfmt and code formatting. A little more detail on the blog: https://www.ncameron.org/blog/eternal-sunshine-of-the-rustfmted-mind/

jhpratt, to rust
@jhpratt@mastodon.social avatar

Now that it's public, I can say that I will be speaking (again) at in Montréal! Catch me there or online in September.

faassen, to rust
@faassen@fosstodon.org avatar

Porting a significant codebase (an xpath compliant regex engine) from Java to Rust was fascinating. Here are some observations:

  • Java is pretty readable even for someone who never wrote a line of Java in his life

  • Editor dev tooling to follow references is super handy during this work

  • Java classes melt away into enums. In this codebase dynamic dispatch was unnecessary and inheritance was used only a little. OO is overrated

1/n

stux, to random
@stux@mstdn.social avatar
manlycoffee, to random
@manlycoffee@techhub.social avatar
folkertdev, to rust

My first concrete result of : zlib-rs now runs with the cranelift backend

This required implementing some intrinsics that the cranelift backend didn't yet support

https://github.com/rust-lang/rustc_codegen_cranelift/pull/1491
https://github.com/rust-lang/rustc_codegen_cranelift/pull/1488

With some help from bjorn3 this was reasonably straightforward. I think the PRs are good templates for of someone wanted to work on a real compiler and implement further SIMD functionality. This issue lists some missing intrinsics

https://github.com/rust-lang/rustc_codegen_cranelift/issues/1419

seatek, to random
@seatek@hard.blue avatar

🙇‍♂️

toxi, to photography
@toxi@mastodon.thi.ng avatar
AkaSci, to random
@AkaSci@fosstodon.org avatar

Incoming! A severe G4 Geomagnetic Storm is expected to arrive around 02:00 UTC Friday night / Saturday morning.

At least 5 Coronal Mass Ejections took place over the past 24 hours, directed towards Earth. These originated from a large and magnetically complex sunspot cluster (NOAA region 3664).

There is potential for disruption of communications, the electric power grid, navigation, radio and satellite operations.

And bright auroras as far south as Alabama!

https://www.swpc.noaa.gov/
1/n

AkaSci, (edited )
@AkaSci@fosstodon.org avatar

The aurora forecast for tonight looks almost the same as last night.

The Geomagnetic Kp index is already at 7.67 (G4) and predicted to reach 9 (G5) again in the morning hours. Two sets of CMEs ejected yesterday will pass through earth in the next 12 hours, hopefully lighting up the sky again.

Happy aurora viewing!

Let's keep in mind that the camera catches auroras better than the human eye. So, let's keep 'em clicking and experiment with different exposures.

https://www.swpc.noaa.gov/
29/n

mspstrath, to ProgrammingLanguages
@mspstrath@mastodon.acm.org avatar

We are pleased to officially announce that we are organising the Scottish Programming Languages and Verification Summer School 2024!

Registration will be open later this month!

We are kindly supported by SICSA and Bronze Level supporter: Well-Typed!

For more details, and to see what we have in store, visit:

https://scottish-pl-institute.github.io/splv/2024-strathclyde/

(1/n)

sophiajt, to random
@sophiajt@fosstodon.org avatar

Announcing , an experimental safe systems language with a focus on being readable, learnable, and teach-able.

https://www.sophiajt.com/search-for-easier-safe-systems-programming/

hds, to rust
@hds@hachyderm.io avatar

I wrote a blog post on performance optimization using (cargo) flamegraph for profiling and Divan for benchmarking.

This was a real case of a real algorithm which needed real optimization!

https://hegdenu.net/posts/performance-optimization-flamegraph-divan/

👋 @nikolai

rust, to random
@rust@social.rust-lang.org avatar

Rust 1.78.0 is now available! 🦀🌈

This release brings you #[diagnostic::on_unimplemented], more safety assertions in the standard library (in debug mode), LLVM version 18, and more!

Check out the announcement and release notes: https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html

weiznich, to rust
@weiznich@social.weiznich.de avatar

I’m happy to see the diagnostic namespace finally in a stable release. This is the result of nearly 2 years of work.

I would like to thank the Rust Foundation for funding a part of the work. I also would like to thank @ekuber and @errs for their help and guidance while designing and building this feature.

If you want to support my work on this feature or on diesel you can sponsor me on GitHub: https://github.com/sponsors/weiznich

#rust #rustlang

RE: https://social.rust-lang.org/@rust/112371797442463604

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