haeckerfelix, to rust
@haeckerfelix@mastodon.social avatar
mgorny, to linux
@mgorny@pol.social avatar

Opublikowałem dziś 0.11. Nowa wersja w końcu radzi sobie z plikami crate z gita, które używają przestrzeni roboczych. Niestety, kod jest paskudny, a ja jestem zbyt wypalony, żeby to zrobić lepiej. Ale powinno działać.

https://pypi.org/project/pycargoebuild/0.11/

ikey, to rust
@ikey@fosstodon.org avatar

A while back I mentioned I was working on support for @thunderbird - well, that work is now coming to a head.

Patches in flight for mozilla-central and comm-central that, if merged, will allow us to build Rust-based components in Thunderbird!

https://phabricator.services.mozilla.com/D193543

pawelgrzybek, to rust
@pawelgrzybek@mastodon.social avatar

After a few years using VSCode on a daily basis I tried something different. It was fun, and of course, I blogged about it!

“The joy of learning Helix (and probably other modal terminal-based editors)”

https://pawelgrzybek.com/the-joy-of-learning-helix-and-probably-other-modal-terminal-based-editors/

rust, to rust
@rust@emacs.ch avatar

How we reduced the memory usage of our Rust extension by 4x:

https://blog.kolo.app/optimising-rust-memory.html

rust, to rust
@rust@emacs.ch avatar
fell, to programowanie
@fell@ma.fellr.net avatar

Post your latest commit message. I'll start:

> Fixed a possible crash during the trophy cutscene that could happen if the stadium did not have a scheduled match and was not associated with an owning club.

#c

gamingonlinux, to gamedev
@gamingonlinux@mastodon.social avatar
smokku,
@smokku@chrome.pl avatar
mgorny, to rust
@mgorny@pol.social avatar

Orientujecie się może, jak rozpoznać czy dana binarka zawiera skompilowany kod ? Chciałbym ulepszyć Portage tak, by automatycznie wykrywało programy pisane w Ruście i nie zwracało dla nich raportów "zignorowanych CFLAGS".

rust, to rust
@rust@emacs.ch avatar

Elevate Your Rust Code: The Art of Separating Actions and Calculations

https://rusty-ferris.pages.dev/blog/fp-actions-vs-calculations/

epage, to rust
@epage@hachyderm.io avatar

What prior art are you aware of for cache management, especially for build systems?

Wanting to make sure we build on the work of others when designing cargo's cache management. We expect it to include:

  • Automatically and manually invoked garbage collection
  • Global and project-specific caches

EDIT: To clarify, we are looking for information, especially pointers to documentation, for cache management policies and how cache management control is exposed to users.

smokku,
@smokku@chrome.pl avatar
mo8it, to rust
@mo8it@fosstodon.org avatar

Teaching Rust in 5 days :ferris:

https://mo8it.com/blog/teaching-rust/

A blog post about my experience teaching at my university 🎓

Highlight from the summary:

"If students without much experience (some of them had only one lecture about ) can learn the basics in 5 days, then I think that developers should stop calling Rust complicated"

mo8it,
@mo8it@fosstodon.org avatar

⭐️ Blog post highlight

The ownership and borrowing model in prevents having a mutable and an immutable reference at the same time.

This doesn't only contribute to the fact that data races are impossible in Rust.
It also prevents mistakes in sequential code like iterator invalidation!

The screenshots show two examples of iterator invalidation in

A screenshot of a code snippet from my blog post showing another example of iterator invalidation in Python. This time, the result is unexpected because the output list still has a

rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar

Fast Summary-based Whole-program Analysis to Identify Unsafe Memory Accesses in Rust:

https://arxiv.org/abs/2310.10298

mgorny, to linux
@mgorny@pol.social avatar

Właśnie opublikowałem 0.12 dla . Nowa wersja wprowadza opcję --crate-tarball, która przepakowuje wszystkie zależności w formacie crate w jedno archiwum, które można wykorzystać z ebuildem.

Po co to? Spójrzmy na liczby.

Fractal z normalnymi plikami crate:

15 KiB ebuild
180 KiB Manifest
1 min 10 s ściągania (przez serwery lustrzane Gentoo, które są znacznie szybsze niż crates.io)
597 pobranych plików
76 MiB pobranych plików
15 s wypakowywania

Fractal z przepakowanym archiwum:

4 KiB ebuild
1.5 KiB Manifest
2 s pobierania
4 pobranych plików (nie przepakowujemy GIT_CRATES)
45 MiB pobranych plików
6 s wypakowywania

https://pypi.org/project/pycargoebuild/0.12/

rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar

Analyzing Data 180,000x Faster with Rust:

https://willcrichton.net/notes/k-corrset/

rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar
rust, to rust
@rust@emacs.ch avatar
mgorny, to linux
@mgorny@pol.social avatar

I wyszła poprawiona wersja , 0.12.1. Poprzednia wersja nie uwzględniała licencji z przepakowanych plików crates — poprawiłem to. Przy okazji w szablonie nowego ebuilda (ale nie przy aktualizacjach) uwzględniamy teraz nazwę przepakowanego archiwum.

https://pypi.org/project/pycargoebuild/0.12.1/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • historia
  • sport
  • fediverse
  • gry
  • zakupy
  • polityka
  • silownia
  • linux
  • seriale
  • polska
  • apple
  • kino
  • godot
  • opensource
  • gay
  • muzyka
  • marvel_plus
  • UFC
  • ADHDwomen
  • UFOs
  • charytatywne
  • gayporn
  • Rallycross
  • 3amjokes
  • ak
  • PowerRangers
  • ArmoredWomen
  • All magazines