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
From my understanding, the disadvantages would be requirement of distributing precompiled shared libraries (so the host system could work without build tools; assuming tcc or αpε is not used instead). Other disadvantages would be the lack of namespaces, and types not being as complete as they are in other languages like FORTRAN and ASN.1.
But it would be far more portable to target C than any other language, right?
(yes yes I know some of the languages that can be targeted with Kaitai [Nim] can produce C code;)
So maybe it's more of a future request, extending the Nim target to create:
wrappable C libraries
FFI access code (generated automatically) in dozens of programming languages
release these to their respective app stores (pip install, cargo install, &etc.)
Thoughts?
The text was updated successfully, but these errors were encountered:
SamuelMarks
changed the title
Why not C? - C can be access by any language and run on any platform
Why not C? - C can be accessed by any language and run on any platform
Dec 5, 2023
From my understanding, the disadvantages would be requirement of distributing precompiled shared libraries (so the host system could work without build tools; assuming tcc or αpε is not used instead). Other disadvantages would be the lack of namespaces, and types not being as complete as they are in other languages like FORTRAN and ASN.1.
But it would be far more portable to target C than any other language, right?
(yes yes I know some of the languages that can be targeted with Kaitai [Nim] can produce C code;)
So maybe it's more of a future request, extending the Nim target to create:
pip install
,cargo install
, &etc.)Thoughts?
The text was updated successfully, but these errors were encountered: