Resource lifetime
A Drop trait and scope-based cleanup make destruction explicit and deterministic.
Systems engineer · Jammu, India
I build compilers, kernels, storage systems, and local-first tools.
Computer Science Engineering student working close to the machine: Rust, C/C++, Go, LLVM, Linux, and the boundaries between software layers.

01 / Silver
Silver is an experimental, statically typed systems programming language implemented in Rust and lowered through LLVM. It is a place to explore language design decisions end to end — from syntax and diagnostics to ownership, runtime behavior, and tooling.
github.com/CierCier/silver ↗A Drop trait and scope-based cleanup make destruction explicit and deterministic.
move transfers ownership; escape and move-out checks catch classes of invalid lifetime use.
LLVM code generation produces optimized native code with debug information.
aglsp provides hover, definitions, references, rename, completion, signatures, and semantic highlighting.
The interesting part is the boundary: move makes the owner change explicit.
struct Buffer {
i32* data;
i32 length;
}
impl Drop<Buffer> for Buffer {
void drop(Buffer* self) {
if (self.data != (i32*)0) {
free(self.data);
self.data = (i32*)0;
}
}
}
Buffer a;
a.init(32);
Buffer b = move a; // b owns the buffer nowCleanup is attached to the scope and still runs before an early return.
i32 main() {
i32 config = open("config");
defer { close("config", config); }
i32 pool = open("pool");
defer { close("pool", pool); }
return 0; // cleanup runs in LIFO order
}A custom type can participate in for-in iteration without hidden allocation.
impl Iterator<Counter> for Counter {
type Item = i32;
Optional<i32> next(Counter* self) {
if (self.current < self.end) {
i32 value = self.current;
self.current = self.current + 1;
return Optional<i32>.some(value);
}
return Optional<i32>.none();
}
}This is positioning, not a benchmark: Silver explores a smaller design space between C-level control and Rust-style safety checks.
| Concern | Silver | Rust | C |
|---|---|---|---|
| Deterministic cleanup | drop trait + scope exit | Drop + borrow checker | manual free() |
| Ownership transfer | move + move-out checks | moves + borrow checker | convention |
| References | &T / &mut T + escape checks | borrow checker | raw pointers |
| Iteration | custom Iterator lowering | custom Iterator lowering | manual loops |
02 / Work
A self-hosted object storage and CDN project. I led the S3 compatibility effort, working against the behavior clients and conformance suites actually expect.
Higher-half x86_64 kernel
Preemptive SMP scheduler, bitmap/slab/heap allocators, ACPI discovery, VFS, ELF loading, syscalls, and COW faults.
Repository ↗Local semantic search engine
Rust daemon-client architecture with Tantivy, HNSW, FastEmbed-RS, ONNX Runtime, and hybrid ranking.
Repository ↗On-device Wayland speech-to-text
PipeWire → VAD → whisper.cpp with GTK4 layer-shell UI and virtual-keyboard text injection.
Repository ↗Stereo terrain vision
Python/OpenCV pipeline for disparity, terrain cost maps, 3D inspection, and A* pathfinding over planetary imagery.
03 / Résumé
GDGoC MIET Jammu
Led infrastructure setup with Docker and CI/CD; organized technical workshops and engineering events.
Linux kernel (ALSA), rsclip-wl, and other projects
An ALSA quirk for the HP Pavilion 14-ec1xxx mute LED was merged upstream in sound/pci/hda/patch_realtek.c.
Model Institute of Engineering and Technology, Jammu
CGPA 8.2 / 10
C · C++ · Rust · Go · Python · Bash · Linux · Networking · HTTP · Compiler design · Operating systems · LLVM · Docker · GitHub Actions · ONNX Runtime · OpenCV
Lightweight C HTTP server library with routing, JSON parsing, and file handling.
Repository ↗Screenshot recall utility for Wayland and Linux desktop workflows.
Repository ↗Earlier small kernel project that preceded Tori.
Repository ↗C arena allocator experiment focused on manual memory management.
Repository ↗04 / Contact