Re:Nimforum: Lightweight alternative to Discourse written in...
by sedatk on Friday August 27, 2021 @02:32PM
(#28331399)
Isn't that more on the library that has globals registered rather than the application which isn't supposed to be shared?
[ Parent
| on HN ]
Re:Nimforum: Lightweight alternative to Discourse written in...
by ptx on Friday August 27, 2021 @03:03PM
(#28331743)
Yes, Nim being the library in this case. These names are not defined by the application but are part of the code that the Nim compiler generates for any application.
If you wanted to integrate some Nim code in an existing JS application and your existing application already defines the name "raiseException", or "unhandledException", or "framePtr", or "lastJSError", or ... that's going to be a problem.