What's everyone working on this week (6/2018)?


#6

Still working on LPC82x HAL. I spent some time working on the SYSCON API. I tried to make the API a bit safer, by tracking the initialization status of one of its components at compile-time, but ran into some limitations of the current design. That will require more thought, so I decided to shelve this for later and continue working on making the pin API compile-time safe. I hope to get started on the final phase of that tomorrow.


#7

Finalizing some toplevel declarative stuff in rusty-wam. The basics expected of a Prolog system are mostly there, but I’m preparing to move on to implementing more interesting/modern stuff.


#8

Really nice to read this.


#9

The compiler errors rustc gives you are one of the best things about it. After writing something vaguely similar, I have a huge amount of respect for the people that implemented those.


#10

If you want another source of inspiration on this front, I’ve heard that Elm was one of the role models for rustc’s error messages:


#11

Working on adding multi-completion routines to the excellent rsmpi crate.


#12

Abusing the macro system of course :3

macro_rules! pub_struct {
  (
  $( # [ $struct_attributes:meta ] )* $name:ident {
    $( $( # [ $field_attributes:meta ] )* $field:ident : $fieldtype:ty , )+
  }
  ) => {
    $(#[$struct_attributes])* pub struct $name {
      $($( # [ $field_attributes ] )* pub $field : $fieldtype , )+
    }
  }
}

#13

I finally had some time to sit down and toy around. So I’ve just started a stupid little Rubik’s cube simulator. Hopefully I get to the point where I have a cool little GUI and “sophisticated” REPL. :slight_smile:


#14

I have rewrote the xch-ceb (A Chemical Equation Balancer) 's parser. Now, it’s no recursion needed and regex based. :smile:

I am planing to design a electric circuit script language and impl the interpreter in Rust. But, it seens not easy for me really.


#15

I started playing around with nom as an exercise. The goal is to write a parser for a simple 3D file format (I chose STL for that purpose).

Currently I’ve almost completed ASCII STL parsing and I’ll probably do binary as well after that.

Bonus goals include a C API for use in other languages and a small viewer application, either in Rust with glium or vulkano (if I’m brave enough) or in Unity when the C API is done. :slight_smile:


#16

Made yet another graphql-parser in rust. This time it’s decouple of all the logic and already supports full semantics of graphql query language. Hopefully adopted by other graphql libraries there as an underlying parser library.


#17

Playing around with Rust-to-WebAssembly, to understand how the rust code is mapped onto target Wasm Compile Rust to target WASM, how to strip to 300Bytes?


#18

O’Reilly/RustProgramming, starting chapter 4 on ownership. Also in the progress of figuring out how to install Rust on my NVIDIA Jetson TX2 development board.


#19

O’Reilly/RustProgramming

I got my copy of the book as well and really enjoy reading it (just finished chapter 9 on Stucts) …


#20

This week I was still working on zbox v0.4.0, a privacy-focues embeddable file system. Inspired by sqlite, a zero-cost virtual IO layer has been added to file storage with the purpose to simulate random IO errors.


#21

I love that zbox logo!


#22

Adding support to select which extended tools will be installed with rust: https://github.com/rust-lang/rust/pull/48015


#23

O’Reilly/RustProgramming

BTW (@shanedora ): You can get a digital book version (and many more books about Functional Programming) as a Humble Book Bundle


#24

@wahn I was not aware of this Humble Book Bundle deal. Thanks!


#25

Implementing the tool wasm-sign

The WebAssembly module signing and verification tool to proof authenticity and integrity of WebAssembly bytecodes. The signature is attached as Custom-Section to the end of the module. The signed module can be transfered over network. Recipients parsing the signed module will ‘see’ an additional Custom-Section of type 0 and name ‘signature’. The Signature adds an overhead of 86 bytes.