Comments (9)
I'm afraid this is a wontfix, sorry.
The SAFETY comments and lots of testing should suffice!
from decancer.
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.
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.
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.
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.
Hmm, alright then, do as you please!
A slight performance loss is fine.
from decancer.
Hai! Any updates on this?
from decancer.
I think the next step would just be publishing a new release :)
from decancer.
Related Issues (10)
- Python bindings? HOT 2
- The character "Æ" (U+00C6) appears to cause cure to panic. HOT 2
- Add safety comments for unsafe portions of code. HOT 4
- Implement unicode bidi support HOT 1
- feature request: equal/startsWith/endsWith HOT 3
- `decancer` automatically lowercases all characters HOT 23
- Undefined behavior in tests HOT 3
- Wrong type definition ? HOT 6
- `cure` hangs when fed specific character HOT 7
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 decancer.