4 ms·
Re: WASM -- https://github.com/nikki93/ng-public https://github.com/nikki93/ng-public -- Public repo for a game side project I've been working on that does Nim
by nikki93 6y ago
Re: WASM -- https://github.com/nikki93/ng-public https://github.com/nikki93/ng-public -- Public repo for a game side project I've been working on that does Nim -> C/C++ -> WASM (native desktop also works, iOS probably works (have used the same build system for C++ iOS before) and Android can be made to work). One of the modules involved wraps entt which is a template-heavy C++ library and not many languages can actually wrap with just a cdecl-y ffi layer.
Re: borrow checking: https://nim-lang.org/docs/manual_experimental.html#view-types https://nim-lang.org/docs/manual_experimental.html#view-type... It's still pretty early and also IME the mix of arc (which is determinstic) with manually managed memory (esp. through some data structure that manages entity data like entt) has been pretty nice.