Better HN
topnewbestaskshowjobs
Log inSign up

tmsln

24 karma · joined Feb 1, 2023 (3y ago) · 11 submissions

Submissions

comment 5d ago · link · parent

Here are some often forgotten performance settings:

  pragma journal_mode = WAL;
  pragma synchronous = normal;
  pragma temp_store = memory;
  pragma mmap_size = 30000000000;
  pragma page_size = 32768;
  pragma cache_size = -1048576;
"Rule 2. Measure."

2.

Design for Understandability(jschuster.org ↗)

3 points · by tmsln · 5d ago · discuss

3.

Why Zig over Rust for Systems Programming(mtsoukalos.eu ↗)

1 points · by tmsln · 1w ago · discuss

comment 1mo ago · link · parent

https://philipotoole.com/testing-rqlite-read-consistency/

5.

Microgpt Lab(ko-microgpt.vercel.app ↗)

2 points · by tmsln · 8mo ago · discuss

comment 3y ago · link · parent

Beej's guide to C programming is very helpful:

https://beej.us/guide/bgc/html/split/unicode-wide-characters...

7.

Demystifying the Restrict Keyword (2006)(cellperformance.beyond3d.com ↗)

33 points · by tmsln · 3y ago · 1 comment

comment 3y ago · link · parent

> Where only performance matters, oop wins

If you tell that Mike Acton he will give you an unhappy face. [0]

In fact OOP can hurt performance a lot.

[0] https://m.youtube.com/watch?v=rX0ItVEVjHc

comment 3y ago · link · parent

> A simpler approach is the addition of struct member attributes, and is under discussion and early development by both the GCC and Clang developer communities.

Does anyone know where I can follow these discussions?