Closed tnakaike closed 2 years ago
For now, definitely 5.2. 6.0 is going to evolve a lot, still.
I think the #if arch(...)
is preferred over #if _endian(little)
because the underscore prefixed ones are unstable APIs.
Sure. Thanks!
What machine are you running Swift on? I didn't know swift ran on big endian systems.
Hi Joannis, Thank you for your response.
I am running Swift on an IBM mainframe 😃. https://www.ibm.com/developerworks/downloads/r/toolkitforswift/
That must be pretty cool to work with!
@Joannis I am ready to submit a PR. I also would like to submit PRs to MongoKitten and CryptoKitten. One problem is that CryptoKitten has no license information. Is there any license information for CryptoKitten?
I just added the MIT license to CryptoKitten again. Thanks for the follow-up email. I'm getting back from a long vacation now so I should be more responsive again.
@Joannis Thank you for your prompt action. That is very helpful.
I submitted a PR (https://github.com/OpenKitten/BSON/pull/39). Please review it.
I also submitted PRs for CryptoKitten (https://github.com/OpenKitten/CryptoKitten/pull/3) and MongoKitten (https://github.com/OpenKitten/MongoKitten/pull/162). Please review them.
For all of the PRs, I executed all of the tests on both x86 (linux) and s390x (linux). The test results on x86 were same as before my changes. Most of the tests passed on s390x though some tests failed due to the swift runtime issues for s390x. I also tested by using my Kitura application, and it worked well.
It's hard for me to know how well this works and will keep working on s390x, of course. But they look fine 👍 I'm surprised be how few changes there are
These are the fixes for current test cases. I am not sure if any other issue exists. If any other issue is found on s390x, I will try to fix it.
Do you need your own tests before merging these changes?
No, I'll merge them soon 👍 I can't run the tests myself.
Thank you so much!
Hi @Joannis ,
I have not received any response from Robert for this pull request (https://github.com/OpenKitten/BSON/pull/39). How should we proceed?
@tnakaike I've been on a vacation for the past weeks, sorry. I will have time next friday.
@Obbut Thanks!
I tried to use this package with MongoKitten on a big endian machine. At that time, I had endian problems. For the master/5.2 branch, I needed some fixes like as follows. Although I plan to make PRs to support big endian, I am wondering to know which branch should be used as the code base. Because, it seems that this package is being re-written in the develop/6.0/rewrite branch.