eclipse / chemclipse

ChemClipse Project
Eclipse Public License 1.0
39 stars 18 forks source link

Define chemclipse binary format in form of protobuff or similar #255

Closed laeubi closed 2 years ago

laeubi commented 4 years ago

Protobuf allows to specify the format in an language neutral way, it can the be compiled to java, c++ or even JavaScript. This would allow us two things: Easier adjustment of formats defined on the binary level (reader+writer is generated automatically) and we can reuse the same file written in different languages (e.g. if we want to have a webrenderer).

eselmeister commented 4 years ago

That's a good idea, but developing file formats and keeping them in sync is time consuming. Which modus is planned here?

Best, Philip

Am 07.02.20 um 05:43 schrieb Christoph Läubrich:

Protobuf https://developers.google.com/protocol-buffers/docs/proto allows to specify the format in an language neutral way, it can the be compiled to java, c++ or even JavaScript https://github.com/protobufjs/protobuf.js. This would allow us two things: Easier adjustment of formats defined on the binary level (reader+writer is generated automatically) and we can reuse the same file written in different languages (e.g. if we want to have a webrenderer).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eclipse/chemclipse/issues/255?email_source=notifications&email_token=AAFHUT2ETTCRBNTMWZIBVBDRBVCOVA5CNFSM4KRNEV62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILZFFRQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHUT6V2Z5UAQ4EWIQ7YZLRBVCOVANCNFSM4KRNEV6Q.

--

OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@openchrom.net » http://www.openchrom.net