Friendica
treefit
treefit

treefit

treefit@fosstodon.org

treefit

treefit@fosstodon.org

Developer🧑‍💻 @ #deltachat with focus on #deltachat-desktop, sometimes also working on #deltachat-core and #deltachat-iOS.

I ❤️ #rust-lang, like #typescript and dislike coding in java.

ActivityPub
2022-10-24 13:59:43 2022-10-24 13:59:42 2022-10-17 23:30:56 1056593

treefit
treefit
mastodon - Link to source

treefit

2 years ago • •

treefit

2 years ago • •


That's how much handwritten written code is needed to call a new core function from desktop, before and after jsonrpc. Many thanks to #rust proc macros for making this possible.
screenshot shows the code needed to call a single new core function from the desktop ui
two columns, left is the code before jsonrpc which is comprise of 55 lines across 7 files. on the right side is the new code using jsonrpc  it is only 5 lines in 2 files: just the file which it's defined in and the file using the method
#rust
  •  Languages
  •  Search Text
  •  Share via ...
⇧