←back to thread

271 points mithcs | 1 comments | | HN request time: 0s | source
Show context
krapht ◴[] No.45953071[source]
C++: "look at what others must do to mimic a fraction of my power"

This is cute, but also I'm baffled as to why you would want to use macros to emulate c++. Nothing is stopping you from writing c-like c++ if that's what you like style wise.

replies(7): >>45953166 #>>45953176 #>>45953287 #>>45953573 #>>45954009 #>>45954016 #>>45961205 #
sesm ◴[] No.45954009[source]
Embedded CPU vendors not shipping C++ compilers is what usually stops people.
replies(2): >>45955450 #>>45956852 #
kjs3 ◴[] No.45955450[source]
Yup. And I like the implication that Rust is 'cross platform', when it's 'tier 1' support consists of 2 architectures (x86 & arm64). I guess we're converging on a world where those 2 + riscv are all that matter to most people, but it's not yet a world where they are all that matter to all people.

[1] https://doc.rust-lang.org/beta/rustc/platform-support.html

replies(2): >>45956560 #>>45960439 #
1. dontlaugh ◴[] No.45956560[source]
The converging is happening in practice. I’m using a keyboard running RMK for firmware, written in Rust.