Giter Club home page Giter Club logo

Comments (3)

fommil avatar fommil commented on June 27, 2024

From [email protected] on March 11, 2009 18:39:54
The decision to make Vector Serializable was an API mistake... we will not be making Matrix Serializable as it
would tie down the binary representation of all implementations. However, if you need to transport Matrix
instances across a network (or persist them), I recommend the MatrixIO file format which MTJ supports.

from matrix-toolkits-java.

fommil avatar fommil commented on June 27, 2024

From [email protected] on March 11, 2009 21:55:53

Then for consistency Vector should be made non-serializable, before someone starts to
store vectors in an unsupported serialized form. I know of some open source project
that already use Vector serialization. I'm aware of the risks and long-term costs
associated with making such top level interface serializable, but it was worth trying
as probably it wouldn't have been such a strong commitment for the library.

My point of view is shaped by my needs as a library-on-top-of-library developer. My
codebase heavily relies on serialization as a cheap way of storing and copying
complex objects. Third party classes that are not directly suitable to be components
of other serializable classes are a real pain. The old story.

I guess this decision is the right one. Keep the good work.

from matrix-toolkits-java.

fommil avatar fommil commented on June 27, 2024

From [email protected] on March 11, 2009 21:58:32
Unfortunately that move would break backwards compatibility... MTJ has been used for many years by many
people. For me, that means we now have a commitment to honour the Serializable form of Vector
implementations (and others in the library). sigh

from matrix-toolkits-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.