Comments (2)
WARNING: pack/unpack was just copied from Perl 5 and was never specced correctly.
And implementation is removed without deprecation.
"This is the other reason for ripping out the pack/unpack implementations, as opposed to spec’ing them as-is for now or something. I don’t want people to end up relying on some unspecified subset of P5’s way of handling binary data, when it could very easily not be how we end up doing this sort of thing. If incidentally P5’s solution is the best way, then that’s fine, I just want to make sure whatever kind of pack/unpack we end up having isn’t in danger of being replaced once people start seriously relying upon it, and thus having to implement some kind of deprecation thing for it. (Since pack/unpack was never spec’d, I personally don’t think we’d need to deprecate the existing functionality, but YMMV.)"
So this issue should wait until pack/unpack are well specced.
from bson.
Not using pack/unpack but depending on the nativeCall mechanisms and other implementation methods. A lot can be encoded and decoded this way.
from bson.
Related Issues (20)
- Documentation outdated - BSON.new is not possible on package. HOT 1
- undefined HOT 2
- Double trouble HOT 2
- Deprecated Code: is_approx HOT 1
- support for timestamp HOT 1
- Rakudo Star 2012.08 test faild HOT 1
- threadpool exhaustion HOT 4
- Support for Decimal128
- encoding/decoding of Num HOT 1
- BSON should convert Rat to Num where possible HOT 1
- Dates created by '$currentDate' are parsed incorrectly HOT 1
- Documents should support destructuring HOT 1
- Test 300-document.t sometimes hangs on document nesting HOT 2
- Parallelize processing HOT 4
- Switch to native int/num decode methods. HOT 3
- Tests assume PID are below 65536, while it can be much more HOT 4
- Some deprecated code in testing files HOT 2
- Small doubles have problems HOT 1
- Use of Nil in numeric context in block HOT 1
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 bson.