-
Notifications
You must be signed in to change notification settings - Fork 279
feat: Timeline
extension
#2668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
feat: Timeline
extension
#2668
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14da4bd
to
4016a7f
Compare
7e57f59
to
fd1a6e7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP, WIP, WIP. Don't take a look at this for the moment.
To Do
Runtime
First off, we need to be able to run a Wasm module. On all platforms, it's done with
wasmtime
. On iOS, it's done with JavaScriptCore.JSContext::global_object
endoli/javascriptcore.rs#12JSObject::call_as_function
endoli/javascriptcore.rs#13&JSContext
fromJSObject::call_as_function
endoli/javascriptcore.rs#14JSObject::set_property
and::set_property_at_index
endoli/javascriptcore.rs#15JSValue::new_string_inner
to simplify code endoli/javascriptcore.rs#16JSValue::new_array
and other small clean up endoli/javascriptcore.rs#17JSValue::new_typed_array_with_bytes
endoli/javascriptcore.rs#18JSObject::call_as_constructor
endoli/javascriptcore.rs#19JSValue::new_function
endoli/javascriptcore.rs#20function_callback
procedural macro endoli/javascriptcore.rs#21#[function_callback]
can be used withoutjavascriptcore_sys
endoli/javascriptcore.rs#22JSClass
and addJSClassBuilder
endoli/javascriptcore.rs#23JSString::len
endoli/javascriptcore.rs#25JSTypedArray
type endoli/javascriptcore.rs#26For Wasm component model and WIT support, we use
wasmtime
built-in API, and JCO for JavaScriptCore. Contributions to those projects:--instantiation
to generate non-async code bytecodealliance/jco#254--js
with--instantiation
bytecodealliance/jco#273instanceFlags
bytecodealliance/jco#275Permissions
ABI
To Do items aren't defined yet, but roughly:
wasmtime
and JavaScriptCoreTimeline
manipulationPlug into the Matrix SDK