Tag: rust

Test-driving Rust: array slices and lifetimes

Last month I took an exciting new class on Coursera called Bioinformatics: finding hidden messages in DNA, sequencing antibiotics, stuff like that. In the class they introduce algorithms to work with DNA sequences, which, from the algorithm’s perspective, are just vectors of characters-nucleotides. The graded exercises provide you with some input files, you run your […]

Rust syntax highlighter for Far Colorer

Published a minimal schema for Rust syntax highlighting for FarColorer. Without the new schema, FarColorer plugin in Far Manager picks C++ syntax highlighter for Rust source code files, and while it does look somewhat “rusty”, it is difficult to read: With the new schema: Rust keywords are recognized; comments are recognized (without nested syntax highlighting […]