Git Product home page Git Product logo

Comments (9)

null8626 avatar null8626 commented on July 18, 2024 6

I'm afraid this is a wontfix, sorry.
The SAFETY comments and lots of testing should suffice!

from decancer.

null8626 avatar null8626 commented on July 18, 2024 2

Sooo i've removed all unsafe code in the Rust, WebAssembly, and Node.js crates today! Some unsafe still persists in the Java and C/C++ crates as they are a cdylib in nature.

Feel free to give me feedback on the current codebase! @GnomedDev @Milo123459

from decancer.

null8626 avatar null8626 commented on July 18, 2024 1

A new release should be out later this month!

Thank you all for the advice! I will be more cautious with unsafe code. I apologize for closing this issue prematurely! ❤️

from decancer.

null8626 avatar null8626 commented on July 18, 2024

Would this be possible though? Because the crate also reads from a custom-made binary - which wouldn't be possible without some pointer arithmetic.

from decancer.

GnomedDev avatar GnomedDev commented on July 18, 2024

As seen by #24, safety comments and testing without miri will not make unsafe magically safe. I'm preparing a PR to remove the trivial unsafe, is there an acceptable performance loss or must it be 1-1? @null8626.

from decancer.

null8626 avatar null8626 commented on July 18, 2024

Hmm, alright then, do as you please!

A slight performance loss is fine.

from decancer.

null8626 avatar null8626 commented on July 18, 2024

Hai! Any updates on this?

from decancer.

Milo123459 avatar Milo123459 commented on July 18, 2024

I think the next step would just be publishing a new release :)

from decancer.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.