[Info-vax] OO version of Macro-32, was: Re: CRTL and RMS vs SSIO
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Thu Oct 14 19:05:47 EDT 2021
On 2021-10-14 18:49:52 +0000, Simon Clubley said:
> On 2021-10-13, Stephen Hoffman <seaohveh at hoffmanlabs.invalid> wrote:
>>
>> Not that I'd expect to ever meet Macroo32.
>>
>
> :-)
>
> What would an object orientated version of Macro-32 even look like ? :-)
Um, an abomination?
Of the more recent OO options that can work for embedded and can work
directly with hardware registers, prolly Rust with one or more crates
for the platform hardware involved.
https://doc.rust-lang.org/stable/embedded-book/
For the next decade or so and what would be typical for refactoring or
rewriting existing OpenVMS Macro32, it'll probably get rewritten into C.
Possibly C with either classic OpenVMS built-ins or with asm mixed in.
Somewhat longer term, I'd consider a mix of Zig and C.
Neither of which are OO, of course.
If I'm working with application code and not working directly with
hardware registers, there are many fine choices, OO and otherwise.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list