Comments (2)
Thanks for the reply!
Perhaps I should rephrase the security/safety feature to not guarantee complete safety or security per se, but to say that Rust's memory-safe nature leads to much fewer memory safety issues than other languages.
That phrasing sounds better, yes. My main concern was the blanket statement without poiting out why this library is assumed to be safer.
and I deny unsafe code directly in the library.
Perfect -- mention that and maybe add a link to the #[deny(…)]
line :)
I would perhaps also mention the ongoing effort to find bugs in the image crate and the file format decoders using fuzzing.
from photon.
Hi Pascal,
Thanks for opening this issue, questions are always more than welcome! Since Rust is memory-safe by default, it offers that advantage, and I deny unsafe code directly in the library. A search for unsafe code in the image
crate returns unsafe code being used in functions which are prefixed with unsafe, and these are not used in Photon, as well as another function which is not used in this library.
Since the image
crate has had some small issues such as out of memory issues for incredibly large images, etc., there are certain edge cases yes which would cause such issues, however these are continually being worked on by the maintainers of the image
crate.
Perhaps I should rephrase the security/safety feature to not guarantee complete safety or security per se, but to say that Rust's memory-safe nature leads to much fewer memory safety issues than other languages. All thoughts would be appreciated, and thanks again for the question! Hopefully this helps answer it, and if you have any others, don't hesitate to ask
from photon.
Related Issues (20)
- What about rotation? HOT 1
- Website: Uncaught TypeError: e.oil is not a function HOT 2
- Many Filters Skip The Last Pixel - Tested with PNGs HOT 4
- photon-node crashes when reading rainbow-pinwheel.jpg HOT 3
- Question: Writing out to different formats HOT 1
- open_image for panorama images on Safari throws InvalidStateError
- Why is there such a big difference in the processing time between photon_rs and photon? HOT 3
- Possibly flawed implementation of image blending HOT 6
- Uncaught RuntimeError: unreachable in Node on multiple functions HOT 7
- Compressing Image HOT 4
- Cloudflare Workers Tutorial Boilerplate WASM WASI HOT 3
- Speed issue with pure rust usage HOT 3
- Some filters are not working HOT 1
- How to use `open_image_from_bytes`? HOT 3
- Use without wasm HOT 4
- Watermark with opacity HOT 1
- Pixel Byte vs Bytes HOT 1
- web workers ? HOT 1
- Question: Any workflow to work with stereo image pairs?
- Can use photon with 16 bit grayscale images?
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 photon.