Symbolic maths in Python: Attacking a castle with SymPy

While working on my Moon lander guidance software, I am making several small prototypes to test ideas. One of them involves testing several control laws (of the acceleration), which implies quite a lot of manual calculations (to integrate to obtain the velocity and position). Doing these calculations by hand is tedious and error prone, and I thought about using a symbolic math program. Usually, a programming language can not manipulate variables without predefined values, but I found a Python library which can: SymPy. Read the 2027 words...

Hello World with Rust and WebAssembly

For the second part of my Rust & WebAssembly journey, I will write a basic hello world project. Note: you can jump to the demo by clicking here. This will give me the opportunity to demonstrate how to write a simple Wasm module in Rust. I will focus on a simple frontend and ignore the backend: no complicated GET or POST requests, no websockets, etc. This article will present how to build a simple game, such as Matt’s Pont. Read the 3047 words...

Introduction to Rust and WebAssembly

In this article, I would like to talk about two technologies I’ve been playing with recently: the Rust programming language and the WebAssembly standard. I’ll start by presenting each of these two technologies and which problems they are trying to solve. Then, I’ll explain what are the advantages of a Rust-powered Wasm module, and why it can be useful. Finally, I’ll provide links to interesting documentation. WebAssembly Since many years, client side web applications, implemented in JavaScript, have been becoming larger and larger. Read the 1227 words...