Wednesday, April 24, 2024

hurry up and rust

rust

the language

redox os (unix-like os written in rust)

 

GUI Tool kits

slint

iced

  https://www.youtube.com/watch?v=rC4FCS-oMpg

  https://github.com/makepad/makepad

Comfy - 2d game engine in Rust/wgpu

Leaving Rust gamedev after 3 years

Miniquad/Macroquad

  Using D lang to mix C++ and Rust.

www.tipi.build

https://www.youtube.com/watch?v=z6j-lCOi4XM

Corrosion.rs c++ rust bridge


apps

warp (advanced feature terminal; requires login)

gitoxide

media

 

  Brodie interviews Jeremy Soller developer of Redox OS

https://areweguiyet.com/

on the mac

macports had to migrate, old install was on Monterey now on Ventura 13.6.6

setup steps (with brew)

sudo port install rust
sudo port install cargo
the rust compiler is rustc
 

A fast new editor to try:

zed.dev (macos, build on linux)

 


Learn Rust

 Crust of Rust by Jon Gjengset





Tuesday, April 23, 2024

a cleaner rust install on macos 12.7 Monterey

 Install Rust on macos

 curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh

 

The install (see above) is as easy as the official site (https://www.rust-lang.org/tools/install) says.   So why don't I like it?

Well I know I would have to:

  1. examine the script and try to figure out what it was doing
  2. write a note to myself about some directory paths
  3. review above note to uninstall 
  4. leave behind a bunch of left over files

Instructions

macport is the package manager I use.

download and install macports from macports.org

A how to for homebrew users.

You don't need xcode but you will need the tools.  Launch terminal and enter these commands:

xcode-select --install

sudo port install rust
sudo port install cargo

 

cd /opt/local/bin 

./rustc --version
rustc 1.77.1 (7cf61ebde 2024-03-27) (built from a source tarball)
 

Success you have installed rust!

macos 12.7 Monterey macbook pro 2.7 GHz Core i5 (I5-5257U)