You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current registry module is kind of sparse and has an unstable API, there are definitely some enhancements that I think could be made here:
Make module available at compile-time - this can be useful for interfacing with certain libraries and other utilities, e.g. getting path for Windows SDK. My one worry is that the Nim compiler might trip AVs depending on what procs are exposed - but it might not since registry manipulation is a common activity for many applications.
/ path joining procedure similar to std/os module. (Maybe we should just export the std/os one, since registry paths on Windows also use \ for splits)
The alternative is that we renege on this and deprecate the module for the standard library and instead just make it a nimble one, but with that we could lose the possibility for compile-time procedure calls (especially because compile-time FFI beyond the core standard library/nimscript stuff is up in the air)
The text was updated successfully, but these errors were encountered:
The current registry module is kind of sparse and has an unstable API, there are definitely some enhancements that I think could be made here:
/
path joining procedure similar tostd/os
module. (Maybe we should just export thestd/os
one, since registry paths on Windows also use\
for splits)hasKey
for key detectiongetKey
(return a variant type?)HKLM
,HKCU
for root keysThe alternative is that we renege on this and deprecate the module for the standard library and instead just make it a nimble one, but with that we could lose the possibility for compile-time procedure calls (especially because compile-time FFI beyond the core standard library/nimscript stuff is up in the air)
The text was updated successfully, but these errors were encountered: