recentpopularlog in

ianweatherhogg : rust   439

« earlier  
How to translate a large C project to Rust
In October, I started working on translating CVS from C toRust,and today I’d like to answer these questions about how that’s going:
rust  c 
5 days ago by ianweatherhogg
Office Hours #0: Debugging with GDB
This is a report on the first “office hours”, in which we discussed debugging Rust programs with gdb. I’m very grateful to Ramana Venkata for suggesting the ...
rust  gdb 
10 weeks ago by ianweatherhogg
Wiki - AGuideToRustGraphicsLibraries2019
If OpenGL is GPU Javascript, Vulkan is GPU C. It is much lower level, much more general purpose, and (potentially) much easier to write fast code in than OpenGL
rust  gpu 
11 weeks ago by ianweatherhogg
Rust Code Coverage Guide: kcov + Travis CI + Codecov / Coveralls · Sunjay Varma
A comprehensive guide to generating code coverage for Rust projects, integrating that into Travis CI and publishing the results to either Codecov or Coveralls.
rust  travis  continuous  integration 
11 weeks ago by ianweatherhogg
Program Synthesis is Possible in Rust
Program synthesis is the act of automatically constructing a program thatfulfills a given specification. Perhaps you are interested in sketching aprogram, le...
rust  music  synth 
11 weeks ago by ianweatherhogg
Oxidizing Source Maps with Rust and WebAssembly
Note: I am cross-posting this to my personal blog from hacks.mozilla.org,where it was originallypublished.
rust  source  map  web  assembly  5* 
11 weeks ago by ianweatherhogg
Compiling from Rust to WebAssembly - WebAssembly | MDN
If you've written some Rust code, you can compile it into WebAssembly! This tutorial takes you through all you need to know to compile a Rust project to wasm and use it in an existing web app.
rust  web  assembly 
april 2019 by ianweatherhogg
Rust on the micro:bit 101 part 1 ·
Everything you need to know about programming a BBC Micro:bit in Rust
rust  micro 
april 2019 by ianweatherhogg
Idiomatic monads in Rust | varkor’s blog
A pragmatic new design for high-level abstractions In this post, I’m going to describe a new approach to express monads in Rust. It is the most minimal design I have seen proposed and is, in my eyes, the first plausible design for such abstractions — those commonly known as “higher-kinded types”. This approach depends on a very minimal extension to Rust’s type system. In particular, this approach avoids the need for either higher-kinded types (e.g. as in this design) or full abstract...
rust  functor  monad 
march 2019 by ianweatherhogg
Implementing a NES Emulator in Rust
Recently, I made an emulator for the Nintendo Entertainment Console(NES) - a game console first released in 1983.
rust  game  emulator  4* 
march 2019 by ianweatherhogg
The strange case of monetary policy in Grin — Dawid Ciężarkiewicz aka `dpc`
I am a crypto-finance enthusiast and though I am strongly skewed toward Bitcoin maximalism, I still try to follow the space looking for p...
rust  block  chain  bitcoin  finance 
february 2019 by ianweatherhogg
Smart contracts and token economy without Blockchains — Dawid Ciężarkiewicz aka `dpc`
or: A token (even smart one) needs a blockchain, like a fish needs a bicycle. Image above: Tokenizing assets on a Blockchain Abstract ...
rust  bitcoin 
february 2019 by ianweatherhogg
rust-bitcoin-indexer: How to interact with a blockchain — Dawid Ciężarkiewicz aka `dpc`
or: Notes on indexing blockchains A copy of this post can be found on rust-bitcoin-indexer wiki. Abstract: I have ventured on the quest...
rust  bitcoin 
february 2019 by ianweatherhogg
Rust on STM32: Blinking an LED - Stackenbloggen
Using Rust to blink a LED on a STM32F103 aka “BluePill” on Linux Mint/Ubuntu
rust  embedded  electronics  micro  controller 
february 2019 by ianweatherhogg
Lock-free Rust: Crossbeam in 2019 | stjepang.github.io
This is a follow-up post to Lock-freedom without garbage collection from 2015, which introduced Crossbeam, a Rust library that implements efficient lock-free data structures without relying on a tracing garbage collector.
rust  cross  beamer 
january 2019 by ianweatherhogg
Cryptocurrencies written in Rust : rust
### Cryptocurrencies * [nearprotocol/nearcore](https://github.com/nearprotocol/nearcore) — decentralized smart-contract platform for low-end...
reddit  rust  bitcoin 
december 2018 by ianweatherhogg
Synthesizer progress update | Raph Levien’s blog
I’ve made good progress on my music synthesizer, and wanted to post a quick update.
rust  music 
october 2018 by ianweatherhogg
Towards GPGPU JSON parsing | Raph Levien’s blog
The amount of computing resources available on general purpose GPU hardware is vastly greater than in scalar CPUs. A continuing trend is to move computation from CPU to GPGPU. Some computations (most 3D graphics operations, many machine learning tasks) can be expressed efficiently in terms of primitives that GPUs offer. However, tasks such as JSON parsing are traditionally considered as serial algorithms and are not often implemented on GPU.
gpu  rust  csv  json  parser 
october 2018 by ianweatherhogg
Towards fearless SIMD | Raph Levien’s blog
SIMD is a powerful performance technique, and is especially valuable in signal and image processing applications. I will be using it very extensively in my synthesizer, and also it’s increasingly used in xi-editor to optimize string comparisons and similar primitives.
simd  rust 
october 2018 by ianweatherhogg
Understanding Compilers — For Humans (Version 2) – Towards Data Science
Code shared from the Rust Playground. GitHub Gist: instantly share code, notes, and snippets.
rust  compiler 
september 2018 by ianweatherhogg
Parsing NES ROM Headers with nom | bheisler.github.io
Long, long ago (December 2015) I wanted to learn how emulators worked, so I decided to write an NES emulator. Not only that, but I opted to write it in Rust, a language which I had never used before. A crazy idea, to be certain, but once I was done I had indeed learned a great deal about emulators, the NES, and Rust.
Anyway, I’ve been working on that project again lately, doing some maintenance work and upgrades.
rust  game  emulator 
september 2018 by ianweatherhogg
The State of GPGPU in Rust | bheisler.github.io
At work a few months ago, we started experimenting with GPU-acceleration. My boss asked if I was interested. I didn’t know anything about programming GPUs, so of course I said “Heck yes, I’m interested!“. I needed to learn about GPUs in a hurry, and that led to my GPU Path Tracer series. That was a lot of fun, but it showed me that CUDA support in Rust is pretty poor.
rust  gpu  5* 
august 2018 by ianweatherhogg
Bringing Rust to Ledger hardware wallets – Mart Roosmaa – Medium
Beginning of this year I wanted to experiment with some embedded development. I ended up looking into Ledger cryptocurrency hardware wallet application development. I wouldn’t actually consider this…
rust  block  chain  bitcoin 
july 2018 by ianweatherhogg
Pointers Are Complicated, or: What's in a Byte?
This summer, I am again working on Rust full-time, and again I will work (amongst other things) on a “memory model” for Rust/MIR. However, before I can talk about the ideas I have for this ...
rust  point 
july 2018 by ianweatherhogg
Natively run OCaml from Rust
How to get Rust to execute OCaml code and libraries with zero-cost by sharing C libraries. Call OCaml functions from Rust through ffi, fast!
rust  ocaml 
july 2018 by ianweatherhogg
Wayland-rs 0.21: Pure rust implementation | Smithay project
Announcement of v0.21 of wayland-rs, featuring a pure rust implementation of the wayland protocol.
wayland  rust 
july 2018 by ianweatherhogg
eclipse/corrosion: Eclipse Corrosion - Rust edition in Eclipse IDE
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
eclipse  rust  plugin 
june 2018 by ianweatherhogg
Calling Rust From Python | bheisler.github.io
Hello! This is a detailed example of exposing Rust code to other languages (in this case, Python). Most articles I’ve seen that cover this topic uses really trivial example functions, skipping over a lot of the complexity. Even the better ones out there typically don’t have a pre-existing, reasonably complex program to work with. I’m going to start with trivial functions and build my way up to being able to define a scene for my raytracer in Python using a series of calls to Rust, th...
rust  ffi  python  windows  ray  trace  5* 
june 2018 by ianweatherhogg
Experiments In NES JIT Compilation | bheisler.github.io
Inspired by the always-incredible work on Dolphin, I decided to write myself an NES emulator called Corrosion a couple years ago. I managed to get it working well enough to play basic games, and then put the project aside. This post is not about the emulator itself, but rather the JIT compiler I added to it last year and the upgrades to said JIT compiler I’ve made over the past few weeks.
rust  jit  emulator  4* 
june 2018 by ianweatherhogg
Writing a Raytracer in Rust - Part 1 - First Rays | bheisler.github.io
Hello! This is part one of a short series of posts on writing a simple raytracer in Rust. I’ve never written one of these before, so it should be a learning experience all around.
So what is a raytracer anyway? The short version is it’s a computer program that traces the paths of simulated rays of light through a scene to produce high-quality 3D-rendered images. Despite that, it also happens to be the simplest way to render 3D images.
rust  ray  trace 
june 2018 by ianweatherhogg
Running Rust on the GPU with Accel | bheisler.github.io
For the past month or so, I’ve been working on a follow-up to my series on Writing a Raytracer in Rust. This time around, I’ll be talking about writing a GPU-accelerated Path Tracer. As always, I’m writing it in Rust - including the GPU kernel code. Compiling Rust for GPUs at this point is difficult and error-prone, so I thought it would be good to start with some documentation on that aspect of the problem before diving into path tracing.
llvm  rust  gpu  cuda  windows 
june 2018 by ianweatherhogg
Implementing a Blockchain in Rust
This is another one of those blog posts teaching you how to implement a simple, Bitcoin-like blockchain. It has been heavily inspired by Ivan Kuznetsov’s awe...
bitcoin  block  chain  rust  5* 
june 2018 by ianweatherhogg
# Mix Rust Code (WebAssembly) with Vue Component #basic
Busy is a decentralized social network based on Steem blockchain
vue  rust  web  assembly 
may 2018 by ianweatherhogg
Pushy Automata
A web log. Mostly about computer science-y stuff.
rust  automata 
may 2018 by ianweatherhogg
Implementing Finite Automata (Part 2)
A web log. Mostly about computer science-y stuff.
rust  automata 
may 2018 by ianweatherhogg
Implementing Finite Automata (Part 1)
A web log. Mostly about computer science-y stuff.
rust  automata 
may 2018 by ianweatherhogg
« earlier      
per page:    204080120160

Copy this bookmark:





to read