---
title: "DevDooTemp1 (@devdootemp1) | Hashnode"
description: "Doo'dle. Read the latest articles by DevDooTemp1 on Hashnode."
url: "https://hashnode.com/@devdootemp1"
---

@devdootemp1

# DevDooTemp1

@devdootemp1 · Joined December 2024

Doo'dle

### [on naming things (vars, const, etc)](https://devdootemp.hashnode.dev/on-naming-things-vars-const-etc?utm_source=hashnode&utm_medium=feed)

relevant: https://okky.kr/user/199819/articles/1557928 People seems to be obsessed with "snake\_case" vs "camelCase" well, I beg to differ: why not both? "item\_from\_rick\_and\_morty""itemFromRichAndMorty

1 min read · [devdootemp.hashnode.dev](https://devdootemp.hashnode.dev/on-naming-things-vars-const-etc?utm_source=hashnode&utm_medium=feed)

[Jul 3](https://hashnode.com/posts/on-naming-things-vars-const-etc/6a4744a895539609fe526c75)

### [fooling rustfmt to get "consistent" line-breaks](https://devdootemp.hashnode.dev/fooling-rustfmt-to-get-consistent-line-breaks?utm_source=hashnode&utm_medium=feed)

related: https://www.phoronix.com/news/Linus-Torvalds-Rust-Formatting seems… rustfmt doesn’t provide a lot of options when it comes to formatting. https://www.reddit.com/r/rust/comments/1nwt8nm/linus\_torvalds\_vents\_over\_completely\_crazy\_rust/ n...

1 min read · [devdootemp.hashnode.dev](https://devdootemp.hashnode.dev/fooling-rustfmt-to-get-consistent-line-breaks?utm_source=hashnode&utm_medium=feed)

[Oct 7, 2025](https://hashnode.com/posts/fooling-rustfmt-to-get-consistent-line-breaks/68e4fa54983b59d0b3492516)

### [pmap 으로 메모리 지켜보기 👀](https://devdootemp.hashnode.dev/pmap?utm_source=hashnode&utm_medium=feed)

으어 메모리 사용이 9기가로 늘어나있다ㅠleak 잡는게 실패인가…? 메모리 지켜봐야지ㅠgrafana 도 있지만.. 최대한 가벼운(?) 걸 써보고 싶었다 #!/usr/bin/env bash # need: # pid= if \[ -n "$1" \]; then pid="$1" else if \[ -n "$PID" \]; then pid="$PID" else echo "missing pid arg & mi...

1 min read · [devdootemp.hashnode.dev](https://devdootemp.hashnode.dev/pmap?utm_source=hashnode&utm_medium=feed)

[Jan 22, 2025](https://hashnode.com/posts/pmap/6790c708b56fd20b11df79f6)

### [jemalloc!](https://devdootemp.hashnode.dev/jemalloc?utm_source=hashnode&utm_medium=feed)

유튭에서 자꾸 “자말락” 이라 해서 자바?관련 인줄 알았지만 1도 관련 없다 htop/btop 에선 20gb 까지 늘어나지만…heaptrack 에선 “4gb 만 썼는데?” 라 나와서 heaptrack 버그인 줄 알았다 문제는 기본 allocator 가 메모리를 웅켜쥐고 잘 안 놓는거였다ㅠ 매번 생성하는 immutable 변수들 몇개를 드러운 mutable 변수들로 써서 재사용하게 했지만그래도 문제는 여전해서… jemalloc 도입...

1 min read · [devdootemp.hashnode.dev](https://devdootemp.hashnode.dev/jemalloc?utm_source=hashnode&utm_medium=feed)

[Jan 6, 2025](https://hashnode.com/posts/jemalloc/677c6ba7643395e4f8dfbccd)

### [rust 에서 thread 안에서 panic 은 🐭도🐦도 모르게 사라진다ㅠ](https://devdootemp.hashnode.dev/rust-thread-panic?utm_source=hashnode&utm_medium=feed)

내 예쁘고 믓찐 thread 들 안 어디선가 panic 나온게 heaptrack 에 찍히는데… 문제는 이게 콘솔에 안 찍힌다…! 거기에… 이게 쌓이면 메모리 릭의 원인이 되기도 한다… (매우 작고 소중한 leak) https://stackoverflow.com/questions/35988775/how-can-i-cause-a-panic-on-a-thread-to-immediately-end-the-main-thread해결책은 무조건 join ...

1 min read · [devdootemp.hashnode.dev](https://devdootemp.hashnode.dev/rust-thread-panic?utm_source=hashnode&utm_medium=feed)

[Jan 5, 2025](https://hashnode.com/posts/rust-thread-panic/677abc90b45ca85d69ea7bbf)
