ekuber , to random
@ekuber@hachyderm.io avatar

Are you (or know) a blind programmer? What is your set-up? TTS or Braille? What OS do you use? IDE/editor? What limitations, annoyances or show-stopper issues have you encountered? Particularly interested if you use Rust, but happy to hear about the state of developer experience for blind programmers more generally.

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

This was a fascinating and amusing post:

\Device\Afd, or, the Deal with the Devil that makes async Rust work on Windows by @notgull
https://notgull.net/device-afd/

rust_discussions Bot , to random
@rust_discussions@mastodon.social avatar
AstraKernel , to random
@AstraKernel@infosec.exchange avatar

🦀 Rust support for UEFI development through Project Mu

"minimizes the probability of errors that expose vulnerabilities, making Rust a strong choice for future UEFI firmware development"

https://techcommunity.microsoft.com/t5/surface-it-pro-blog/rust-support-for-uefi-development-through-project-mu/ba-p/3970582

epage , to random
@epage@hachyderm.io avatar

Here is what the Cargo team has been up to for the last 6 weeks

https://blog.rust-lang.org/inside-rust/2024/06/19/this-development-cycle-in-cargo-1.80.html

predrag , to random
@predrag@hachyderm.io avatar

cargo-semver-checks received a Microsoft sponsorship 🤩

Thank you for your support of open-source Rust tooling 🦀

folkertdev , to random

I added the pclmulqdq intrinsic to miri

https://github.com/rust-lang/miri/pull/3640

The process is reasonably straightforward if you can figure out what an instruction actually does.

Combined with another open PR (not by me) we can now run most zlib-rs tests with miri on x86_64. We skip some tests that call out to C libraries, but miri now tests our cursed allocator shenanigans and simd implementations.

We have a serious amount of unsafe code, so this additional validation is crucial!

fre , to random
@fre@infosec.exchange avatar

I've done it! After literal months of work, I've finally finished my (rather long) blog post about how AES-GCM works and how it's security guarantees can be completely broken when a nonce is reused:

https://frereit.de/aes_gcm/

It includes more than 10 interactive widgets for you to try out AES-GCM, GHASH and the nonce reuse attack right in your browser! (Powered by and )

If you're interested in , (or ) or you might find it interesting.

If you do read it, I'm all ears for feedback and criticism!

ferrous , to random
@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/

clarfonthey , to random
@clarfonthey@toot.cat avatar

extremely excited that today is the day that the PR from hell gets merged!

we had to fight performance issues, GitHub spectres, compiler bugs, flaky tests, and CI failures, but finally, we'll be able to have all the unchecked arithmetic functions checked in debug mode!

https://github.com/rust-lang/rust/pull/121571

heaths , to random
@heaths@fosstodon.org avatar

“Dev by a thousand cuts”

That’s often what feels like. I started learning C in the late 80s and BASIC before that. Since then I’ve become an expert in several languages and proficient in several others. I’m an experienced and though the rust compiler is by far the most helpful - and pushing other compilers to improve - there’s a lot of sharp edges in the grammar itself. Some other polyglots I’m getting into the language agree.

hrefna , to random
@hrefna@hachyderm.io avatar

The "Rust by Example" is absolutely brilliant. Mad props.

ekuber , to random
@ekuber@hachyderm.io avatar

" development is going too fast (because they are stabilizing features I don't care about) and going too slow (because they are not stabilizing features I care about!"

There are only so many contributors, hours in a day, days in a year to get to everything now, and some features are reliant on other, less flashy work that needs to happen before they can be even attempted.

But people are putting in a lot of work, the codebase changes so quickly that it is hard to keep up.

bitshifter , to random
@bitshifter@mastodon.gamedev.place avatar

Well it took nearly 2 years since it was initially requested, but I finally merged aarch64 neon support into glam main.

hrefna , to random
@hrefna@hachyderm.io avatar

It's fascinating to me looking at beginning language guides and thinking "what does this say about the culture of the language"

When I was delving into it was (with affection) "here's hello world and here's a dense academic paper on implementing event systems in OCaml 5!"

guides used to be centered on the assumption that you were a web programmer looking to do applets, even long after that assumption died.

generally seems to assume a background in programming w/ a CLI.

hrefna OP ,
@hrefna@hachyderm.io avatar

I'll certainly have more observations as I dig more into The Rust Book and Rust by Example on , but it is interesting to me to see the baked in assumption that you are pretty comfortable with concepts like package management (I mean Rust By Example talks about creating a library before it talks about using a library and The Rust Book is similar, glossing over nuances here), CLI tools, and build tools.

To be clear, this is all fine, it is just informing me who the target audience is.

TehPenguin , to random
@TehPenguin@hachyderm.io avatar

I've been helping to investigate a few LLVM and Rust bugs recently, and I keep running into pet peeves with how these bugs are reported, so I'm going to put together some

I don't want to discourage anyone from filing a bug, please do! But... be aware with how you represent the issue that you're seeing.

I also know that there are folks on here who are vastly more knowledgeable than I am, so feel free to suggest corrections, perhaps by filing some sort of report...

TehPenguin OP ,
@TehPenguin@hachyderm.io avatar

If you're going to claim something is a security issue, please explain what the attacker has gained by exploiting the bug. That is, what they can now do they couldn't before.

If you can't explain what the attacker has gained, then that's not a security bug, that's just sparkling MS07-052 (https://web.archive.org/web/20100930203109/http://blogs.msdn.com/b/oldnewthing/archive/2007/08/07/4268706.aspx#4282521)

TehPenguin OP ,
@TehPenguin@hachyderm.io avatar

If the feature has docs, then please explain how the actual behavior doesn't match the docs.

If you don't like how the feature works, that's not a bug, but you can still ask for the feature to be changed.

If there are no docs, or there's a gap, then please help to fill that gap (adding your own observations in the bug report are a good start).

TehPenguin OP ,
@TehPenguin@hachyderm.io avatar

The more specific you can be on when a regression occurred, the better. A range of versions is good, a single version is great, a single commit is amazing.

Tools like git bisect are really helpful for this.

Providing a standalone example that reproduces the issue so that someone else can do that work is also great, with the bonus that it can be added to the regression tests.

hrefna , to random
@hrefna@hachyderm.io avatar

Hmmm, maybe it is time to get back to learning

epage , to random
@epage@hachyderm.io avatar

Call for Testing for MSRV-aware resolver: https://github.com/rust-lang/cargo/issues/13873

Getting feedback on these is important to make sure features are ready and meeting the right need.

TehPenguin , to random
@TehPenguin@hachyderm.io avatar

I've begun the process of switch Rust's Windows CI to Server 2022, starting with the mingw builders: https://github.com/rust-lang/rust/pull/124562

This was tried a couple of years ago, but there some issues with mingw - so kudos to the folks that investigated and fixed those (sorry that I don't have links)!

Next step, the MSVC builders, which will require bumping the version of Clang that's used to build LLVM first...

TehPenguin OP ,
@TehPenguin@hachyderm.io avatar

Fully on Server 2022 and using the latest Clang https://github.com/rust-lang/rust/pull/124850

It'll be interesting to see if 1.80 has improved build times on Windows now that it's using an up-to-date Clang to build LLVM...

TehPenguin OP ,
@TehPenguin@hachyderm.io avatar

Which is all, of course, part of the Grand Master Plan™️ to get Arm64EC promoted to tier 2 https://github.com/rust-lang/compiler-team/issues/746

TehPenguin , to random
@TehPenguin@hachyderm.io avatar

When posting your programming language comparison article, can you please include the context of your comparison?

"Rust vs Python, which is better? "
"Sir, this is a kernel"

"Why I switched from C++ to Go"
Taps sign: "No GC or green threads in the kernel"

Sincerely, a systems dev who'd like to remind you that APIs existed before REST...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines