Can we do system calls like that in D?

rempas rempas at tutanota.com
Tue Nov 9 11:52:10 UTC 2021


There is an amazing feature in a language that is is in alpha 
called [vox](https://github.com/MrSmith33/vox). Vox is actually 
inspired from the D language. This feature is described 
[here](https://github.com/MrSmith33/vox/blob/master/spec/index.md#built-in-attributes) and It's an attribute. I'm talking specifically about the `@extern(syscall, <num>)` attribute that let's you make an system call and bind it under a name without having any library linked or without having to write any assembly. Is this possible in D?


More information about the Digitalmars-d-learn mailing list