BindBC codegen survey

Mike Shah mshah.475 at gmail.com
Thu Sep 11 00:57:20 UTC 2025


On Wednesday, 10 September 2025 at 10:42:49 UTC, IchorDev wrote:
> On Tuesday, 9 September 2025 at 22:42:29 UTC, Mike Shah wrote:
>> [...]
>
> Wow, that's so cool! :)
> I noticed at [11:10 in Episode 
> 2.1](https://youtu.be/V7BNGMX7U9I?t=670): you say 'you can 
> decide if you want to link statically', but this might be 
> misleading. The option you're referring to actually enables 
> static *bindings*. It's a common misconception, but static 
> *bindings* ≠ static *linking*:
> - **Dynamic bindings**: only support dynamic *linking* (since 
> the library is loaded by your code)
> - **Static bindings**: can be either statically *linked* **or** 
> dynamically *linked*. If they're dynamically linked, then the 
> compiler generates its own library loading code and runs it 
> before your code is ever called into.
>
> [...]
Good catch! Thank you for pointing me to the right resources 👍👍


More information about the Digitalmars-d mailing list