3 ms·
> Just like it is impossible to have an ANSI C library without Assembly or language extensions. Extended Algol had what we would call intrisics nowadays. Sure.
by AnimalMuppet 11y ago
> Just like it is impossible to have an ANSI C library without Assembly or language extensions. Extended Algol had what we would call intrisics nowadays.
Sure. It makes your "zero lines of assembly" claim somewhat less impressive, though...
- pjmlp 11y agoIntrinsics aren't the same as Assembly. Intrinsics semantics can be validated by the compiler. https://en.wikipedia.org/wiki/Burroughs_large_systems#ESPOL_and_NEWP https://en.wikipedia.org/wiki/Burroughs_large_systems#ESPOL_... "In fact, all unsafe constructs are rejected by the NEWP compiler unless a block is specifically marked to allow those instructions. Such marking of blocks provide a multi-level protection mechanism." "NEWP programs that contain unsafe constructs are initially non-executable. The security administrator of a system is able to "bless" such programs and make them executable, but normal users are not able to do this." "NEWP has a number of facilities to enable large-scale software projects, such as the operating system, including named interfaces (functions and data), groups of interfaces, modules, and super-modules. Modules group data and functions together, allowing easy access to the data as global within the module. Interfaces allow a module to import and export functions and data. Super-modules allow modules to be grouped." Sounds familiar? Rust like safety in 1961, but lets praise C instead.