Syrus
b7dc092256
Fixed native compilation
2020-06-13 01:21:10 -07:00
Syrus
cd1138d520
Added support for native calls to dynamic functions
2020-06-12 20:50:24 -07:00
Syrus
21389f34ce
Improved docs
2020-06-12 19:01:58 -07:00
Mark McCaskey
70e25a7396
Emscripten compiles with no errors!
2020-06-10 17:03:44 -07:00
Mark McCaskey
f9d8249a2f
Update Emscripten to use new env and new types
2020-06-10 11:52:17 -07:00
Mark McCaskey
d492084f63
Fix tests
2020-06-09 14:35:42 -07:00
Mark McCaskey
7eb54950f1
Revert changes to Exportable
2020-06-09 13:26:12 -07:00
Mark McCaskey
a8faa2eb9c
Add benchmark with many parameters
2020-06-09 13:14:12 -07:00
Mark McCaskey
5f5c7d6725
Clean up and comment out some NativeFunc tests for now
2020-06-09 12:36:07 -07:00
Mark McCaskey
eb928e739c
Implement host functions in 1 case, optimize NativeFunc::call
...
`NativeFunc::call` is about 8% faster in the case we're benchmarking
by avoiding allocating a vector for the params / returns, instead we
do logic to determine which is larger and use that, conditionally
copying it back to the rets array if needed.
2020-06-09 11:35:58 -07:00
Mark McCaskey
8530e5eb55
Implement Exportable for NativeFunc
2020-06-08 16:07:22 -07:00
Mark McCaskey
e2b6041a65
Add benchmark
2020-06-08 13:58:21 -07:00
Mark McCaskey
b46ea5b9cb
Get NativeFunc passing basic tests
2020-06-08 12:53:00 -07:00
Mark McCaskey
d1429fb18b
Fix up macro issue
2020-06-04 16:41:57 -07:00
Syrus
09abc79bf6
Macros don’t work in API but work in common crate
2020-05-03 17:13:07 -07:00