Open aepryus opened 8 months ago
Hi Joe
Sorry for the very late reply.
This project was to see if Swift could be used to replace very old and not type-safe c/c++ code.
Some of the conversion was really tricky as different languages used totally different implementations, so I’ve tried to stick with the original c++.
There is a problem with some data types, so I was testing with many files from the USCG data and checking the results against the c++ version, this is why I didn’t get back in touch.
As I have time now to continue with this project, my plans are: 1) Fix any data conversion errors 2) Optimise the code as it’s a bit slow in places 3) Switch from CoreData to SwiftData which may require some logic flow changes, i.e.what to pass and when to save. This is because I want to save the simple data for future access where the c++ sample always re-reads the data from the files.
I want to keep the code as simple as possible, no MVVM, minimal protocols, etc. so a SPM Library can easily be created and maintained.
A while back I was working as a marine electronics technician on very large yachts. One thing I experienced was waiting for chart files to load from CD/DVD for the integrated bridge kit. It took hours, so the idea was to provide a library which could load these files quickly and provide facilities for updates. The library could be used in multiple systems on the yacht (mirrored) to provide the required redundancy.
I’m happy if you would like to become involved, let me know what you would like to do.
Best regards
Christopher Alford
home : @. @.>
mobile : +34 635 708 379
On 4 Mar 2024, at 23:40, Joe Charlier @.***> wrote:
Is this currently usable or a work-in-progress? Do you need any help on this? Will this work with SPM?
— Reply to this email directly, view it on GitHub https://github.com/chrisvalford/ISO8211/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGBDM5GNDYE64OZW3NVINDYWTZ6DAVCNFSM6AAAAABEGBVXJ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DOOJRGU4TGMI. You are receiving this because you are subscribed to this thread.
I was having difficulty working with this, so I just wrote my own; although mine only does reads. I had posted it to my GitHub, but my client asked me to make it private under their GitHub account (last week). Although, I think I could probably convince them to open source it; I would be interested in having you take a look at it and perhaps giving it a workout.
I'll talk to them about it tomorrow.
The client has made it public again: https://github.com/mainsailholding/Shiso8211
Is this currently usable or a work-in-progress? Do you need any help on this? Will this work with SPM?