7 ms·
I was asking about some new languages. C and C++ are quite old.
by hansor 5y ago
I was asking about some new languages. C and C++ are quite old.
- OldGoodNewBad 5y agoThese new languages are way too big to build themselves on MS-DOS and there are already good compilers. And the runtime will be huge too, compared to native hosted compilers designed for a constrained platform. Nobody does embedded Rust or Go or whatever you have.
- hollerith 5y ago>Nobody does embedded Rust Oh yes they do. Rust is used for embedded work because (like C and unlike most languages) it is easy to arrange for the output of a Rust compiler to work without any runtime library.
- OldGoodNewBad 5y agoNo they don’t. I’ve never ever heard of embedded Rust. Not saying it’s impossible but it just doesn’t happen.
- fzzzy 5y agoThere has been a massive amount of embedded rust activity for at least 5 years.
- OldGoodNewBad 5y agoI just checked and while it’s promoted on the Rust site I can’t find a single embedded Rust product. If it existed it would surely be mentioned by the Rust Internet Defense Force. I certainly can’t find any evidence of “massive” Rust activity in embedded in the last half decade.
- hollerith 5y agoSearching on "Rust Embedded Microcontroller" on one of the big job boards yields 24 hits: https://www.indeed.com/q-Rust-Embedded-Microcontroller-jobs.html https://www.indeed.com/q-Rust-Embedded-Microcontroller-jobs....
- steveklabnik 5y agoSome relevant search terms: Oxide Computer, Ferrous Systems, Oxidize - The Embedded Rust Conference.
- hansor 5y agoThat's what I'm asking about. Those NIM, V-LANG etc claims to be super small and fast languages - but yet, they do not have small standalone compilers. In contrast there are plenty of C/C++ compilers - but I'm not interested in those languages(boring and DJGPP[gcc/g++ for DOS) are too big for machine with 120MB of disk space).
- ncmncm 5y agoC is old. C++20 is as modern as anything, and more than most.
- rerx 5y agoBut C++20 is very different from the dialect supported by an old Watcom compiler. :)
- ncmncm 5y agoTrue, but there is no need to confine oneself to an old Watcom compiler just to generate 80286 code. We had cross compilers even back then.
- hansor 5y agoAs old I meant date of creation of language. C++ is over 30 years old now, even if it changes A LOT between versions. For example NIM is "new", same with Rust.