hi all,
Rust-core is getting more and more stable and is now part of recurring development
releases for Desktop, Android and iOS. Our overall release is tracked in
this github project:
https://github.com/orgs/deltachat/projects/15
Dev releases are generally published to the respective github-releases pages.
https://github.com/deltachat/deltachat-desktop/releases
https://github.com/deltachat/deltachat-android/releases
https://github.com/deltachat/deltachat-ios/releases
and for iOS they also go to Testflight from time to time.
If you can help with testing releases out, filing bug issues/PRs and
checking if things are fixed ... that's much appreciated, also by
the many people who you thus help to avoid encountering the error ;)
below you find a note on the cleanup efforts after Rust-core started
existing from a C2Rust translated code base. We've come a looong way!
cheers,
holger
Rust-core cleanup effort status
-------------------------------
We got rid a few days ago of the last "OK_TO_CONTINUE" patterns
which came from C-level "goto". So that column is gone and we now have
"unsafe fn" which indicate that a whole function is marked as unsafe.
We try to push this down to the actual function parts that are unsafe.
In any case, the current stats now look like this:
dc_tools.rs unsafe: 29 free: 10 unsafe-fn: 11 chars: 100
wrapmime.rs unsafe: 49 free: 1 unsafe-fn: 2 chars: 12
dc_mimeparser.rs unsafe: 22 free: 5 unsafe-fn: 10 chars: 27
dc_receive_imf.rs unsafe: 13 free: 3 unsafe-fn: 13 chars: 12
e2ee.rs unsafe: 27 free: 6 unsafe-fn: 0 chars: 5
pgp.rs unsafe: 1 free: 0 unsafe-fn: 1 chars: 19
imex.rs unsafe: 7 free: 3 unsafe-fn: 0 chars: 3
aheader.rs unsafe: 8 free: 0 unsafe-fn: 0 chars: 3
mimefactory.rs unsafe: 5 free: 2 unsafe-fn: 1 chars: 3
error.rs unsafe: 0 free: 0 unsafe-fn: 0 chars: 5
dc_strencode.rs unsafe: 1 free: 2 unsafe-fn: 0 chars: 2
stock.rs unsafe: 2 free: 1 unsafe-fn: 0 chars: 1
job.rs unsafe: 3 free: 0 unsafe-fn: 0 chars: 0
message.rs unsafe: 1 free: 2 unsafe-fn: 0 chars: 0
configure/mod.rs unsafe: 1 free: 0 unsafe-fn: 1 chars: 0
imap.rs unsafe: 1 free: 0 unsafe-fn: 0 chars: 0
context.rs unsafe: 1 free: 0 unsafe-fn: 0 chars: 0
lib.rs unsafe: 1 free: 0 unsafe-fn: 0 chars: 0
key.rs unsafe: 1 free: 0 unsafe-fn: 0 chars: 0
total unsafe: 173
total free: 35
total unsafe-fn: 39
total c_chars: 192
The incoming-message (mime-parsing and processing) pipeline remains the last
bigger worry. We have overall 4.83% unsafe out of 20538 overall code lines in
rust-core, according to cargo-count.
_______________________________________________
delta mailing list -- delta(a)codespeak.net
To unsubscribe send an email to delta-leave(a)codespeak.net
What about the current C implementation of the lib? Will be eventually
deprecated or there's some plan to continue support for it (and btw, is
the rust implementation the recommended lib for delta as of now) ?
--
Marco