dev.to
I began looking into WebAssembly as a means to process pixels from a video feed. That experience was very fun and rewarding. I wanted another Rust and WebAssembly challenge, so I built Gobblet, a two player game played on a 4x4 board with 1...
Observations/Thoughts
2020-10-14
~10 min read
dev.to
A concurrent program is one which multitasks (or appears to be), that is two or more tasks run in overlapping time spans. These tasks are executed by threads, the smallest executable unit of a process. Under the hood, is not exactly multita...
Learn Simple Rust
2020-10-14
~11 min read
dev.to
Recently I came across lalrpop, a lexer-parser-generator in Rust. I had previously used flex-bison pair in C for the same, and after taking a look at lalrpop, I felt that it can be of same use in Rust. For a starter project I made a simple...
Learn Simple Rust
2020-10-14
~7 min read
dev.to
Hi all, you can create a Rust-Client for SirixDB and make a huge contribution during Hacktoberfest. We can split the task into many smaller tasks, of course. We need your help, bringing the project forward :-) It's an evolutionary, accumula...
Call for Participation
2020-10-14
~1 min read
dev.to
If you've been following this series, the post about Ownership probably gave you the impression that Rust is a no-brainer and C++ should never be used in production. Smart pointers may change your mind. In modern terms, Smart pointers are p...
Learn Simple Rust
2020-10-07
~13 min read
dev.to
TL;DR: Expressions evaluate to a value, they return that value. Statements do not. Statements are instructions that do something, they don't return a value. Expressions evaluate to a value, they return that value. Rust is an expression-orie...
Learn Simple Rust
2020-09-30
~3 min read
dev.to
NOTE: Since this has been written, Bevy has received many awesome, but sadly, breaking updates. The code in this guide is no longer maintained. Welcome back! If you didn't see the previous article, you can find that here: You'll need to dow...
Learn Simple Rust
2020-09-30
~5 min read
dev.to
If you come to Rust from languages like Javascript which have support for optional arguments in functions, you might find it inconvenient that there is no way to omit arguments in Rust. However, there are good ways to simulate optionality a...
Learn Standard Rust
2020-09-23
~2 min read
dev.to
สร้าง Elixir Project ด้วย mix $ mix new ferris_ex --module FerrisEx ใส่ rustler เข้าไปใน mix dependencies defp deps do [ {:rustler, "~> 0.21.1"} ] end หลังจากนั้นก็สั่ง mix deps.get เพื่อ fetch dependencies ต่อมา generate rust project ผ่าน...
Learn Standard Rust
2020-09-23
~1 min read
dev.to
I'm writing this post while recovering from writer's cramp from all the keystrokes I've been striking. I've read Hanselman's concept of limited keystrokes in a lifetime before but this is the probably the first time it hit home. Ideally I w...
Learn More Rust
2020-09-23
~9 min read
dev.to
NOTE: Since this has been written, Bevy has received many awesome, but sadly, breaking updates. The code in this guide is no longer maintained. Since rust is The Best Language™, it's no surprise that it's been an attractive choice for game...
Learn More Rust
2020-09-23
~4 min read
dev.to
We introduced how to call Rust functions from Node.js in the last article. This article will introduce how to write a Node.js-based AI as a Service application. Today’s dominant programming language for AI is Python. Yet, the programming la...
Learn More Rust
2020-09-23
~7 min read
dev.to
Finding Rust Rust is an awesome language, and one of the few that I was excited to learn when I first heard about it. It has many amazing features, such as tagged Enums, thread support baked in language, ownership system, to name a few. Thi...
Miscellaneous
2020-09-23
~2 min read
dev.to
In the previous post, we covered using our protobuf compiled Rust code to implement our gRPC server and include it in our CLI frontend. It is recommended that you follow in order since each post builds off the progress of the previous post....
Learn More Rust
2020-09-16
~4 min read
dev.to
I feel like it's been a looooong minute since I was last able to give an update on AssemblyLift. Real life is busy, summer heat makes me sluggish, and I finally took a vacation! Still, in my spare time I've managed to finish core work aroun...
Project Updates
2020-09-16
~3 min read
dev.to
In the previous post, we covered creating our data schema in the Protocol Buffer (protobuf) format, and using Rust build scripts to compile the protobufs into Rust code. It is recommended that you follow in order since each post builds off...
Learn More Rust
2020-09-09
~7 min read
dev.to
Introduction Many languages today are object-oriented, support this paradigm or, not being object-oriented directly, allow for the programmer to define its own data types. Usually, we want these types to exhibit certain traits of behavior u...
Learn Standard Rust
2020-09-09
~4 min read
dev.to
Given its unique nature, a lot of people are curious to know if Rust is functional. Is it? Let's find out. For a programming language to be considered strictly functional it has to adhere to functional paradigm where functions are first cla...
Learn Standard Rust
2020-09-09
~5 min read
dev.to
This post describes my more-than-a-month long story of refactoring existing error definitions and error handling code in my largest project written in Rust. DICOM-rs is a pure Rust implementation of the DICOM standard, the near-ubiquitous s...
Observations/Thoughts
2020-09-04
~14 min read
dev.to
I've tried to learn Rust multiple times. Unsuccessfully. I want to be upfront about that because it's a bit hard to admit. I'm a pretty experienced software engineer, mostly in web development but I used to work in data science. I'm curious...
Learn Standard Rust
2020-09-04
~9 min read