he/him/his, cis, gay, husband, Beagle chew-toy, JavaScript jockey, Rustacean

  • 6 Posts
  • 3 Comments
Joined 3Y ago
cake
Cake day: Apr 06, 2021

help-circle
rss
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
> Rumor 1: Rust takes more than 6 months to learn – Debunked ! > > ... > > Rumor 2: The Rust compiler is not as fast as people would like – Confirmed ! > > ... > > Rumor 3: Unsafe code and interop are always the biggest challenges – Debunked ! > > ... > > Rumor 4: Rust has amazing compiler error messages – Confirmed ! > > ... > > Rumor 5: Rust code is high quality – Confirmed! > ...
fedilink

Tauri allows you to write apps where the GUI is controlled by HTML+CSS+JS (or anything that compiles/transpiles to that), and the non-GUI logic is implemented in Rust (or anything Rust can talk to, e.g. C/C++/etc)

Tauri is sort of an alternative to electron, if you’ve heard of that


True, although they whipped up https://github.com/pop-os/cosmic-text in a shockingly small amount of time, so it’s possible that they check these boxes quite quickly

For comparison, egui (another pure-Rust cross-platform GUI toolkit) just recently got accessibility support, but that feature only works in Windows and macOS: https://github.com/emilk/egui/pull/2294

I think we’re in an interesting intersection of Rust ecosystem, wayland upheaval, and Pop! OS rewrite, which is a lot going on and I’m keen to see how it turns out :)


System76's Pop!_OS COSMIC Desktop To Make Use Of Iced Rust Toolkit Rather Than GTK
> The UX team has been carefully designing widgets and applications over the last year. We are now at the point where it is critical for the engineering team to decide upon a GUI toolkit for COSMIC. After much deliberation and experimentation over the last year, the engineering team has decided to use Iced instead of GTK. > > Iced is a native Rust GUI toolkit that's made enough progress lately to become viable for use in COSMIC. Various COSMIC applets have already been written in both GTK and Iced for comparison. The latest development versions of Iced have an API that's very flexible, expressive, and intuitive compared to GTK. It feels very natural in Rust, and anyone familiar with Elm will appreciate its design. The main jumping-off point for COSMIC is this repository, I think: https://github.com/pop-os/cosmic-epoch The iced crate is here: https://github.com/iced-rs/iced Other GUI tookits for Rust can be found here: https://www.areweguiyet.com/
fedilink

Unsafe Rust in the Wild
Not really a "sky is falling" sort of post, but it seems like there is room for further exploration and improvement of practices here
fedilink

pop-launcher plugin NetworkManager · GitLab
Today's Rust and Linux project is up :) I built this plugin so that I could see NetworkManager controls in results that come back from [`pop-launcher`]( https://github.com/pop-os/launcher) I'm using [`onagre`](https://github.com/oknozor/onagre) to query/display/action those results
fedilink

LLVM supports fewer target machines than GCC

https://gcc.gnu.org/backends.html has a big table

           |      Characteristics
Target     | HMSLQNFICBD lqrpbfmgiates
-----------+--------------------------
aarch64    |     Q        q  b  gia  s
alpha      |  ?  Q   C    q    mgi  e
arc        |          B      b  gia
arm        |                 b   ia  s
avr        |    L  FI    l  p   g
bfin       |       F            gi
c6x        |   S     CB         gi
cr16       |    L  F C          g    s
cris       |       F  B         gi   s
csky       |                 b   ia
epiphany   |         C          gi   s
fr30       | ??    FI B     pb mg    s
frv        | ??       B      b   i   s
gcn        |   S     C D  q       a e
h8300      |       FI B         g    s
i386       |     Q        q  b   ia
ia64       |   ? Q   C    qr b m i
iq2000     | ???   FICB      b  g  t
lm32       |       F            g
m32c       |    L  FI    l   b  g    s
m32r       |       FI        b       s
m68k       |                pb   i
mcore      |  ?    FI       pb mg    s
mep        |       F C       b  g  t s
microblaze |         CB          i   s
mips       |     Q   CB   qr     ia  s
mmix       | HM  Q   C    q      i  e
mn10300    | ??                 gi   s
moxie      |       F            g  t s
msp430     |    L  FI    l   b  g    s
nds32      |       F C           ia  s
nios2      |         C           ia
nvptx      |   S Q   C    q    mg   e
pa         |     Q   CBD  qr b   i  e
pdp11      |    L   IC    qr b      e
pru        |    L  F              a  s
riscv      |     Q   C    qr    gia
rl78       |    L  F     l      g    s
rs6000     |     Q   C    qrpb   ia
rx         |                         s
s390       |     Q        qr    gia e
sh         |     Q   CB   qrp    i
sparc      |     Q   CB   qr b   ia
stormy16   | ???L  FIC D l   b   i
tilegx     |     Q   C    q     gi  e
tilepro    |   S   F C          gi  e
v850       |                    g a  s
vax        |  M     I        b   i  e
visium     |          B         g  t s
xtensa     |         C

https://www.llvm.org/Features.html

An easily retargettable code generator, which currently supports X86, X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, WebAssembly and XCore.



Nushell 0.61 | Nushell
> Nushell, or Nu for short, is a new shell that takes a modern, structured approach to your commandline. It works seamlessly with the data from your filesystem, operating system, and a growing number of file formats to make it easy to build powerful commandline pipelines. > > Today, we're releasing version 0.61 of Nu. This release includes UI improvements, many bugfixes, improved glob support, and more.
fedilink