extend Nimony until it compiles most Nim 2.0 code out there
Sounds like the most smooth upgrade path
missing thread local storage, atomics, calling conventions and DLL support
Well okay then it seems there's a huge barrier. Anyway, thanks for your kind elaboration!
Curious about point 2: is the native code translator going to be a sort of "roll your own" generator ...
Yes, as I've lots of ideas how to do that in a reasonable simple way that neverthells produces competitive machine code. Don't hold your breath though, maybe I'll never find the time to implement it.
Totally understandable, I think in the long run that would be a huge plus as it enables some incredible stuff (something similar to go cross compilation story in nim would be absurdly good for example)
Two questions in case a future were this happen will become reality:
How would this interact with nim incredible FFI story and C interop? My intuition tells me there is a tradeoff here but maybe I'm wrong
Well yes, exactly, .emit cannot be supported easily.
Would you be interested in supporting many targets or just x64/arm?
Just these two plus some GPU architecture...
I do hope we can keep C as a target though, since it makes the language super simple to use in embedded contexts for practically all hardware ever made.
I share the same hope that C will remain a compilation target. While I'm excited about the development of Nimony and its new features, if it cannot use .emit or work directly with C code, this might be the reason that keeps me sticking with Nim2.