Max Graey
206e4c4565
Improve n-body bench env ( #457 )
2019-02-21 02:14:35 +01:00
Daniel Wirtz
0c64f21250
Rework resolver ( #489 )
...
* Rework IR and resolver to use nested lookup tables
* Integrate types into IR
* Make components prefer IR, slimmed down AST
* Implement `export *`
* Add `@lazy` annotation and remove `--noTreeShaking`
* Add `@start` annotation and remove magic `main`
* Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
dcode
20f4092eb2
Update Binaryen and other dependencies; Update dist files
2019-01-09 13:02:47 +01:00
dcodeIO
4f95dce6e2
Do not emit debug info by default
...
This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
2018-11-09 12:28:10 +01:00
Daniel Wirtz
2bdc2a72f1
Use stack IR when emitting text format ( #312 )
2018-11-08 08:04:24 +01:00
Max Graey
afb8fe7762
Update Rust n-body build ( #294 )
2018-10-26 18:25:09 +02:00
dcodeIO
87ec6c59ce
Update examples
2018-10-11 09:09:56 +02:00
Daniel Wirtz
f7c734789e
Update Binaryen to latest; Various fixes
2018-10-11 08:49:08 +02:00
dcodeIO
a1e2071da6
Fix n-body visualization
2018-07-22 02:55:46 +02:00
Max Graey
813d2e33c8
Update n-body sources and binary for rust. Add bench results ( #172 )
2018-07-21 14:11:39 +02:00
dcodeIO
26e46f6f86
Reintroduce builtin decorator so these can appear anywhere in stdlib again
...
Avoids wrapping an undocumented function within 'memory.size' for example.
2018-07-19 02:10:04 +02:00
dcodeIO
a1b75b69b7
Rename memory instructions; Rework constant handling
2018-07-18 23:49:32 +02:00
dcodeIO
27e61f8f67
Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
2018-06-27 19:03:39 +02:00
dcodeIO
188b4e48ce
Try parsing signatures only if node is callable, see #149 ; Minor refactoring
2018-06-24 01:04:24 +02:00
dcodeIO
9d25f78fc1
Implement 'this' context parsing and serialization; Other minor improvements
2018-05-30 16:22:56 +02:00
dcodeIO
e049e72171
Fix a few issues with TSD generation; Update Binaryen
2018-05-21 10:31:00 +02:00
Max Graey
25cf51833d
Improve rust build of the n-body example ( #112 )
2018-05-14 17:49:39 +02:00
Daniel Wirtz
50f6c1c460
Update internal ABI to zero/sign-extend where necessary only ( #87 )
2018-05-06 00:00:54 +02:00
Max Graey
8997561670
Update dependencies ( #93 )
2018-05-03 18:25:32 +02:00
Max Graey
061976ee0c
Add rust n-body version for comparison ( #88 )
2018-05-03 02:12:03 +02:00
dcodeIO
8b5d1d7f74
Minor refactoring; Fix n-body TS build
2018-04-28 18:07:20 +02:00
dcodeIO
6d6d1dddcf
Improve inlining where locals can be aliased; Add a crude mechanism for explicit unchecked array accesses
...
The `unchecked` builtin should be handled with ultimate care and it would be a lot better if there'd be a mechanism doing this automatically.
2018-04-25 05:04:35 +02:00
dcodeIO
391db28fe2
Always try to eliminate branches if tree-shaking is enabled
2018-04-24 23:11:11 +02:00
dcodeIO
63aa648ace
Slim down indexed access as far as currently possible
...
Interestingly, the same code written as statements is significantly slower. See notes.
2018-04-23 23:57:15 +02:00
dcodeIO
de98a19eb8
Implement dynamic array literals
2018-04-23 22:49:04 +02:00
dcodeIO
88b00c1689
Use the element type annotated on the setter when doing indexed sets
2018-04-23 16:17:33 +02:00
dcodeIO
78a3dcfaf0
Compare n-body to asmjs and js
2018-04-23 15:04:04 +02:00
dcodeIO
80d104201c
Add ol' N-body benchmark to examples fwiw
2018-04-23 02:43:03 +02:00