Better HN
topnewbestaskshowjobs
Log inSign up

fools

1 karma · joined Apr 20, 2020 (6y ago) · 5 submissions

Submissions

comment 6y ago · link · parent

Yes, I write fairly boring applications. But the point is that C is mostly cross-platform for those boring applications, whereas the the "cross-platformness" of CSS and SQL fall apart for even the simplest of tasks.

comment 6y ago · link · parent

Rust has compile-time warnings for when you don't use the result of a function whose return type is marked as #[must_use].

You can easily silence such a warning by writing `let _ = f(...)`, though, but I don't think that's a bad thing.

comment 6y ago · link · parent

If I write a C program, especially with the appropriate compiler warnings enabled, or some filesystem code, there is a high chance that it will work across platforms with no further coding necessary. Anecdotally, the same cannot be said for CSS or SQL.

It doesn't matter much for SQL, because I always know what database I'm using, but for CSS, it's a massive pain.

comment 6y ago · link · parent

You say "merely", but minimizing fraud from buyers and sellers is a very difficult problem.

comment 6y ago · link · parent

I'm guessing you can get pretty far by compiling the chunks into meshes at multiple levels of detail (2x2, 4x4, 8x8, etc.), each with the same (or similar) number of vertices.

https://en.m.wikipedia.org/wiki/Draw_distance