<p></p>
Hi Christoph, hi all,<br>
<br>
> On Aug 31, 2021, at 1:53 AM, Christoph Thiede ***@***.***> wrote:<br>
> <br>
> <br>
> Why don't we create multiple builds for the different Windows versions?<br>
> <br>
<br>
That would probably cause disruption to naming schemes etc.  an easier way would be to change the code so that<br>
- if compiled on a system older than Windows 8 the old ticket variable code is used<br>
- if compiled on Windows 8 or later then<br>
   - at startup the Windows is version is cached in a variable and,<br>
   - depending on the variable either the new or the old code is evaluated<br>
<br>
So we keep a single build, and a single version of the code base. Normal builds remain backward compatible. One can still compile on an older system and get a functional, albeit more fragile vm.<br>
<br>
Note that one could also use the get symbol from dll api (LoadSymbol? can’t remember) to so that a vm built on an older version can use the new api when run on later versions but IMO this is wasted effort and unnecessary complexity<br>
<br>
Finally, one could consider implementing my adaptive approach that ensures a monotonic clock. But the Windows 8 api makes things so simple it’s (arguably) a lot of work for no gain.<br>
<br>
> —<br>
> You are receiving this because you were mentioned.<br>
> Reply to this email directly, view it on GitHub, or unsubscribe.<br>
> Triage notifications on the go with GitHub Mobile for iOS or Android. <br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/588#issuecomment-909280934">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW5HNVQBEQKOVSVGRX3T7TP73ANCNFSM5DCZ3TBA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AIJPEW7WBNTQDCCMUUMTSEDT7TP73A5CNFSM5DCZ3TBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGYZINJQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/588#issuecomment-909280934",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/588#issuecomment-909280934",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>