News for hackers. Stuff that matters.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by lrem on Sunday March 07, 2021 @05:13AM (#26374674)
Why keep two competing languages in your toolbox? I personally do C++ and Python and will pretty much never voluntarily choose another language from their respective niches... Except I'm looking forward to replacing C++ with Rust (any year now), at which point I'll not choose C++ again.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by flohofwoe on Sunday March 07, 2021 @08:22AM (#26375651)
Because no single language can (nor should) be a good match for solving all types problems. For this reason it's better to be fluent in 5 (or so) small languages than one big language IMHO.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by lrem on Sunday March 07, 2021 @08:41AM (#26375744)
Are we still talking general purpose languages? What is your list of five languages?
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by flohofwoe on Sunday March 07, 2021 @09:01AM (#26375893)
Most used first: C (C99 is different enough from the common C/C++ subset that it counts as its own language IMHO), Python, C++ (up to around C++11), Javascript, and recently more and more Zig. Less then I would like: Go (since currently I don't do much server backend stuff).

PS: forgot Objective-C, for coding against macOS APIs.

Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by FpUser on Sunday March 07, 2021 @04:49PM (#26380112)
>"Less then I would like: Go (since currently I don't do much server backend stuff)."

I do loads of server backend in C++. Never felt that I need anything else for this kind of stuff. Sometimes due to client's insistence I did it in other languages but it was their choice.