Skip to content

Instantly share code, notes, and snippets.

View wallabra's full-sized avatar

Gustavo Ramos Rehermann wallabra

View GitHub Profile
@wallabra
wallabra / grouped_slotmap.rs
Created February 16, 2025 18:25
Grouped Slotmap
#[derive(Clone, Debug)]
pub struct GroupedKey<K: Clone> {
group_key: K,
item_key: usize,
}
impl<K> GroupedKey<K> {
fn new(group_key: K, item_key: usize) -> Self {
Self {
group_key,
@wallabra
wallabra / hello-world-linux-6502.s
Last active July 21, 2025 17:52
hello world in 6502 assembly with memory mapped linux syscalls
// = hello world in 6502 assembly with memory mapped linux syscalls
// :author: wallabra
// :email: [email protected]
//
// literate 6502 assembly with asciidoc comments
//
// * uses Linux syscalls
//
// addresses exposed by 6502 VM::