Comments (1)
We tried using the asterius Haskell to WebAssembly compiler.
A validity predicate must be made available to the WASM runtime as a top-level function with a particular type-signature. So we need to be able to export Haskell functions via FFI using Asteruius.
We tried using foreign export javascript
as described in tweag blog and in the Asterius test case. But this did not make the exported symbol available in the WASM output.
There's an open issue from 2020 for the same issue with exporting Haskell symbols that has not been looked at by maintainers of Asterius.
It seems like Asterius is not maintained. For example the project roadmap has not been updated since Q3 2021.
In summary we didn't find a way to get the FFI to work and so we can't use Asterius to compile validity predicates for use on the Anoma ledger.
from juvix.
Related Issues (20)
- Multiway `if` syntax
- Formatting of imports breaks lines unnecessarily
- Fully respect _evalOptionsNoFailure in the Core evaluator
- Update the Core `Check` transformations to detect unsupported builtins
- `juvix html` has high memory usage
- Inlining doesn't always work
- Parallelize the pipeline
- Detect import dependencies during setup phase
- Investigate the potential for implementing a RISC Zero backend
- Make the global `package` and `package-base` packages immutable
- Avoid breaking changes to `Package.juvix` caused by updates to standard library HOT 1
- Deduplicate identical Package dependencies HOT 1
- Internal-to-Core translation is limited to type-declaring axioms HOT 3
- Support Anoma serialisation primitives as Juvix builtin axioms
- Support Anoma cryptographic primitives as Juvix builtin axioms HOT 1
- Make curly braces in `case` optional HOT 1
- Crash with cryptic internal error instead of a user-level type error
- Remove checking for fragile modules
- Refactor: modules outside of REPL should not refer to Artifacts
- Implement a Rust runtime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juvix.