3 ms·
You can kind of do this is in C# with StructLayoutAttribute. One of the few high level languages you can do it with.
by samfisher83 10y ago
You can kind of do this is in C# with StructLayoutAttribute. One of the few high level languages you can do it with.
- blaisio 10y agoI hate to well actually but... well actually basically any language that allows interop with C will have this feature since it's basically the only way to guarantee that the struct layouts will be compatible.
- pjmlp 10y agoAda, Modula-2, Modula-3, Eiffel, D, Rust, Turbo Pascal, Free Pascal, Delphi, ... There are more than just a few.