Remix.run Logo
dmitrygr 8 months ago

For personal projects, I use C because it is fun and brings me joy without getting in my way, while Rust brings me pain, and (when i must seek help) derision from the community. Here, I choose fun and joy.

For work I use C because that is what all existing non-toy kernels are written in and will continue to be written in until long after i've retired, been buried, and decomposed. Here, i choose what employers want and will pay for.

johnnyanmac 8 months ago | parent [-]

> i choose what employers want and will pay for.

with the US mandate away from unsafe languages, that may change faster than you think. Unless you are already quite close to retiring.

dmitrygr 8 months ago | parent [-]

Mandate? When did the president sign a law written by congress banning C? And even then, the courts have ruled programming as speech, so first amendment applies. I’m not even remotely considering the possibility of letting the thought of pondering maybe worrying cross my mind here.

johnnyanmac 8 months ago | parent | next [-]

Mandate is a strong word, but this month: https://news.ycombinator.com/item?id=42013379

"For existing products that are written in memory-unsafe languages, not having a published memory safety roadmap by Jan. 1, 2026, is dangerous and significantly elevates risk to national security, national economic security, and national public health and safety,"

Obviously they can't ban a language. But if you work in the public sector, are a defense contractor, or otherwise have companies which do or want to do work for the government (which yes, includes most FAANGs), this will influence quite a bit of decisions in the US tech industry.

8 months ago | parent | prev [-]
[deleted]